[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <1360978480.19353.36.camel@edumazet-glaptop>
Date: Fri, 15 Feb 2013 17:34:40 -0800
From: Eric Dumazet <eric.dumazet@...il.com>
To: Pravin B Shelar <pshelar@...ira.com>
Cc: netdev@...r.kernel.org, edumazet@...gle.com, jesse@...ira.com,
stephen@...workplumber.org
Subject: Re: [PATCH net-next 3/4] tunneling: Add generic UDP-Tunnel TSO.
On Fri, 2013-02-15 at 17:06 -0800, Pravin B Shelar wrote:
> + /* segment inner packet. */
> + segs = skb_mac_gso_segment(skb, skb->dev->hw_enc_features);
> + if (!segs || IS_ERR(segs))
> + goto out;
> +
It seems that hw_enc_features is 0 for all devices.
We should at least inherit NETIF_F_SG
(and presumably netdev_fix_features() should not remove NETIF_F_SG if
CSUM is not supported, as we now copy the data _if_ needed in
skb_checksum_help())
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists