Skip to content

net/mlx5: fix flow rules for external SQ

Suanming Mou dpdk-dev 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2net/mlx5: fix missing flow rules for external SQdrivers/net/mlx5/mlx5.h drivers/net/mlx5/mlx5_flow.h drivers/net/mlx5/mlx5_flow_hw.c +1 more+149 -120 replies
2/2net/mlx5: fix destroying external representor matched flowsdrivers/net/mlx5/mlx5.h drivers/net/mlx5/mlx5_flow.h drivers/net/mlx5/mlx5_flow_hw.c +2 more+39 -190 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/2] net/mlx5: fix flow rules for external SQ

If representor matching was enabled (device argument repr_matching_en is equal to 1, default configuration), then during registration of external SQs, mlx5 PMD would not create control flow rules in NIC Tx domain. This caused an issue with packet metadata. If a packet sent on external SQ had packet metadata attached, then it would be lost when it would go from NIC Tx to FDB domain.

Meanwhile, the external SQ flow rules should be managed individually and not be destroyed internally by PMD.

This series fixes these two issues for the external SQ flow rules in rte_pmd_mlx5_external_sq_enable().

Dariusz Sosnowski (1):
net/mlx5: fix missing flow rules for external SQ

Suanming Mou (1):
net/mlx5: fix destroying external representor matched flows

 drivers/net/mlx5/mlx5.h         |  41 ++++++++++
 drivers/net/mlx5/mlx5_flow.h    |   6 +-
 drivers/net/mlx5/mlx5_flow_hw.c | 132 ++++++++++++++++++++++++++++----
 drivers/net/mlx5/mlx5_trigger.c |   4 +-
 drivers/net/mlx5/mlx5_txq.c     |  12 ++-
 5 files changed, 176 insertions(+), 19 deletions(-)
Signature · 1 line
2.34.1