net/mlx5e: Fix defaulting RX ring size when not needed
authorEugenia Emantayev <eugenia@mellanox.com>
Tue, 14 Nov 2017 07:44:55 +0000 (09:44 +0200)
committerSaeed Mahameed <saeedm@mellanox.com>
Tue, 19 Dec 2017 21:24:00 +0000 (23:24 +0200)
commit696a97cf9f5c551fca257e0d4aa07b5cbde6084a
tree46c2393f6e6e92589a86f6f9e6b091f8dfed1370
parent2989ad1ec03021ee6d2193c35414f1d970a243de
net/mlx5e: Fix defaulting RX ring size when not needed

Fixes the bug when turning on/off CQE compression mechanism
resets the RX rings size to default value when it is not
needed.

Fixes: 2fc4bfb7250d ("net/mlx5e: Dynamic RQ type infrastructure")
Signed-off-by: Eugenia Emantayev <eugenia@mellanox.com>
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
drivers/net/ethernet/mellanox/mlx5/core/en.h
drivers/net/ethernet/mellanox/mlx5/core/en_ethtool.c
drivers/net/ethernet/mellanox/mlx5/core/en_main.c
drivers/net/ethernet/mellanox/mlx5/core/ipoib/ipoib.c