net/ice: refactor input set fields for switch filter
authorYuying Zhang <yuying.zhang@intel.com>
Mon, 26 Apr 2021 05:38:14 +0000 (05:38 +0000)
committerQi Zhang <qi.z.zhang@intel.com>
Mon, 26 Apr 2021 08:01:48 +0000 (10:01 +0200)
commit34792a3b5b18e1c6f241aaab866a0b0ed1f10993
treef4282ead3d81925416e5c3daabc905d5e60ec59a
parent1ee4ff21cf9487ce4516a869ea0d3b6410792625
net/ice: refactor input set fields for switch filter

Input set has been divided into inner and outer part to distinguish
different fields. However, the parse method of switch filter doesn't
match this update. Refactor switch filter to distinguish inner and outer
input set in the same way as other filters.

Signed-off-by: Yuying Zhang <yuying.zhang@intel.com>
Acked-by: Qi Zhang <qi.z.zhang@intel.com>
drivers/net/ice/ice_switch_filter.c