Linux RDMA and InfiniBand development
 help / color / mirror / Atom feed
* [PATCH mlx5-next] net/mlx5: Add PSP header extension length match field
@ 2026-11-26  6:19 Tariq Toukan
  2026-11-26  6:24 ` sashiko-bot
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Tariq Toukan @ 2026-11-26  6:19 UTC (permalink / raw)
  To: Leon Romanovsky, linux-rdma, Mark Bloch, netdev, Saeed Mahameed,
	Tariq Toukan
  Cc: Andrew Lunn, Cosmin Ratiu, David S. Miller, Dragos Tatulea,
	Eric Dumazet, Gal Pressman, Jakub Kicinski, open list,
	Paolo Abeni

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


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

end of thread, other threads:[~2026-11-26 18:57 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-11-26  6:19 [PATCH mlx5-next] net/mlx5: Add PSP header extension length match field Tariq Toukan
2026-11-26  6:24 ` sashiko-bot
2026-11-26 18:56 ` Leon Romanovsky
2026-11-26 18:57 ` Leon Romanovsky

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox