net/ice: merge inner/outer seg info for flow director
authorZhirun Yan <zhirun.yan@intel.com>
Mon, 14 Sep 2020 03:05:30 +0000 (11:05 +0800)
committerFerruh Yigit <ferruh.yigit@intel.com>
Fri, 18 Sep 2020 16:55:11 +0000 (18:55 +0200)
commit5d9b711da51c5760d0a64f8233200b3df576f98d
treea1fea581f9ab97917f656360b052a1bed6f09f47
parent3aa4b17271b836d265a7f28634a1fe69449f240e
net/ice: merge inner/outer seg info for flow director

For tunnel and non-tunnel packets, it can share the same seg_tun info.
seg_tun[1] can be used for supporting inner fields with tunnel flow rule
or for non-tunnel packets, seg_tun[0] only used for tunnel outer part.
Add outer_input_set to distinguish inner/outer input set. So we can
identify different fields in outer or inner part.

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