diff options
author | Thomas Graf <tgraf@suug.ch> | 2013-12-03 20:47:24 -0800 |
---|---|---|
committer | Jesse Gross <jesse@nicira.com> | 2013-12-16 17:03:06 -0800 |
commit | c58cc9a460fd158e5250e59902e96ac677dc115f (patch) | |
tree | a66e8cf75915e61050bffefe3b17879e317582be /include/linux | |
parent | ffc117c13919c94b66f0b00841ea3343c8dd47c2 (diff) | |
download | openvswitch-c58cc9a460fd158e5250e59902e96ac677dc115f.tar.gz |
datapath: 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/linux')
-rw-r--r-- | include/linux/openvswitch.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/linux/openvswitch.h b/include/linux/openvswitch.h index b429201cc..585fa6307 100644 --- a/include/linux/openvswitch.h +++ b/include/linux/openvswitch.h @@ -95,6 +95,7 @@ enum ovs_datapath_attr { OVS_DP_ATTR_UPCALL_PID, /* Netlink PID to receive upcalls */ OVS_DP_ATTR_STATS, /* struct ovs_dp_stats */ OVS_DP_ATTR_MEGAFLOW_STATS, /* struct ovs_dp_megaflow_stats */ + OVS_DP_ATTR_USER_FEATURES, /* OVS_DP_F_* */ __OVS_DP_ATTR_MAX }; @@ -126,6 +127,9 @@ struct ovs_vport_stats { __u64 tx_dropped; /* no space available in linux */ }; +/* Allow last Netlink attribute to be unaligned */ +#define OVS_DP_F_UNALIGNED (1 << 0) + /* Fixed logical ports. */ #define OVSP_LOCAL ((__u32)0) |