[RFC 0/2] vhost: support async dequeue data path

2021-12-31 Thread xuan . ding
From: Xuan Ding Hi everyone, The presence of an asynchronous path allows applications to offload memory copies to DMA engine, so as to save CPU cycles and improve the copy performance. This patch set is a draft implementation for split ring in vhost async dequeue data path. The code is based on

[RFC 1/2] vhost: support async dequeue for split ring

2021-12-31 Thread xuan . ding
From: Xuan Ding This patch implements asynchronous dequeue data path for vhost split ring, with dmadev library integrated. Signed-off-by: Yuan Wang Signed-off-by: Xuan Ding --- lib/vhost/rte_vhost_async.h | 29 +++ lib/vhost/version.map | 1 + lib/vhost/vhost.h | 1 + lib

[RFC 2/2] examples/vhost: support async dequeue data path

2021-12-31 Thread xuan . ding
From: Xuan Ding This patch adds the use case for async dequeue API. Vswitch can leverage DMA device to accelerate vhost async dequeue path. Signed-off-by: Wenwu Ma Signed-off-by: Yuan Wang Signed-off-by: Xuan Ding --- doc/guides/sample_app_ug/vhost.rst | 9 +- examples/vhost/main.c

Re: [PATCH v1] config/arm: add armv7 native config

2021-12-31 Thread Stephen Hemminger
On Thu, 18 Nov 2021 11:45:51 +0100 Juraj Linkeš wrote: > Arvm7 native build fails with this error: > ../config/meson.build:364:1: ERROR: Problem encountered: > Number of CPU cores not specified. > > This is because RTE_MAX_LCORE is not set. We also need to set > RTE_MAX_NUMA_NODES in armv7 nativ