numam-dpdk/examples/vhost
Cheng Jiang 895f409c4a examples/vhost: fix ioat ring space in callbacks
We use ioat ring space for determining if ioat callbacks can enqueue a
packet to ioat device. But there is one slot can't be used in ioat
ring due to the ioat driver design, so we need to reduce one slot in
ioat ring to prevent ring size mismatch in ioat callbacks.

Fixes: 2aa47e94bf ("examples/vhost: add ioat ring space count and check")
Cc: stable@dpdk.org

Signed-off-by: Cheng Jiang <cheng1.jiang@intel.com>
Reviewed-by: Jiayu Hu <jiayu.hu@intel.com>
Reviewed-by: Maxime Coquelin <maxime.coquelin@redhat.com>
2021-04-28 03:58:50 +02:00
..
ioat.c examples/vhost: fix ioat ring space in callbacks 2021-04-28 03:58:50 +02:00
ioat.h examples/vhost: remove async inflight packet counter 2021-02-04 18:19:36 +01:00
main.c examples: add eal cleanup to examples 2021-04-21 20:21:25 +02:00
main.h examples/vhost: remove async inflight packet counter 2021-02-04 18:19:36 +01:00
Makefile examples: warn about broken pkg-config 2021-01-30 01:27:28 +01:00
meson.build examples: reduce indentation in build files 2021-04-21 14:04:09 +02:00
virtio_net.c examples/vhost: check memory table query 2021-03-31 08:46:32 +02:00