From: Jakub Kicinski Date: Thu, 24 Apr 2025 01:48:13 +0000 (-0700) Subject: Merge branch 'net-mlx5-hws-improve-ip-version-handling' X-Git-Tag: v6.16-rc1~132^2~228 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=abcec3ed92fca92cd81d743bb8a5409da73b7560;p=thirdparty%2Flinux.git 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 --- abcec3ed92fca92cd81d743bb8a5409da73b7560