mbox series

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

Message ID 20210113053129.49211-1-jia.guo@intel.com (mailing list archive)
Headers show
Series net/ice: refactor PTYPE parsing | expand

Message

Jeff Guo 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(-)

Comments

Zhang, Qi Z Jan. 13, 2021, 6:07 a.m. UTC | #1
> -----Original Message-----
> From: Guo, Jia <jia.guo@intel.com>
> Sent: Wednesday, January 13, 2021 1:31 PM
> To: Zhang, Qi Z <qi.z.zhang@intel.com>; Wu, Jingjing <jingjing.wu@intel.com>;
> Yang, Qiming <qiming.yang@intel.com>; Wang, Haiyue
> <haiyue.wang@intel.com>
> Cc: dev@dpdk.org; Guo, Jia <jia.guo@intel.com>; Su, Simei
> <simei.su@intel.com>
> Subject: [dpdk-dev v4 0/2] net/ice: refactor PTYPE 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.
> 
> 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(-)
> 
> --
> 2.20.1

Acked-by: Qi Zhang <qi.z.zhang@intel.com>

Applied to dpdk-next-net-intel.

Thanks
Qi