net/ice/base: enable GTPU inner L3/L4 for flow director
authorQi Zhang <qi.z.zhang@intel.com>
Tue, 2 Mar 2021 07:23:47 +0000 (15:23 +0800)
committerQi Zhang <qi.z.zhang@intel.com>
Fri, 5 Mar 2021 08:26:14 +0000 (09:26 +0100)
commit535985974b2b58a1995d9debf0174548bfbb6c60
treead975747ccedd3aa8ecdfcd5df07ceb8420af6bd
parent306a2fcd1b2d549b4094232f0a03c9c62228e298
net/ice/base: enable GTPU inner L3/L4 for flow director

For FDIR, GTPU with inner L3/L4 layers should only support inner
L3/L4 addrs/ports, instead of outer fields. Thus, we use TUN offsets
for GTPU IP/EH to insert inner L3/L4 addrs/ports fields.

Signed-off-by: Junfeng Guo <junfeng.guo@intel.com>
Signed-off-by: Qi Zhang <qi.z.zhang@intel.com>
Acked-by: Qiming Yang <qiming.yang@intel.com>
drivers/net/ice/base/ice_fdir.c
drivers/net/ice/base/ice_fdir.h