mirror of https://lore.kernel.org/lkml/
 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 18:56 ` Leon Romanovsky
  2026-11-26 18:57 ` Leon Romanovsky
  0 siblings, 2 replies; 3+ 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	[flat|nested] 3+ messages in thread

* Re: [PATCH mlx5-next] net/mlx5: Add PSP header extension length match field
  2026-11-26  6:19 [PATCH mlx5-next] net/mlx5: Add PSP header extension length match field Tariq Toukan
@ 2026-11-26 18:56 ` Leon Romanovsky
  2026-11-26 18:57 ` Leon Romanovsky
  1 sibling, 0 replies; 3+ messages in thread
From: Leon Romanovsky @ 2026-11-26 18:56 UTC (permalink / raw)
  To: 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


On Thu, 26 Nov 2026 08:19:04 +0200, Tariq Toukan wrote:
> Expose the PSP header extension length (hdr_ext_len), so steering rules
> can match PSP packets with extension headers (such as the virt cookie).

Applied, thanks!

[1/1] net/mlx5: Add PSP header extension length match field
      https://git.kernel.org/rdma/rdma/c/8c7a99ad6d6a9e

Best regards,
-- 
Leon Romanovsky <leon@kernel.org>


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

* Re: [PATCH mlx5-next] net/mlx5: Add PSP header extension length match field
  2026-11-26  6:19 [PATCH mlx5-next] net/mlx5: Add PSP header extension length match field Tariq Toukan
  2026-11-26 18:56 ` Leon Romanovsky
@ 2026-11-26 18:57 ` Leon Romanovsky
  1 sibling, 0 replies; 3+ messages in thread
From: Leon Romanovsky @ 2026-11-26 18:57 UTC (permalink / raw)
  To: Tariq Toukan
  Cc: linux-rdma, Mark Bloch, netdev, Saeed Mahameed, Andrew Lunn,
	Cosmin Ratiu, David S. Miller, Dragos Tatulea, Eric Dumazet,
	Gal Pressman, Jakub Kicinski, open list, Paolo Abeni

On Thu, Nov 26, 2026 at 08:19:04AM +0200, Tariq Toukan wrote:
> 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(-)

Applied to mlx5-next and created tag mlx5-next-2026-11-26.

Thanks

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

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

Thread overview: 3+ 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 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

all inboxes | Powered by JetHome®