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)
commit506753b0b40997756d73f841c884a018f52401a0
treefa5dd9b6266158a3fe5064c685bb529fadadbd94
parent13f9bba7cd4f1665e4091143950a54e3f2984b07
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: 461017cb006a ("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