[PATCH 2/2] net/hns3: optimized Tx performance
    Ferruh Yigit 
    ferruh.yigit at intel.com
       
    Mon Nov 15 18:32:18 CET 2021
    
    
  
On 11/11/2021 1:38 PM, Min Hu (Connor) wrote:
> From: Chengwen Feng<fengchengwen at huawei.com>
> 
> The PMD should check whether the descriptor is done by hardware before
> free the corresponding mbuf. Currently the common xmit algorithm will
> free mbuf every time when it's invoked. Because hardware may not have
> finished sending, this may lead to many invalid queries which are
> whether the descriptors are done.
> 
Hi Connor, Chengwen,
Since there will be a new version, can you please reword above paragraph?
> This patch uses tx_free_thresh to control whether invoke free mbuf, and
> free tx_rs_thresh mbufs each time.
> 
> This patch also modifies the implementation of PMD's tx_done_cleanup
> because the mbuf free algorithm changed.
> 
> In the testpmd single core MAC forwarding scenario, the performance is
> improved by 10% at 64B on Kunpeng920 platform.
> 
> Cc:stable at dpdk.org
> 
> Signed-off-by: Chengwen Feng<fengchengwen at huawei.com>
> Signed-off-by: Min Hu (Connor)<humin29 at huawei.com>
    
    
More information about the dev
mailing list