bnx2x: fix GRO parameters
authorYuval Mintz <yuvalmin@broadcom.com>
Thu, 17 Jan 2013 03:26:21 +0000 (03:26 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 17 Jan 2013 19:56:11 +0000 (14:56 -0500)
bnx2x does an internal GRO pass but doesn't provide gso_segs, thus
breaking qdisc_pkt_len_init() in case ingress qdisc is used.

We store gso_segs in NAPI_GRO_CB(skb)->count, where tcp_gro_complete()
expects to find the number of aggregated segments.

Signed-off-by: Yuval Mintz <yuvalmin@broadcom.com>
Signed-off-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>

No differences found