Re: [PATCH 3/5] net/hns3: optimize free mbuf code for SVE Tx

2023-09-25 Thread lihuisong (C)
在 2023/9/25 22:21, Ferruh Yigit 写道: On 7/11/2023 11:24 AM, Dongdong Liu wrote: From: Huisong Li Currently, hns3 SVE Tx checks the valid bits of all descriptors in a batch and then determines whether to release the corresponding mbufs. Actually, once the valid bit of any descriptor in a batch

Re: [PATCH 3/5] net/hns3: optimize free mbuf code for SVE Tx

2023-09-25 Thread Ferruh Yigit
On 7/11/2023 11:24 AM, Dongdong Liu wrote: > From: Huisong Li > > Currently, hns3 SVE Tx checks the valid bits of all descriptors > in a batch and then determines whether to release the corresponding > mbufs. Actually, once the valid bit of any descriptor in a batch > isn't cleared, driver does n

[PATCH 3/5] net/hns3: optimize free mbuf code for SVE Tx

2023-07-11 Thread Dongdong Liu
From: Huisong Li Currently, hns3 SVE Tx checks the valid bits of all descriptors in a batch and then determines whether to release the corresponding mbufs. Actually, once the valid bit of any descriptor in a batch isn't cleared, driver does not need to scan the rest of descriptors. If we optimiz