Ethtool allows creating rules with type=ether, add support for such
filters in ice driver.
Patch 1 allows extending ice_fdir_comp_rules() with handling additional
type of filters.
v8: Added check for vlan-etype when proto and vlan are specified,
vlan-etype is required by HW
v7: removed 0 initialization of static const array (omitted by error in v6)
v6: removed ice_fdir_eth and reused ethhdr, removed 0 initialization
of static const array
v5: added missing documentation for parameter introduced in V4,
extended commit message for patch adding flow-type ether rules support
v4: added warning explaining that masks other than broadcast and unicast
are not supported, added check for empty filters
v3: fixed possible use of uninitialized variable "perfect_filter"
v2: fixed compilation warning by moving default: case between commits
Jakub Buchocki (1):
ice: Implement 'flow-type ether' rules
Lukasz Plachno (1):
ice: Remove unnecessary argument from ice_fdir_comp_rules()
.../net/ethernet/intel/ice/ice_ethtool_fdir.c | 138 +++++++++++++++++-
drivers/net/ethernet/intel/ice/ice_fdir.c | 111 ++++++++------
drivers/net/ethernet/intel/ice/ice_fdir.h | 5 +
drivers/net/ethernet/intel/ice/ice_type.h | 1 +
4 files changed, 208 insertions(+), 47 deletions(-)
base-commit: b1f81b9a535b48b2c9ca460720a2bc73fd2001de
--
2.34.1