]> git.baikalelectronics.ru Git - kernel.git/commit
net/mlx5e: Print a warning when LRO feature is dropped or not allowed
authorHuy Nguyen <huyn@mellanox.com>
Thu, 27 Jun 2019 14:24:57 +0000 (09:24 -0500)
committerSaeed Mahameed <saeedm@mellanox.com>
Mon, 29 Jul 2019 23:40:23 +0000 (16:40 -0700)
commit72b9712ccfa39dab7188b4fc7b392cc959340517
tree7a1fc37b3ecf2f684299fbfd6015c8812eb3c6fd
parenta31b6e5a5c10083048b357f0e01125adb4da6362
net/mlx5e: Print a warning when LRO feature is dropped or not allowed

When user enables LRO via ethtool and if the RQ mode is legacy,
mlx5e_fix_features drops the request without any explanation.
Add netdev_warn to cover this case.

Fixes: 00e5885e8a96 ("net/mlx5e: RX, Remove HW LRO support in legacy RQ")
Signed-off-by: Huy Nguyen <huyn@mellanox.com>
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
drivers/net/ethernet/mellanox/mlx5/core/en_main.c