Spdk/examples
paul luse 2dd64cf962 examples/accel_perf: fail correctly when we can't get a channel
By design there is a limit to how many channels the idxd driver
can suport based on how many DSA instances are available.  When we
reach the limit we won't be able to get a channel.  This fixes that
error path to fail gracefully instead of seg faulting.

Signed-off-by: paul luse <paul.e.luse@intel.com>
Change-Id: I226f59913cb830eae0707623ae251ba19bce9aaf
Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/12218
Community-CI: Broadcom CI <spdk-ci.pdl@broadcom.com>
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
Reviewed-by: Aleksey Marchuk <alexeymar@nvidia.com>
Reviewed-by: Jim Harris <james.r.harris@intel.com>
2022-05-23 16:45:13 +00:00
..
accel examples/accel_perf: fail correctly when we can't get a channel 2022-05-23 16:45:13 +00:00
bdev fio/bdev_plugin: Added env_context to fio config 2022-03-24 09:21:35 +00:00
blob blobcli: Use spdk_for_each_bdev() for bdev list traversal 2022-04-05 11:48:31 +00:00
idxd lib/idxd: prepare some plumbing for adding IAA 2022-05-23 07:02:21 +00:00
interrupt_tgt event/vhost: separate vhost subsystem to scsi and blk 2022-05-20 09:20:07 +00:00
ioat examples/ioat: add missed spdk_env_fini() call when exiting 2022-01-10 18:36:14 +00:00
nvme nvme/perf: fix memory leak of zipf 2022-05-12 07:26:43 +00:00
nvmf event: Add a user option to change the size of spdk_msg_mempool 2022-03-09 08:00:28 +00:00
sock hello_sock: Add cli params to enable/disable zcopy 2022-05-04 08:03:39 +00:00
util Util: check the error case of NULL pointer 2021-06-08 08:26:12 +00:00
vmd examples/vmd: add missed spdk_env_fini() call when exiting 2022-01-10 18:36:14 +00:00
Makefile examples/idxd: Add the perf tool for idxd 2021-09-22 06:54:48 +00:00