summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorAleksandr Loktionov <aleksandr.loktionov@intel.com>2026-04-10 09:49:20 +0200
committerTony Nguyen <anthony.l.nguyen@intel.com>2026-09-29 13:33:37 -0700
commit49a4ae7adead916596195803176f96e998625fa3 (patch)
treeb8989e0a01007ec72c34c1a5bc41bce622928bd1 /include/linux
parent0b1419908406111c45bb5c4c1f3d499dd560cf8c (diff)
ice: use inline helpers instead of memcmp() for IPv6 mask checks in ice_ethtool_fdir
Replace static full_ipv6_addr_mask / zero_ipv6_addr_mask structs and the associated memcmp() calls in ice_ethtool_fdir.c with the kernel-provided ipv6_addr_any() helper and a new ice_ipv6_mask_full() inline, reducing boilerplate and making intent clearer. Suggested-by: Larysa Zaremba <larysa.zaremba@intel.com> Signed-off-by: Aleksandr Loktionov <aleksandr.loktionov@intel.com> Reviewed-by: Simon Horman <horms@kernel.org> Tested-by: Alexander Nowlin <alexander.nowlin@intel.com> Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions