* [PATCH] net/mlx5: document IP fragment matching limitations
@ 2025-07-18 11:51 Dariusz Sosnowski
2025-07-18 15:18 ` Stephen Hemminger
0 siblings, 1 reply; 2+ messages in thread
From: Dariusz Sosnowski @ 2025-07-18 11:51 UTC (permalink / raw)
To: Viacheslav Ovsiienko, Bing Zhao, Ori Kam, Suanming Mou, Matan Azrad
Cc: dev, Thomas Monjalon, Raslan Darawsheh
NVIDIA NICs do not support matching on packet headers appearing
after IP header if the received packet is an IP fragment.
This patch updates the relevant documentation.
Bugzilla ID: 1417
Signed-off-by: Dariusz Sosnowski <dsosnowski@nvidia.com>
---
Depends-on: series-35735 ("rework mlx5 guide")
FYI - I added Bugzilla ticket ID just for reference.
Patch does not resolve the issue, just adds missing documentation
for existing limitation.
doc/guides/nics/mlx5.rst | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/doc/guides/nics/mlx5.rst b/doc/guides/nics/mlx5.rst
index f29408eace..f58fea106a 100644
--- a/doc/guides/nics/mlx5.rst
+++ b/doc/guides/nics/mlx5.rst
@@ -3305,6 +3305,13 @@ Limitations
#. IP-in-IP is not supported with :ref:`HW steering <mlx5_hws>`.
+#. Matching on packet headers appearing after an IP header is not supported
+ if that packet is an IP fragment:
+
+ - For example: If a flow rule with pattern matching on L4 header contents is created,
+ and the first IP fragment is received,
+ then this IP fragment will miss on that flow rule.
+
.. _mlx5_nat64:
--
2.39.5
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH] net/mlx5: document IP fragment matching limitations
2025-07-18 11:51 [PATCH] net/mlx5: document IP fragment matching limitations Dariusz Sosnowski
@ 2025-07-18 15:18 ` Stephen Hemminger
0 siblings, 0 replies; 2+ messages in thread
From: Stephen Hemminger @ 2025-07-18 15:18 UTC (permalink / raw)
To: Dariusz Sosnowski
Cc: Viacheslav Ovsiienko, Bing Zhao, Ori Kam, Suanming Mou,
Matan Azrad, dev, Thomas Monjalon, Raslan Darawsheh
On Fri, 18 Jul 2025 13:51:56 +0200
Dariusz Sosnowski <dsosnowski@nvidia.com> wrote:
> NVIDIA NICs do not support matching on packet headers appearing
> after IP header if the received packet is an IP fragment.
> This patch updates the relevant documentation.
>
> Bugzilla ID: 1417
>
> Signed-off-by: Dariusz Sosnowski <dsosnowski@nvidia.com>
I suspect that is true of all NIC's because matching later fragments
would require state that would not scale in HW.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2025-07-18 15:18 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-07-18 11:51 [PATCH] net/mlx5: document IP fragment matching limitations Dariusz Sosnowski
2025-07-18 15:18 ` Stephen Hemminger
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).