net/ice/base: add GTP filtering via advanced switch filter
authorQi Zhang <qi.z.zhang@intel.com>
Tue, 15 Dec 2020 03:05:01 +0000 (11:05 +0800)
committerFerruh Yigit <ferruh.yigit@intel.com>
Fri, 8 Jan 2021 15:03:06 +0000 (16:03 +0100)
commitbd4d9a89dbc1392bb9f0c1a1e78a026f8442c13c
treed211040a52f41927bc0249caf28ec6b37806610b
parent3c66b6c531f777bb288c6ce807d25568f700859d
net/ice/base: add GTP filtering via advanced switch filter

Add support to enable GTP filtering using advanced switch filter mechanism.
Example of GTP filter criteria:
  Outer UDP + GTP (Optional) + Inner IPv4[6] + Inner TCP/UDP

Signed-off-by: Kiran Patil <kiran.patil@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_flex_type.h
drivers/net/ice/base/ice_switch.c