]> git.baikalelectronics.ru Git - kernel.git/commit
net/mlx5e: Don't update netdev RQs with PTP-RQ
authorAya Levin <ayal@nvidia.com>
Thu, 29 Apr 2021 07:03:20 +0000 (10:03 +0300)
committerSaeed Mahameed <saeedm@nvidia.com>
Thu, 10 Jun 2021 00:20:05 +0000 (17:20 -0700)
commit9457f284d52d4c556a5241dee21d03891a28505b
tree7d919c0820644ac035f683d2e5bd5bd00ead6d50
parentdd4b5c3cf35a7ee4da225b22784f8a8fe66a977d
net/mlx5e: Don't update netdev RQs with PTP-RQ

Since the driver opens the PTP-RQ under channel 0, it appears to the
stack as if the SKB was received on rxq0. So from thew stack POV there
are still the same number of RX queues.

Fixes: 4e5b1d515877 ("net/mlx5e: Allow coexistence of CQE compression and HW TS PTP")
Signed-off-by: Aya Levin <ayal@nvidia.com>
Reviewed-by: Tariq Toukan <tariqt@nvidia.com>
Reviewed-by: Maxim Mikityanskiy <maximmi@mellanox.com>
Signed-off-by: Saeed Mahameed <saeedm@nvidia.com>
drivers/net/ethernet/mellanox/mlx5/core/en_main.c