]> git.baikalelectronics.ru Git - kernel.git/commit
net/mlx5e: Fix CQ moderation mode not set properly
authorTal Gilboa <talgi@mellanox.com>
Mon, 28 Aug 2017 15:45:08 +0000 (18:45 +0300)
committerSaeed Mahameed <saeedm@mellanox.com>
Wed, 30 Aug 2017 18:20:43 +0000 (21:20 +0300)
commit6931b3eadba1249d859dec92872e3b6f8332486e
tree4c6d9cc6feedac0b3c78bdc8a5ac189738453287
parent9db26806936fc591fb6e44cc5603b919a9bf2023
net/mlx5e: Fix CQ moderation mode not set properly

cq_period_mode assignment was mistakenly removed so it was always set to "0",
which is EQE based moderation, regardless of the device CAPs and
requested value in ethtool.

Fixes: f5e182cecfde ("net/mlx5e: Isolate open_channels from priv->params")
Signed-off-by: Tal Gilboa <talgi@mellanox.com>
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
drivers/net/ethernet/mellanox/mlx5/core/en_main.c