]> git.baikalelectronics.ru Git - kernel.git/commit
net/mlx5e: Fix LRO modify
authorTariq Toukan <tariqt@mellanox.com>
Mon, 29 Feb 2016 19:17:10 +0000 (21:17 +0200)
committerDavid S. Miller <davem@davemloft.net>
Wed, 2 Mar 2016 19:37:25 +0000 (14:37 -0500)
commit419bf47cf3e788779dfa08d795b7b51f1b5b2c14
treec80cd301855731ad6a38aa5b6b7ffe4c15468723
parent7a772fe2a755212c3ca39a516b3557129f1e04ad
net/mlx5e: Fix LRO modify

Ethtool LRO enable/disable is broken, as of today we only modify TCP
TIRs in order to apply the requested configuration.

Hardware requires that all TIRs pointing to the same RQ should share the
same LRO configuration. For that all other TIRs' LRO fields must be
modified as well.

Fixes: 030220985db1 ('net/mlx5e: Light-weight netdev open/stop')
Signed-off-by: Tariq Toukan <tariqt@mellanox.com>
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/mellanox/mlx5/core/en_main.c