Patchwork ipgre rss is broken since gro

mail settings
Submitter David Miller
Date Dec. 10, 2012, 7:02 p.m.
Message ID <>
Download mbox | patch
Permalink /patch/205009/
State Not Applicable
Delegated to: David Miller
Headers show


David Miller - Dec. 10, 2012, 7:02 p.m.
From: Eric Dumazet <>
Date: Mon, 10 Dec 2012 08:54:31 -0800

> I believe performance problem might come from the
> skb_set_queue_mapping(skb, 0); in __skb_tunnel_rx()
> So all packets are queued into a single GRO queue, instead of being
> split as intended in multiple queues.
> I cant find why we must clear queue_mapping, so could you try :

Tom says:

commit 693019e90ca45d881109d32c0c6d29adf03f6447
Author: Tom Herbert <>
Date:   Thu Sep 23 11:19:54 2010 +0000

    net: reset skb queue mapping when rx'ing over tunnel
    Reset queue mapping when an skb is reentering the stack via a tunnel.
    On second pass, the queue mapping from the original device is no
    longer valid.
    Signed-off-by: Tom Herbert <>
    Acked-by: Eric Dumazet <>
    Signed-off-by: David S. Miller <>

To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to
More majordomo info at


diff --git a/include/net/dst.h b/include/net/dst.h
index 81d1413..0238650 100644
--- a/include/net/dst.h
+++ b/include/net/dst.h
@@ -242,6 +242,7 @@  static inline void skb_tunnel_rx(struct sk_buff *skb, struct net_device *dev)
 	dev->stats.rx_bytes += skb->len;
 	skb->rxhash = 0;
+	skb_set_queue_mapping(skb, 0);