]> www.infradead.org Git - users/jedix/linux-maple.git/commit
Merge branch 'net-mlx5-hws-improve-ip-version-handling'
authorJakub Kicinski <kuba@kernel.org>
Thu, 24 Apr 2025 01:48:13 +0000 (18:48 -0700)
committerJakub Kicinski <kuba@kernel.org>
Thu, 24 Apr 2025 01:48:14 +0000 (18:48 -0700)
commitabcec3ed92fca92cd81d743bb8a5409da73b7560
treec659fa237f9777319a14edb7ec1937174a069b2e
parentb5cdb9b3113e6633d84f5598b5010794e86a4d35
parentf41f3edf0b15d7ce0b0f71c00a6125e8d7ca735f
Merge branch 'net-mlx5-hws-improve-ip-version-handling'

Mark Bloch says:

====================
net/mlx5: HWS, Improve IP version handling

This small series hardens our checks against a single matcher containing
rules that match on IPv4 and IPv6. This scenario is not supported by
hardware steering and the implementation now signals this instead of
failing silently.

Patches:
* Patch 1 forbids a single definer to match on mixed IP versions for
  source and destination address.
* Patch 2 reproduces a couple of firmware checks: it forbids creating
  a definer that matches on IP address without matching on IP version,
  and also disallows matching on IPv6 addresses and the IPv4 IHL fields
  in the same definer.
* Patch 3 forbids mixing rules that match on IPv4 and IPv6 addresses in
  the same matcher. The underlying definer mechanism does not support
  that.
====================

Link: https://patch.msgid.link/20250422092540.182091-1-mbloch@nvidia.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>