net/ice/base: allow GTP-U filter using only inner protocols
authorQi Zhang <qi.z.zhang@intel.com>
Tue, 13 Apr 2021 05:06:40 +0000 (13:06 +0800)
committerQi Zhang <qi.z.zhang@intel.com>
Tue, 13 Apr 2021 14:25:27 +0000 (16:25 +0200)
commit621996fb02d37502c4488b80b8f4f346576f2e15
tree3f1415a275542e58be30689dad170cfa3ec811ed
parentfb73e0200b899ed24489ba8bb0cf1112c5ae612e
net/ice/base: allow GTP-U filter using only inner protocols

Adds a support for switch filter: GTP-U using just inner fields.
If user doesn't specify outer protocol and its fields but wants to
add switch filter for GTP-U using inner protocols and related fields
such as inner L3 and/or inner L4, this patch enables such filtering.

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_protocol_type.h
drivers/net/ice/base/ice_switch.c