From: Tariq Toukan <tariqt@nvidia.com>
To: Andrew Lunn <andrew+netdev@lunn.ch>,
"David S. Miller" <davem@davemloft.net>,
Eric Dumazet <edumazet@kernel.org>,
Jakub Kicinski <kuba@kernel.org>, <netdev@vger.kernel.org>,
Paolo Abeni <pabeni@redhat.com>
Cc: Cosmin Ratiu <cratiu@nvidia.com>,
Dragos Tatulea <dtatulea@nvidia.com>,
Gal Pressman <gal@nvidia.com>, Leon Romanovsky <leon@kernel.org>,
<linux-rdma@vger.kernel.org>, Mark Bloch <mbloch@nvidia.com>,
Saeed Mahameed <saeedm@nvidia.com>,
Tariq Toukan <tariqt@nvidia.com>
Subject: [PATCH net-next 1/1] net/mlx5: Add PSP header extension length match field
Date: Thu, 26 Nov 2026 21:36:18 +0200 [thread overview]
Message-ID: <20261126193618.725006-2-tariqt@nvidia.com> (raw)
In-Reply-To: <20261126193618.725006-1-tariqt@nvidia.com>
From: Cosmin Ratiu <cratiu@nvidia.com>
Expose the PSP header extension length (hdr_ext_len), so steering rules
can match PSP packets with extension headers (such as the virt cookie).
Signed-off-by: Cosmin Ratiu <cratiu@nvidia.com>
Reviewed-by: Dragos Tatulea <dtatulea@nvidia.com>
Signed-off-by: Tariq Toukan <tariqt@nvidia.com>
Link: https://patch.msgid.link/20261126061904.387686-1-tariqt@nvidia.com
Signed-off-by: Leon Romanovsky <leon@kernel.org>
---
include/linux/mlx5/mlx5_ifc.h | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/include/linux/mlx5/mlx5_ifc.h b/include/linux/mlx5/mlx5_ifc.h
index cb9b8a908523..6617edfe2a30 100644
--- a/include/linux/mlx5/mlx5_ifc.h
+++ b/include/linux/mlx5/mlx5_ifc.h
@@ -800,7 +800,9 @@ struct mlx5_ifc_fte_match_set_misc5_bits {
};
struct mlx5_ifc_fte_match_set_misc6_bits {
- u8 reserved_at_0[0x1a];
+ u8 reserved_at_0[0x8];
+ u8 psp_hdr_ext_len[0x8];
+ u8 reserved_at_10[0xa];
u8 psp_version[0x4];
u8 reserved_at_1e[0x2];
--
2.44.0
next prev parent reply other threads:[~2026-11-26 19:36 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-26 19:36 [PATCH net-next 0/1][pull-request] mlx5-next updates 2026-11-26 Tariq Toukan
2026-11-26 19:36 ` Tariq Toukan [this message]
2026-11-26 19:42 ` [PATCH net-next 1/1] net/mlx5: Add PSP header extension length match field sashiko-bot
2026-12-02 3:10 ` patchwork-bot+netdevbpf
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=20261126193618.725006-2-tariqt@nvidia.com \
--to=tariqt@nvidia.com \
--cc=andrew+netdev@lunn.ch \
--cc=cratiu@nvidia.com \
--cc=davem@davemloft.net \
--cc=dtatulea@nvidia.com \
--cc=edumazet@kernel.org \
--cc=gal@nvidia.com \
--cc=kuba@kernel.org \
--cc=leon@kernel.org \
--cc=linux-rdma@vger.kernel.org \
--cc=mbloch@nvidia.com \
--cc=netdev@vger.kernel.org \
--cc=pabeni@redhat.com \
--cc=saeedm@nvidia.com \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.