]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit60d277bd3018442ae524597c1f3ed87972797d34
tree4d2648fd82c6bef6bdb042622b7a99abdb4c87e1
parent97efa3f617fad459a4a1ef5ade5e5bb8f20610a1
bnx2x: fix GRO parameters

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>
drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c