DPDK patches and discussions
 help / color / mirror / Atom feed
From: bugzilla@dpdk.org
To: dev@dpdk.org
Subject: [DPDK/testpmd Bug 1479] mlx5: Not able to create rte_flows to match head fragments and sub fragments
Date: Mon, 27 Oct 2025 09:17:36 +0000	[thread overview]
Message-ID: <bug-1479-3-Nwhz585GCD@http.bugs.dpdk.org/> (raw)
In-Reply-To: <bug-1479-3@http.bugs.dpdk.org/>

http://bugs.dpdk.org/show_bug.cgi?id=1479

mkashani@nvidia.com (mkashani@nvidia.com) changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |mkashani@nvidia.com
             Status|CONFIRMED                   |RESOLVED
         Resolution|---                         |FIXED

--- Comment #1 from mkashani@nvidia.com (mkashani@nvidia.com) ---
Hi, Siva,
Sorry for the late response,

You're correct that the mlx5 driver explicitly blocks the fragment matching
patterns you're trying to use.

For your use case (computing different RSS based on 5-tuple vs 3-tuple):
Create two flow rules:
One for ANY fragmented packets → RSS with 3-tuple (ipv4-frag)
One for non-fragmented packets → RSS with 5-tuple (ipv4-tcp, ipv4-udp)
The NIC will automatically:
Use 3-tuple for fragments (only IP src/dst/protocol available)
Use 5-tuple for non-fragments (full 5-tuple available)
You cannot differentiate between first, middle, and last fragments in flow
rules on ConnectX-6 DX.
The hardware RSS engine already handles this correctly by design - fragmented
packets can only use 3-tuple because port information is only in the first
fragment, and may not be available to all fragments.

-- 
You are receiving this mail because:
You are the assignee for the bug.

      parent reply	other threads:[~2025-10-27  9:17 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-07-02 14:21 bugzilla
2024-07-03  6:19 ` Asaf Penso
2025-10-27  9:17 ` bugzilla [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=bug-1479-3-Nwhz585GCD@http.bugs.dpdk.org/ \
    --to=bugzilla@dpdk.org \
    --cc=dev@dpdk.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).