]> 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)
commitde155be5691dbd85731ed1f6823e71197231e244
treec80cd301855731ad6a38aa5b6b7ffe4c15468723
parent788b9c840672896013512c44a97d261ac1238f4d
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: c35ae32560f2 ('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