Re: [dpdk-dev] net/i40e: fix error setting for L2TAG

2020-05-23 Thread Yan, Xiaoping (NSB - CN/Hangzhou)
@dpdk.org; olivier.m...@6wind.com Subject: Re: [dpdk-dev] net/i40e: fix error setting for L2TAG On 05/20, Jeff Guo wrote: >Base on HW, if a packet be split into multiple segments, the L2TAG >should only be valid on the last Rx descriptor. So fix it by setting >L2TAG into mbuf when processing

Re: [dpdk-dev] net/i40e: fix error setting for L2TAG

2020-05-20 Thread Ye Xiaolong
On 05/20, Jeff Guo wrote: >Base on HW, if a packet be split into multiple segments, the L2TAG >should only be valid on the last Rx descriptor. So fix it by setting >L2TAG into mbuf when processing the last split packet. > >Fixes: ca74903b75cf ("net/i40e: extract non-x86 specific code from vector >

Re: [dpdk-dev] net/i40e: fix error setting for L2TAG

2020-05-20 Thread Zhang, Qi Z
> -Original Message- > From: Guo, Jia > Sent: Thursday, May 21, 2020 5:25 AM > To: Xing, Beilei ; Zhang, Qi Z ; > jianbo@linaro.org; xiaoping@nokia-sbell.com > Cc: Ye, Xiaolong ; dev@dpdk.org; Guo, Jia > ; olivier.m...@6wind.com > Subject: [dpdk-dev] net

[dpdk-dev] net/i40e: fix error setting for L2TAG

2020-05-20 Thread Jeff Guo
Base on HW, if a packet be split into multiple segments, the L2TAG should only be valid on the last Rx descriptor. So fix it by setting L2TAG into mbuf when processing the last split packet. Fixes: ca74903b75cf ("net/i40e: extract non-x86 specific code from vector driver") Signed-off-by: Jeff Gu