net/ice: refactor packet type parsing
authorJeff Guo <jia.guo@intel.com>
Wed, 13 Jan 2021 05:31:29 +0000 (13:31 +0800)
committerFerruh Yigit <ferruh.yigit@intel.com>
Wed, 13 Jan 2021 17:51:59 +0000 (18:51 +0100)
commit68b6240ee9f0484ae7c75705c960922aa500544e
tree4e62430e5a0ce5bc38840dd3767f4e0930243ee6
parent8a923ee7e757c2ec19b75c05783f937239f69396
net/ice: refactor packet type parsing

If the capability of a PTYPE within a specific package could be
negotiated, no need to maintain a different PTYPE list for each
type of the package when parsing PTYPE. So refactor the PTYPE
parsing mechanism for each flow engines.

Signed-off-by: Jeff Guo <jia.guo@intel.com>
Acked-by: Qi Zhang <qi.z.zhang@intel.com>
drivers/net/ice/ice_acl_filter.c
drivers/net/ice/ice_fdir_filter.c
drivers/net/ice/ice_generic_flow.c
drivers/net/ice/ice_generic_flow.h
drivers/net/ice/ice_hash.c
drivers/net/ice/ice_switch_filter.c