]> 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)
commit84a450bae33baefe4a813c8b7244e64ebf4ec732
tree7d919c0820644ac035f683d2e5bd5bd00ead6d50
parent01ffbe6a161be4ff16104375acbbe55ad70d8dd9
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: 69876efb2750 ("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