diff options
| author | Daniel Vetter <daniel.vetter@ffwll.ch> | 2014-03-18 04:43:56 -0400 |
|---|---|---|
| committer | Daniel Vetter <daniel.vetter@ffwll.ch> | 2014-03-18 04:43:56 -0400 |
| commit | e19b9137142988bec5a76c5f8bdf12a77ea802b0 (patch) | |
| tree | b36c83fa93da7f18c1331252fb82a87431697443 /include/uapi/linux/openvswitch.h | |
| parent | 2fae6a860ca9adb0c881f6dcd633df775c2520e9 (diff) | |
| parent | e40d641099213145a034981e646dc2180a488152 (diff) | |
Merge remote-tracking branch 'airlied/drm-next' into drm-intel-next
Conflicts:
drivers/gpu/drm/i915/Makefile
Makefile cleanup in drm-intel-next conflicts with a build-fix to move
intel_opregion under CONFIG_ACPI.
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Diffstat (limited to 'include/uapi/linux/openvswitch.h')
| -rw-r--r-- | include/uapi/linux/openvswitch.h | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/include/uapi/linux/openvswitch.h b/include/uapi/linux/openvswitch.h index d120f9fe0017..970553cbbc8e 100644 --- a/include/uapi/linux/openvswitch.h +++ b/include/uapi/linux/openvswitch.h | |||
| @@ -40,7 +40,15 @@ struct ovs_header { | |||
| 40 | 40 | ||
| 41 | #define OVS_DATAPATH_FAMILY "ovs_datapath" | 41 | #define OVS_DATAPATH_FAMILY "ovs_datapath" |
| 42 | #define OVS_DATAPATH_MCGROUP "ovs_datapath" | 42 | #define OVS_DATAPATH_MCGROUP "ovs_datapath" |
| 43 | #define OVS_DATAPATH_VERSION 0x1 | 43 | |
| 44 | /* V2: | ||
| 45 | * - API users are expected to provide OVS_DP_ATTR_USER_FEATURES | ||
| 46 | * when creating the datapath. | ||
| 47 | */ | ||
| 48 | #define OVS_DATAPATH_VERSION 2 | ||
| 49 | |||
| 50 | /* First OVS datapath version to support features */ | ||
| 51 | #define OVS_DP_VER_FEATURES 2 | ||
| 44 | 52 | ||
| 45 | enum ovs_datapath_cmd { | 53 | enum ovs_datapath_cmd { |
| 46 | OVS_DP_CMD_UNSPEC, | 54 | OVS_DP_CMD_UNSPEC, |
| @@ -75,6 +83,7 @@ enum ovs_datapath_attr { | |||
| 75 | OVS_DP_ATTR_UPCALL_PID, /* Netlink PID to receive upcalls */ | 83 | OVS_DP_ATTR_UPCALL_PID, /* Netlink PID to receive upcalls */ |
| 76 | OVS_DP_ATTR_STATS, /* struct ovs_dp_stats */ | 84 | OVS_DP_ATTR_STATS, /* struct ovs_dp_stats */ |
| 77 | OVS_DP_ATTR_MEGAFLOW_STATS, /* struct ovs_dp_megaflow_stats */ | 85 | OVS_DP_ATTR_MEGAFLOW_STATS, /* struct ovs_dp_megaflow_stats */ |
| 86 | OVS_DP_ATTR_USER_FEATURES, /* OVS_DP_F_* */ | ||
| 78 | __OVS_DP_ATTR_MAX | 87 | __OVS_DP_ATTR_MAX |
| 79 | }; | 88 | }; |
| 80 | 89 | ||
| @@ -106,6 +115,9 @@ struct ovs_vport_stats { | |||
| 106 | __u64 tx_dropped; /* no space available in linux */ | 115 | __u64 tx_dropped; /* no space available in linux */ |
| 107 | }; | 116 | }; |
| 108 | 117 | ||
| 118 | /* Allow last Netlink attribute to be unaligned */ | ||
| 119 | #define OVS_DP_F_UNALIGNED (1 << 0) | ||
| 120 | |||
| 109 | /* Fixed logical ports. */ | 121 | /* Fixed logical ports. */ |
| 110 | #define OVSP_LOCAL ((__u32)0) | 122 | #define OVSP_LOCAL ((__u32)0) |
| 111 | 123 | ||
