DPDK patches and discussions
 help / color / mirror / Atom feed
* [PATCH 0/2] net/mlx5: fix flow rules for external SQ
@ 2023-11-09  8:55 Suanming Mou
  2023-11-09  8:55 ` [PATCH 1/2] net/mlx5: fix missing " Suanming Mou
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Suanming Mou @ 2023-11-09  8:55 UTC (permalink / raw)
  Cc: dev, rasland

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(-)

-- 
2.34.1


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2023-11-12 14:27 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-11-09  8:55 [PATCH 0/2] net/mlx5: fix flow rules for external SQ Suanming Mou
2023-11-09  8:55 ` [PATCH 1/2] net/mlx5: fix missing " Suanming Mou
2023-11-09  8:55 ` [PATCH 2/2] net/mlx5: fix destroying external representor matched flows Suanming Mou
2023-11-12 14:27 ` [PATCH 0/2] net/mlx5: fix flow rules for external SQ Raslan Darawsheh

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).