]> git.baikalelectronics.ru Git - kernel.git/commit
openvswitch: Fix egress tunnel info.
authorPravin B Shelar <pshelar@nicira.com>
Fri, 23 Oct 2015 01:17:16 +0000 (18:17 -0700)
committerDavid S. Miller <davem@davemloft.net>
Fri, 23 Oct 2015 02:39:25 +0000 (19:39 -0700)
commitcecd887561facb749d938cba2385f8c4a456a7c3
tree3a4cfa8db0ec0fa58c15af23b6745dc01b8f8e38
parentcf7b5474f7703184f8c595b16aa6691b752131ac
openvswitch: Fix egress tunnel info.

While transitioning to netdev based vport we broke OVS
feature which allows user to retrieve tunnel packet egress
information for lwtunnel devices.  Following patch fixes it
by introducing ndo operation to get the tunnel egress info.
Same ndo operation can be used for lwtunnel devices and compat
ovs-tnl-vport devices. So after adding such device operation
we can remove similar operation from ovs-vport.

Fixes: ac626ed41526 ("openvswitch: Use regular VXLAN net_device device").
Signed-off-by: Pravin B Shelar <pshelar@nicira.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
16 files changed:
drivers/net/geneve.c
drivers/net/vxlan.c
include/linux/netdevice.h
include/net/dst_metadata.h
net/core/dev.c
net/ipv4/ip_gre.c
net/openvswitch/actions.c
net/openvswitch/datapath.c
net/openvswitch/datapath.h
net/openvswitch/flow_netlink.c
net/openvswitch/flow_netlink.h
net/openvswitch/vport-geneve.c
net/openvswitch/vport-gre.c
net/openvswitch/vport-vxlan.c
net/openvswitch/vport.c
net/openvswitch/vport.h