Skip to content

Commit c08d3e6

Browse files
PatrisiousHaddadPaolo Abeni
authored andcommitted
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]>
1 parent cbc16bc commit c08d3e6

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)