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 <gaoxiangl...@163.com> --- v2: * Fix coding style issues. v3: * add __rte_always_inline to vhost_update_single_packet_xstats. --- drivers/net/vhost/rte_eth_vhost.c | 64 ++++++++++++++----------------- 1 file changed, 29 insertions(+), 35 deletions(-)
Applied to dpdk-next-virtio/main. Thanks, Maxime