]> 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)
commit9ae8c18c5e4d8814d3b405a07712fa5464070e3e
tree7d919c0820644ac035f683d2e5bd5bd00ead6d50
parent11f5ac3e05c134d333afe6f84ab10e22bc0a5d5a
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: 960fbfe222a4 ("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