[dpdk-dev] [PATCH v5] net/iavf: support flex desc metadata extraction

Wang, Haiyue haiyue.wang at intel.com
Fri Sep 25 08:33:57 CEST 2020


> -----Original Message-----
> From: Guo, Jia <jia.guo at intel.com>
> Sent: Friday, September 25, 2020 14:23
> To: Wu, Jingjing <jingjing.wu at intel.com>; Zhang, Qi Z <qi.z.zhang at intel.com>; Xing, Beilei
> <beilei.xing at intel.com>
> Cc: dev at dpdk.org; Wang, Haiyue <haiyue.wang at intel.com>; Guo, Jia <jia.guo at intel.com>
> Subject: [PATCH v5] net/iavf: support flex desc metadata extraction
> 
> Enable metadata extraction for flexible descriptors in AVF, that would
> allow network function directly get metadata without additional parsing
> which would reduce the CPU cost for VFs. The enabling metadata
> extractions involve the metadata of VLAN/IPv4/IPv6/IPv6-FLOW/TCP/MPLS
> flexible descriptors, and the VF could negotiate the capability of
> the flexible descriptor with PF and correspondingly configure the
> specific offload at receiving queues.
> 
> Signed-off-by: Jeff Guo <jia.guo at intel.com>
> ---
> v5:
> remove ovs configure since ovs is not protocol extraction
> 
> v4:
> add flex desc type in rx queue for handling vector path
> handle ovs flex type
> 
> v3:
> export these global symbols into .map
> 
> v2:
> remove makefile change and modify the rxdid handling
> ---
>  doc/guides/rel_notes/release_20_11.rst    |   6 +
>  drivers/net/iavf/iavf.h                   |  24 +-
>  drivers/net/iavf/iavf_ethdev.c            | 394 ++++++++++++++++++++++
>  drivers/net/iavf/iavf_rxtx.c              | 283 ++++++++++++++--
>  drivers/net/iavf/iavf_rxtx.h              | 168 +++++----
>  drivers/net/iavf/iavf_rxtx_vec_common.h   |   3 +
>  drivers/net/iavf/iavf_vchnl.c             |  22 +-
>  drivers/net/iavf/meson.build              |   2 +
>  drivers/net/iavf/rte_pmd_iavf.h           | 250 ++++++++++++++
>  drivers/net/iavf/rte_pmd_iavf_version.map |  13 +
>  10 files changed, 1051 insertions(+), 114 deletions(-)
>  create mode 100644 drivers/net/iavf/rte_pmd_iavf.h

LGTM

Acked-by: Haiyue Wang <haiyue.wang at intel.com>

> 2.20.1



More information about the dev mailing list