Hi, I am encountering the following error while running AES-GMC sample.
Does anyone know how to solve this?
ubuntu@localhost:~/build$ ./doca_aes_gcm_encrypt -f test
[00:02:23:562613][5536][DOCA][INF][aes_gcm_encrypt_main.c:62][main] Starting the sample
[00:02:23:767744][5536][DOCA][INF][aes_gcm_common.c:403][aes_gcm_state_changed_callback] AES-GCM context is running
[00:02:23:769722][5536][DOCA][ERR][linux_devx_adapter.cpp:155][create_devx_object] Failed to create devx object with syndrome = 0xe1656c
[00:02:23:769889][5536][DOCA][ERR][doca_dev.cpp:1916][priv_doca_dev_devx_object_create] Failed to create devx object: failed to allocate devx object wrapper with exception:
[00:02:23:769920][5536][DOCA][ERR][doca_dev.cpp:1916][priv_doca_dev_devx_object_create] DOCA exception [DOCA_ERROR_DRIVER] with message Failed to create devx object
[00:02:23:769942][5536][DOCA][ERR][doca_aes_gcm.cpp:253][doca_aes_gcm_key_create] AES-GCM 0xaaaac2ec7a60: Failed to create AES-GCM key: failed to create devx key object
[00:02:23:769955][5536][DOCA][ERR][aes_gcm_encrypt_sample.c:152][aes_gcm_encrypt] Unable to create DOCA AES-GCM key: Operation not supported
[00:02:23:872361][5536][DOCA][INF][aes_gcm_common.c:392][aes_gcm_state_changed_callback] AES-GCM context has been stopped
[00:02:23:873867][5536][DOCA][ERR][aes_gcm_encrypt_main.c:91][main] aes_gcm_encrypt() encountered an error: Operation not supported
[00:02:23:873898][5536][DOCA][INF][aes_gcm_encrypt_main.c:106][main] Sample finished with errors
Hi, my BF-3 supports encryption. I’ve installed all the latest FW 32.39.2048 and DOCA 2.5.
My colleagues are experiencing the same issue with their BF3. Do you know what can cause the above errors with the sample?
Once MST is started (mst start), please run:
mlxconfig -d <mst device> q | grep CRYPTO
So for BlueField-3 it should be:
mlxconfig -d /dev/mst/mt41692_pciconf0 q | grep CRYPTO
Please run the above command and paste the output here.