net/ice: distinguish input set outer fields
authorZhirun Yan <zhirun.yan@intel.com>
Tue, 2 Mar 2021 02:54:06 +0000 (10:54 +0800)
committerQi Zhang <qi.z.zhang@intel.com>
Fri, 5 Mar 2021 08:46:53 +0000 (09:46 +0100)
commit817c9a047749332a5b8c3ebcf28e1fe9159e5b9d
tree1a352083404195dfd435faf70f46b5d3748e7374
parent25a3d65e1e52e34f36598e5909a51ee48e0061f2
net/ice: distinguish input set outer fields

Distinguish input_set_mask to inner and outer part. Use
input_set_mask_o for tunnel outer or non-tunnel input set.
input_set_mask_i is used for tunnel inner fields only.

Adjust indentation of ice_pattern_match_item list in switch, ACL, RSS
and FDIR for easy review.

For switch, ACL and RSS, only use
input_set_mask_o and set the input_set_mask_i all none.

Signed-off-by: Zhirun Yan <zhirun.yan@intel.com>
Acked-by: Qi Zhang <qi.z.zhang@intel.com>
drivers/net/ice/ice_acl_filter.c
drivers/net/ice/ice_fdir_filter.c
drivers/net/ice/ice_generic_flow.c
drivers/net/ice/ice_generic_flow.h
drivers/net/ice/ice_hash.c
drivers/net/ice/ice_switch_filter.c