mbox

[v4,0/2] net/ice: refactor PTYPE parsing

Message ID 20210113053129.49211-1-jia.guo@intel.com (mailing list archive)
Headers

Message

Guo, Jia Jan. 13, 2021, 5:31 a.m. UTC
  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.

v4:
rebase patch and add some more PTYPE macros

v3:
separate the patch set from the ecpri configure patch set

Jeff Guo (2):
  net/ice/base: add PTYPE value
  net/ice: refactor PTYPE parsing

 drivers/net/ice/base/ice_flex_type.h | 189 +++++++++++++++++++++------
 drivers/net/ice/ice_acl_filter.c     |   3 +-
 drivers/net/ice/ice_fdir_filter.c    |  63 ++-------
 drivers/net/ice/ice_generic_flow.c   | 132 +++++++++++++++++--
 drivers/net/ice/ice_generic_flow.h   |   9 +-
 drivers/net/ice/ice_hash.c           |  51 ++------
 drivers/net/ice/ice_switch_filter.c  | 139 +++-----------------
 7 files changed, 315 insertions(+), 271 deletions(-)