bnx2x: use netdev_alloc_frag()
authorEric Dumazet <edumazet@google.com>
Mon, 10 Dec 2012 12:16:06 +0000 (12:16 +0000)
committerDavid S. Miller <davem@davemloft.net>
Tue, 11 Dec 2012 17:49:52 +0000 (12:49 -0500)
commitd46d132cc0212ef08c22b9179dfa5fe21d07d253
tree1122710042b34889ddfec2d2e5d0c6a9a16553a7
parentd825da2ede50160e567e666ff43c89a403bf0193
bnx2x: use netdev_alloc_frag()

Using netdev_alloc_frag() instead of kmalloc() permits better GRO or
TCP coalescing behavior, as skb_gro_receive() doesn't have to fallback
to frag_list overhead.

Signed-off-by: Eric Dumazet <edumazet@google.com>
Cc: Dmitry Kravkov <dmitry@broadcom.com>
Cc: Eilon Greenstein <eilong@broadcom.com>
Acked-by: Dmitry Kravkov <dmitry@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/broadcom/bnx2x/bnx2x.h
drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c