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> |
||
---|---|---|
.. | ||
.gitignore | ||
accel_perf.c | ||
Makefile |