openvswitch: Drop user features if old user space attempted to create datapath
Drop user features if an outdated user space instance that does not understand the concept of user_features attempted to create a new datapath. Signed-off-by: Thomas Graf <tgraf@suug.ch> Signed-off-by: Jesse Gross <jesse@nicira.com>
This commit is contained in:
parent
43d4be9cb5
commit
44da5ae5fb
2 changed files with 30 additions and 1 deletions
|
@ -40,7 +40,15 @@ struct ovs_header {
|
|||
|
||||
#define OVS_DATAPATH_FAMILY "ovs_datapath"
|
||||
#define OVS_DATAPATH_MCGROUP "ovs_datapath"
|
||||
#define OVS_DATAPATH_VERSION 0x1
|
||||
|
||||
/* V2:
|
||||
* - API users are expected to provide OVS_DP_ATTR_USER_FEATURES
|
||||
* when creating the datapath.
|
||||
*/
|
||||
#define OVS_DATAPATH_VERSION 2
|
||||
|
||||
/* First OVS datapath version to support features */
|
||||
#define OVS_DP_VER_FEATURES 2
|
||||
|
||||
enum ovs_datapath_cmd {
|
||||
OVS_DP_CMD_UNSPEC,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue