diff options
author | Samuel Ghinet <sghinet@cloudbasesolutions.com> | 2014-09-25 21:20:25 +0000 |
---|---|---|
committer | Ben Pfaff <blp@nicira.com> | 2014-09-26 10:21:34 -0700 |
commit | e00afcf6427ab3b99c6ad0867c2a22bfe9ead180 (patch) | |
tree | 7bdcc7d23a609976e6faf73944a0b9cef79f8afa /ofproto/ofproto-dpif-mirror.h | |
parent | 260f76b7e3cf6bd52a2a80d5186f2a68b0123017 (diff) | |
download | openvswitch-e00afcf6427ab3b99c6ad0867c2a22bfe9ead180.tar.gz |
datapath-windows: fix OVS_VPORT_TYPE
The windows ovs kernel uses an OVS_VPORT_TYPE enum that is incompatible with
the userspace counterpart (enum ovs_vport_type from openvswitch.h). We must use
the same enum type for the netlink communication to work properly.
This patch makes the fix: "typedef enum ovs_vport_type OVS_VPORT_TYPE" and
changes the afferent kernel driver code:
o) vport types synthetic and emulated turn to: netdev
o) vport type internal turns to: internal
o) vport type external truns to: netdev (plus, we hold a field in vport,
"isExternal"
Signed-off-by: Samuel Ghinet <sghinet@cloudbasesolutions.com>
Acked-by: Nithin Raju <nithin@vmware.com>
Signed-off-by: Ben Pfaff <blp@nicira.com>
Diffstat (limited to 'ofproto/ofproto-dpif-mirror.h')
0 files changed, 0 insertions, 0 deletions