Skip to content

Commit d470c49

Browse files
author
Benjamin Poirier
committed
net/mlx5: Fix RDMA TX steering prio
JIRA: https://issues.redhat.com/browse/RHEL-72226 JIRA: https://issues.redhat.com/browse/RHEL-73517 Upstream-status: v6.13 commit c08d3e6 Author: Patrisious Haddad <[email protected]> Date: Wed Jan 15 13:39:04 2025 +0200 net/mlx5: Fix RDMA TX steering prio User added steering rules at RDMA_TX were being added to the first prio, which is the counters prio. Fix that so that they are correctly added to the BYPASS_PRIO instead. Fixes: 24670b1 ("net/mlx5: Add support for RDMA TX steering") Signed-off-by: Patrisious Haddad <[email protected]> Reviewed-by: Mark Bloch <[email protected]> Reviewed-by: Jacob Keller <[email protected]> Signed-off-by: Tariq Toukan <[email protected]> Signed-off-by: Paolo Abeni <[email protected]> Signed-off-by: Benjamin Poirier <[email protected]>
1 parent 69183a2 commit d470c49

File tree

1 file changed

+1
-0
lines changed
  • drivers/net/ethernet/mellanox/mlx5/core

1 file changed

+1
-0
lines changed

drivers/net/ethernet/mellanox/mlx5/core/fs_core.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2709,6 +2709,7 @@ struct mlx5_flow_namespace *mlx5_get_flow_namespace(struct mlx5_core_dev *dev,
27092709
break;
27102710
case MLX5_FLOW_NAMESPACE_RDMA_TX:
27112711
root_ns = steering->rdma_tx_root_ns;
2712+
prio = RDMA_TX_BYPASS_PRIO;
27122713
break;
27132714
case MLX5_FLOW_NAMESPACE_RDMA_RX_COUNTERS:
27142715
root_ns = steering->rdma_rx_root_ns;

0 commit comments

Comments
 (0)