Re: [dpdk-dev] [PATCH v8] net/ice: optimize protocol extraction by dynamic mbuf API

2019-11-07 Thread Wang, Haiyue
Hi Xiaolong, > -Original Message- > From: Ye, Xiaolong > Sent: Thursday, November 7, 2019 17:09 > To: Wang, Haiyue > Cc: dev@dpdk.org; olivier.m...@6wind.com > Subject: Re: [PATCH v8] net/ice: optimize protocol extraction by dynamic mbuf > API > > Hi, Haiyue > > On 11/07, Haiyue Wang

Re: [dpdk-dev] [PATCH v8] net/ice: optimize protocol extraction by dynamic mbuf API

2019-11-07 Thread Ye Xiaolong
Hi, Haiyue On 11/07, Haiyue Wang wrote: >The original design is to use rte_mbuf::udata64 to save the metadata of >protocol extraction which has network protocol data fields and type, a >private API is used to decode this metadata. > >Use the dynamic mbuf field and flags to register the needed fiel

[dpdk-dev] [PATCH v8] net/ice: optimize protocol extraction by dynamic mbuf API

2019-11-06 Thread Haiyue Wang
The original design is to use rte_mbuf::udata64 to save the metadata of protocol extraction which has network protocol data fields and type, a private API is used to decode this metadata. Use the dynamic mbuf field and flags to register the needed fields in mbuf, to avoid overwriting 'rte_mbuf::ud