]> git.baikalelectronics.ru Git - kernel.git/commit
net/mlx4_en: Disbale GRO for incoming loopback/selftest packets
authorIdo Shamay <idos@mellanox.com>
Mon, 2 Mar 2015 16:22:16 +0000 (18:22 +0200)
committerDavid S. Miller <davem@davemloft.net>
Mon, 2 Mar 2015 20:27:19 +0000 (15:27 -0500)
commitf7bddfbcc00a9df06c2350f43c2a0311e9fef3fc
tree587a55ff547e7db7ad5e38637fc484bb146f9c0d
parent05dd3744e6a55b684d9f4ed305a662025f59cbc3
net/mlx4_en: Disbale GRO for incoming loopback/selftest packets

Packets which are sent from the selftest (ethtool) flow,
should not be passed to GRO stack but rather dropped by
the driver after validation. To achieve that, we disable
GRO for the duration of the selftest.

Fixes: 7785122c8d0a ("net/mlx4_en: Extend usage of napi_gro_frags")
Reported-by: Carol Soto <clsoto@linux.vnet.ibm.com>
Signed-off-by: Ido Shamay <idos@mellanox.com>
Signed-off-by: Or Gerlitz <ogerlitz@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/mellanox/mlx4/en_selftest.c