net/mlx5: fix flow rules for external SQ
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest2 patches 1 replyIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | net/mlx5: fix missing flow rules for external SQdrivers/ drivers/ drivers/ +1 more | +149 | 0 replies | |
| 2/2 | net/mlx5: fix destroying external representor matched flowsdrivers/ drivers/ drivers/ +2 more | +39 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
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