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

2021-10-21 Thread Gaoxiang Liu
、liugaoxi...@huawei.com | | 主题 | Re: [dpdk-dev] [PATCH v3] net/vhost: merge vhost stats loop in vhost Tx/Rx | On 10/18/2021 12:19 AM, 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

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

2021-10-21 Thread Ferruh Yigit
On 10/18/2021 12:19 AM, 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. Signed-off-by: Gaoxiang Liu Hi Gaoxiang, We are trying to keep unique ident

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

2021-10-21 Thread Maxime Coquelin
On 10/18/21 01:19, 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. Signed-off-by: Gaoxiang Liu --- v2: * Fix coding style issues. v3: * add __

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

2021-10-21 Thread Maxime Coquelin
On 10/18/21 01:19, 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. Signed-off-by: Gaoxiang Liu --- v2: * Fix coding style issues. v3: * add __

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

2021-10-17 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. Signed-off-by: Gaoxiang Liu --- v2: * Fix coding style issues. v3: * add __rte_always_inline to vhost_update_single_pack