[dpdk-dev] [PATCH v3] net/vhost: merge vhost stats loop in vhost Tx/Rx
Maxime Coquelin
maxime.coquelin at redhat.com
Thu Oct 21 12:04:45 CEST 2021
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 <gaoxiangliu0 at 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(-)
>
Reviewed-by: Maxime Coquelin <maxime.coquelin at redhat.com>
Thanks!
Maxime
More information about the dev
mailing list