diff options
| author | Thomas Graf <tgraf@suug.ch> | 2013-12-13 09:22:18 -0500 |
|---|---|---|
| committer | Jesse Gross <jesse@nicira.com> | 2014-01-06 18:52:53 -0500 |
| commit | 43d4be9cb55f3bac5253e9289996fd9d735531db (patch) | |
| tree | 3faf20758d115ffda9cbe1dc1c88b8634d74af1c /include/uapi/linux | |
| parent | af2806f8f90a150160be898cd85332459c83c5cb (diff) | |
openvswitch: Allow user space to announce ability to accept unaligned Netlink messages
Signed-off-by: Thomas Graf <tgraf@suug.ch>
Reviewed-by: Daniel Borkmann <dborkman@redhat.com>
Signed-off-by: Jesse Gross <jesse@nicira.com>
Diffstat (limited to 'include/uapi/linux')
| -rw-r--r-- | include/uapi/linux/openvswitch.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/uapi/linux/openvswitch.h b/include/uapi/linux/openvswitch.h index d120f9fe0017..07ef2c3e21fa 100644 --- a/include/uapi/linux/openvswitch.h +++ b/include/uapi/linux/openvswitch.h | |||
| @@ -75,6 +75,7 @@ enum ovs_datapath_attr { | |||
| 75 | OVS_DP_ATTR_UPCALL_PID, /* Netlink PID to receive upcalls */ | 75 | OVS_DP_ATTR_UPCALL_PID, /* Netlink PID to receive upcalls */ |
| 76 | OVS_DP_ATTR_STATS, /* struct ovs_dp_stats */ | 76 | OVS_DP_ATTR_STATS, /* struct ovs_dp_stats */ |
| 77 | OVS_DP_ATTR_MEGAFLOW_STATS, /* struct ovs_dp_megaflow_stats */ | 77 | OVS_DP_ATTR_MEGAFLOW_STATS, /* struct ovs_dp_megaflow_stats */ |
| 78 | OVS_DP_ATTR_USER_FEATURES, /* OVS_DP_F_* */ | ||
| 78 | __OVS_DP_ATTR_MAX | 79 | __OVS_DP_ATTR_MAX |
| 79 | }; | 80 | }; |
| 80 | 81 | ||
| @@ -106,6 +107,9 @@ struct ovs_vport_stats { | |||
| 106 | __u64 tx_dropped; /* no space available in linux */ | 107 | __u64 tx_dropped; /* no space available in linux */ |
| 107 | }; | 108 | }; |
| 108 | 109 | ||
| 110 | /* Allow last Netlink attribute to be unaligned */ | ||
| 111 | #define OVS_DP_F_UNALIGNED (1 << 0) | ||
| 112 | |||
| 109 | /* Fixed logical ports. */ | 113 | /* Fixed logical ports. */ |
| 110 | #define OVSP_LOCAL ((__u32)0) | 114 | #define OVSP_LOCAL ((__u32)0) |
| 111 | 115 | ||
