* [PATCH net-next] openvswitch: Retrieve tunnel metadata when receiving from vport-netdev
@ 2015-07-23 11:04 Thomas Graf
2015-07-23 21:13 ` Pravin Shelar
2015-07-27 4:19 ` David Miller
0 siblings, 2 replies; 3+ messages in thread
From: Thomas Graf @ 2015-07-23 11:04 UTC (permalink / raw)
To: davem; +Cc: netdev, dev
Retrieve the tunnel metadata for packets received by a net_device and
provide it to ovs_vport_receive() for flow key extraction.
[This hunk was in the GRE patch in the initial series and missed the
cut for the initial submission for merging.]
Fixes: 614732eaa12d ("openvswitch: Use regular VXLAN net_device device")
Signed-off-by: Thomas Graf <tgraf@suug.ch>
---
net/openvswitch/vport-netdev.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/net/openvswitch/vport-netdev.c b/net/openvswitch/vport-netdev.c
index 68d0582..2254b74 100644
--- a/net/openvswitch/vport-netdev.c
+++ b/net/openvswitch/vport-netdev.c
@@ -58,7 +58,7 @@ static void netdev_port_receive(struct vport *vport, struct sk_buff *skb)
skb_push(skb, ETH_HLEN);
ovs_skb_postpush_rcsum(skb, skb->data, ETH_HLEN);
- ovs_vport_receive(vport, skb, NULL);
+ ovs_vport_receive(vport, skb, skb_tunnel_info(skb, AF_INET));
return;
error:
--
2.4.3
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH net-next] openvswitch: Retrieve tunnel metadata when receiving from vport-netdev
2015-07-23 11:04 [PATCH net-next] openvswitch: Retrieve tunnel metadata when receiving from vport-netdev Thomas Graf
@ 2015-07-23 21:13 ` Pravin Shelar
2015-07-27 4:19 ` David Miller
1 sibling, 0 replies; 3+ messages in thread
From: Pravin Shelar @ 2015-07-23 21:13 UTC (permalink / raw)
To: Thomas Graf; +Cc: David Miller, netdev, dev@openvswitch.org
On Thu, Jul 23, 2015 at 4:04 AM, Thomas Graf <tgraf@suug.ch> wrote:
> Retrieve the tunnel metadata for packets received by a net_device and
> provide it to ovs_vport_receive() for flow key extraction.
>
> [This hunk was in the GRE patch in the initial series and missed the
> cut for the initial submission for merging.]
>
> Fixes: 614732eaa12d ("openvswitch: Use regular VXLAN net_device device")
> Signed-off-by: Thomas Graf <tgraf@suug.ch>
Acked-by: Pravin B Shelar <pshelar@nicira.com>
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH net-next] openvswitch: Retrieve tunnel metadata when receiving from vport-netdev
2015-07-23 11:04 [PATCH net-next] openvswitch: Retrieve tunnel metadata when receiving from vport-netdev Thomas Graf
2015-07-23 21:13 ` Pravin Shelar
@ 2015-07-27 4:19 ` David Miller
1 sibling, 0 replies; 3+ messages in thread
From: David Miller @ 2015-07-27 4:19 UTC (permalink / raw)
To: tgraf; +Cc: netdev, dev
From: Thomas Graf <tgraf@suug.ch>
Date: Thu, 23 Jul 2015 13:04:44 +0200
> Retrieve the tunnel metadata for packets received by a net_device and
> provide it to ovs_vport_receive() for flow key extraction.
>
> [This hunk was in the GRE patch in the initial series and missed the
> cut for the initial submission for merging.]
>
> Fixes: 614732eaa12d ("openvswitch: Use regular VXLAN net_device device")
> Signed-off-by: Thomas Graf <tgraf@suug.ch>
Applied, thanks.
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2015-07-27 4:19 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-07-23 11:04 [PATCH net-next] openvswitch: Retrieve tunnel metadata when receiving from vport-netdev Thomas Graf
2015-07-23 21:13 ` Pravin Shelar
2015-07-27 4:19 ` David Miller
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).