[PATCH blktests] nvme: add dh module requirement for tests that involve dh groups

Sagi Grimberg sagi at grimberg.me
Tue Aug 30 00:05:08 PDT 2022


> Hi Sagi,
> 
> On Aug 29, 2022 / 11:36, Sagi Grimberg wrote:
>> Signed-off-by: Sagi Grimberg <sagi at grimberg.me>
>> ---
>>   tests/nvme/043 | 1 +
>>   tests/nvme/044 | 1 +
>>   tests/nvme/045 | 1 +
>>   3 files changed, 3 insertions(+)
>>
>> diff --git a/tests/nvme/043 b/tests/nvme/043
>> index 381ae755f140..87273e5b414d 100755
>> --- a/tests/nvme/043
>> +++ b/tests/nvme/043
>> @@ -16,6 +16,7 @@ requires() {
>>   	_have_kernel_option NVME_TARGET_AUTH
>>   	_require_nvme_trtype_is_fabrics
>>   	_require_nvme_cli_auth
>> +	_have_driver dh_generic
>>   }
> 
> Do you see failure without this check?

Yes, if dh_generic is built as a module (CONFIG_CRYPTO_DH=m).



More information about the Linux-nvme mailing list