Re: [dpdk-dev] [PATCH v2] net/vhost: merge vhost stats loop in vhost Tx/Rx

2021-10-16 Thread Gaoxiang Liu
Hi, Maxime I agree with you.The inline should be added to vhost_update_single_packet_xstats function. I will fix it in [PATCH v3]. Thanks, Gaoxiang 发自 网易邮箱大师 回复的原邮件 | 发件人 | Maxime Coquelin | | 日期 | 2021年10月15日 20:16 | | 收件人 | Gaoxiang Liu、chenbo@intel.com | | 抄送至 | dev@dpdk

Re: [dpdk-dev] [PATCH v2] net/vhost: merge vhost stats loop in vhost Tx/Rx

2021-10-15 Thread Maxime Coquelin
Hi, On 9/28/21 03:43, Gaoxiang Liu wrote: To improve performance in vhost Tx/Rx, merge vhost stats loop. eth_vhost_tx has 2 loop of send num iteraion. It can be merge into one. eth_vhost_rx has the same issue as Tx. Fixes: 4d6cf2ac93dc ("net/vhost: add extended statistics") Please remove the

Re: [dpdk-dev] [PATCH v2] net/vhost: merge vhost stats loop in vhost Tx/Rx

2021-10-06 Thread Gaoxiang Liu
Hi, Maxime, Chenbo Please help to review the patch. Thanks. Gaoxiang On 09/28/2021 09:43, Gaoxiang Liu wrote: To improve performance in vhost Tx/Rx, merge vhost stats loop. eth_vhost_tx has 2 loop of send num iteraion. It can be merge into one. eth_vhost_rx has the same issue as Tx. Fixes:

[dpdk-dev] [PATCH v2] net/vhost: merge vhost stats loop in vhost Tx/Rx

2021-09-27 Thread Gaoxiang Liu
To improve performance in vhost Tx/Rx, merge vhost stats loop. eth_vhost_tx has 2 loop of send num iteraion. It can be merge into one. eth_vhost_rx has the same issue as Tx. Fixes: 4d6cf2ac93dc ("net/vhost: add extended statistics") Signed-off-by: Gaoxiang Liu --- v2: * Fix coding style issues

[dpdk-dev] [PATCH v2] net/vhost: merge vhost stats loop in vhost Tx/Rx

2021-09-26 Thread Gaoxiang Liu
To improve performance in vhost Tx/Rx, merge vhost stats loop. eth_vhost_tx has 2 loop of send num iteraion. It can be merge into one. eth_vhost_rx has the same issue as Tx. Fixes: 4d6cf2ac93dc ("net/vhost: add extended statistics") Signed-off-by: Gaoxiang Liu --- v2: * Fix coding style issues