mlx4: mark napi id for gro_skb
commit32b333fe99069d090a12cc106fd5ae1002fe642f
authorJason Wang <jasowang@redhat.com>
Mon, 14 Jul 2014 03:42:44 +0000 (14 11:42 +0800)
committerDavid S. Miller <davem@davemloft.net>
Mon, 14 Jul 2014 23:14:16 +0000 (14 16:14 -0700)
tree580daefb2372d7ef862dec5b0ca109eb848bafc7
parent548d28bd0eac840d122b691279ce9f4ce6ecbfb6
mlx4: mark napi id for gro_skb

Napi id was not marked for gro_skb, this will lead rx busy loop won't
work correctly since they stack never try to call low latency receive
method because of a zero socket napi id. Fix this by marking napi id
for gro_skb.

The transaction rate of 1 byte netperf tcp_rr gets about 50% increased
(from 20531.68 to 30610.88).

Cc: Amir Vadai <amirv@mellanox.com>
Signed-off-by: Jason Wang <jasowang@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/mellanox/mlx4/en_rx.c