]> git.baikalelectronics.ru Git - kernel.git/commit
net/mlx5e: Fix RQ creation flow for queues which doesn't support XDP
authorAya Levin <ayal@nvidia.com>
Wed, 7 Apr 2021 11:09:05 +0000 (14:09 +0300)
committerSaeed Mahameed <saeedm@nvidia.com>
Wed, 14 Apr 2021 18:03:10 +0000 (11:03 -0700)
commit28adb62a5e27efe8086887c4dad69565331be170
tree50c453e653d4856a008d59376f55f12235e8dcff
parent0cd54eaea5e0ce59fd058b459057f2edb563ff91
net/mlx5e: Fix RQ creation flow for queues which doesn't support XDP

Allow to create an RQ which is not registered as an XDP RQ. For example:
the trap-RQ doesn't register as an XDP RQ.

Fixes: 95818ead4a91 ("net/mlx5e: Generalize open RQ")
Signed-off-by: Aya Levin <ayal@nvidia.com>
Signed-off-by: Saeed Mahameed <saeedm@nvidia.com>
drivers/net/ethernet/mellanox/mlx5/core/en_main.c