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)
commitfc4099f17240767554ff3a73977acb78ef615404
tree3a4cfa8db0ec0fa58c15af23b6745dc01b8f8e38
parent0c472b9b391ecf9011d383956b322e72593d87b2
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: 614732eaa12d ("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