numam-dpdk/examples
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
..
bbdev_app examples: add eal cleanup to examples 2021-04-21 20:21:25 +02:00
bond examples: add eal cleanup to examples 2021-04-21 20:21:25 +02:00
bpf examples: remove old build system references 2020-09-07 23:51:57 +02:00
cmdline examples: add eal cleanup to examples 2021-04-21 20:21:25 +02:00
distributor examples: add eal cleanup to examples 2021-04-21 20:21:25 +02:00
ethtool examples/ethtool: remove unused parsing 2021-04-21 20:28:54 +02:00
eventdev_pipeline examples: reduce indentation in build files 2021-04-21 14:04:09 +02:00
fips_validation examples: add eal cleanup to examples 2021-04-21 20:21:25 +02:00
flow_classify examples: add eal cleanup to examples 2021-04-21 20:21:25 +02:00
flow_filtering examples: add eal cleanup to examples 2021-04-21 20:21:25 +02:00
helloworld examples: add eal cleanup to examples 2021-04-21 20:21:25 +02:00
ioat raw/ioat: report status of completed jobs 2021-05-04 17:43:50 +02:00
ip_fragmentation examples: add eal cleanup to examples 2021-04-21 20:21:25 +02:00
ip_pipeline examples: reduce indentation in build files 2021-04-21 14:04:09 +02:00
ip_reassembly examples: add eal cleanup to examples 2021-04-21 20:21:25 +02:00
ipsec-secgw examples: add eal cleanup to examples 2021-04-21 20:21:25 +02:00
ipv4_multicast examples: add eal cleanup to examples 2021-04-21 20:21:25 +02:00
kni examples: add eal cleanup to examples 2021-04-21 20:21:25 +02:00
l2fwd examples: add eal cleanup to examples 2021-04-21 20:21:25 +02:00
l2fwd-cat examples: add eal cleanup to examples 2021-04-21 20:21:25 +02:00
l2fwd-crypto examples: add eal cleanup to examples 2021-04-21 20:21:25 +02:00
l2fwd-event examples: add eal cleanup to examples 2021-04-21 20:21:25 +02:00
l2fwd-jobstats examples: add eal cleanup to examples 2021-04-21 20:21:25 +02:00
l2fwd-keepalive examples: add eal cleanup to examples 2021-04-21 20:21:25 +02:00
l3fwd build: fix formatting of Meson lists 2021-05-04 15:01:47 +02:00
l3fwd-acl examples: add eal cleanup to examples 2021-04-21 20:21:25 +02:00
l3fwd-graph examples: add eal cleanup to examples 2021-04-21 20:21:25 +02:00
l3fwd-power examples: reduce indentation in build files 2021-04-21 14:04:09 +02:00
link_status_interrupt examples: add eal cleanup to examples 2021-04-21 20:21:25 +02:00
multi_process build: fix formatting of Meson lists 2021-05-04 15:01:47 +02:00
ntb examples: add eal cleanup to examples 2021-04-21 20:21:25 +02:00
packet_ordering examples: add eal cleanup to examples 2021-04-21 20:21:25 +02:00
performance-thread examples: add eal cleanup to examples 2021-04-21 20:21:25 +02:00
pipeline examples: add eal cleanup to examples 2021-04-21 20:21:25 +02:00
ptpclient examples: add eal cleanup to examples 2021-04-21 20:21:25 +02:00
qos_meter examples: add eal cleanup to examples 2021-04-21 20:21:25 +02:00
qos_sched examples: add eal cleanup to examples 2021-04-21 20:21:25 +02:00
rxtx_callbacks examples: add eal cleanup to examples 2021-04-21 20:21:25 +02:00
server_node_efd examples: add eal cleanup to examples 2021-04-21 20:21:25 +02:00
service_cores examples: add eal cleanup to examples 2021-04-21 20:21:25 +02:00
skeleton examples: add eal cleanup to examples 2021-04-21 20:21:25 +02:00
timer examples: add eal cleanup to examples 2021-04-21 20:21:25 +02:00
vdpa examples: add eal cleanup to examples 2021-04-21 20:21:25 +02:00
vhost examples/vhost: fix ioat ring space in callbacks 2021-04-28 03:58:50 +02:00
vhost_blk examples: add eal cleanup to examples 2021-04-21 20:21:25 +02:00
vhost_crypto examples: add eal cleanup to examples 2021-04-21 20:21:25 +02:00
vm_power_manager examples: add eal cleanup to examples 2021-04-21 20:21:25 +02:00
vmdq examples: add eal cleanup to examples 2021-04-21 20:21:25 +02:00
vmdq_dcb examples: add eal cleanup to examples 2021-04-21 20:21:25 +02:00
meson.build examples: reduce indentation in build files 2021-04-21 14:04:09 +02:00