> -----Original Message----- > From: Intel-wired-lan <[email protected]> On Behalf Of > Aleksandr Loktionov > Sent: Friday, April 10, 2026 12:49 AM > To: [email protected]; Nguyen, Anthony L > <[email protected]>; Loktionov, Aleksandr > <[email protected]> > Cc: [email protected]; Zaremba, Larysa <[email protected]> > Subject: [Intel-wired-lan] [PATCH iwl-next 9/10] 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 <[email protected]> > Signed-off-by: Aleksandr Loktionov <[email protected]> > --- > .../net/ethernet/intel/ice/ice_ethtool_fdir.c | 57 ++++++------------- > 1 file changed, 16 insertions(+), 41 deletions(-)
Tested-by: Alexander Nowlin <[email protected]>
