net/ice: refactor input set config
authorZhirun Yan <zhirun.yan@intel.com>
Tue, 2 Mar 2021 02:54:05 +0000 (10:54 +0800)
committerQi Zhang <qi.z.zhang@intel.com>
Fri, 5 Mar 2021 08:46:34 +0000 (09:46 +0100)
commit25a3d65e1e52e34f36598e5909a51ee48e0061f2
treeda2f05381d1723e6211a8bab65a0e5ba452159cb
parent1b71ed2cdd5d25511be9d5e3a75638017212b298
net/ice: refactor input set config

For tunnel or non-tunnel packet, the input set is in outer_input_set
and use seg_tun[0]. seg_tun[1] is only used for tunnel inner fields.
This patch make align with input_set inner/outer with seg_tun[] and
simplify it.

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