]> git.baikalelectronics.ru Git - kernel.git/commit
net/mlx5e: Optimization for MTU change
authorTariq Toukan <tariqt@mellanox.com>
Thu, 18 Aug 2016 18:09:03 +0000 (21:09 +0300)
committerDavid S. Miller <davem@davemloft.net>
Fri, 19 Aug 2016 23:09:55 +0000 (16:09 -0700)
commitc3754aa954b3d3142503062e0f38cdf1b764ce85
treefa5dd9b6266158a3fe5064c685bb529fadadbd94
parent9a2d890d8ce0417e848948f5847fa68e2e1e3f21
net/mlx5e: Optimization for MTU change

Avoid unnecessary interface down/up operations upon an MTU change
when it does not affect the rings configuration.

Fixes: 1e2f0e4a69b3 ("net/mlx5e: Support RX multi-packet WQE (Striding RQ)")
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