+137
−8
Loading
Now we fetch list of devices which support crypto offload (taking into account user's prereference). The module will be updated with support of other accel opcodes, so we need to be more flexible in devices selection logic. This patch does the following: 1. Iterate all mlx5 devices (with user's config) 2. Report crypto support if all devices support this offload. 3. If no devices configured by the user, select only one which supports crypto, fail module init if no devs were found Test script was updated to use auto selection Signed-off-by:Alexey Marchuk <alexeymar@nvidia.com> Change-Id: I2f79fef5a281f2ecd159045006eac98ff39a0744 Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/23108 Community-CI: Mellanox Build Bot Reviewed-by:
Shuhei Matsumoto <smatsumoto@nvidia.com> Reviewed-by:
Ben Walker <ben@nvidia.com> Tested-by:
SPDK CI Jenkins <sys_sgci@intel.com>