Skip to content

Intel(R) Xeon(R) D-2166NT CPU @ 2.00GHz QAT Drivers #295

@jimthedj65

Description

@jimthedj65

Hi all,

I am trying to upgrade QAT drivers QAT.L.4.20.0-00001.tar.gz to latest QAT.L.4.24.0-00005.tar.gz and I get the following errors during make

In file included from /home/pxcghost/QAT/quickassist/qat/drivers/crypto/qat/qat_common/adf_ctl_drv.c:15:
./include/crypto/algapi.h:259:20: error: redefinition of ‘crypto_request_complete’
  259 | static inline void crypto_request_complete(struct crypto_async_request *req,
      |                    ^~~~~~~~~~~~~~~~~~~~~~~
In file included from <command-line>:
/home/pxcghost/QAT/quickassist/qat/compat/qat_compat.h:514:20: note: previous definition of ‘crypto_request_complete’ with type ‘void(struct crypto_async_request *, int)’
  514 | static inline void crypto_request_complete(struct crypto_async_request *req,` 

Some input from the driver team would be appreciated, I do have QAT_Engine installed with the driver QAT.L.4.20.0-00001.tar.gz on the D2166NT but I have an error running below

openssl speed -engine qatengine -elapsed -async_jobs 8 rsa2048
Engine "qatengine" set.
You have chosen to measure elapsed time instead of user CPU time.
[error] LacPke_MsgCallback() - : The slice hang error is detected on the MMP slice. 
[error] LacPke_MsgCallback() - : The slice hang error is detected on the MMP slice. 
[error] LacPke_MsgCallback() - : The slice hang error is detected on the MMP slice. 
[error] LacPke_MsgCallback() - : The slice hang error is detected on the MMP slice. 
[error] LacPke_MsgCallback() - : The slice hang error is detected on the MMP slice. 
[error] LacPke_MsgCallback() - : The slice hang error is detected on the MMP slice. 
cpuid -1 | egrep 'VAES|VPCLM|GFNI|AVX512F|AVX512IFMA'
      AVX512F: AVX-512 foundation instructions = true
      AVX512IFMA: fused multiply add           = false
      GFNI: Galois Field New Instructions      = false
      VAES instructions                        = false
      VPCLMULQDQ instruction                   = false

openssl engine -t -c -v qatengine
(qatengine) Reference implementation of QAT crypto engine(qat_hw) v1.5.0
[RSA, AES-128-CBC-HMAC-SHA256, AES-256-CBC-HMAC-SHA256, id-aes128-CCM, id-aes192-CCM, id-aes256-CCM, TLS1-PRF, X25519, X448]
[ available ]
LacDh_StatsFree() - : DH algorithm is not supported

LacDsa_StatsFree() - : DSA algorithm is not supported

 ENABLE_EXTERNAL_POLLING, POLL, SET_INSTANCE_FOR_THREAD, 
 GET_NUM_OP_RETRIES, SET_MAX_RETRY_COUNT, SET_INTERNAL_POLL_INTERVAL, 
 GET_EXTERNAL_POLLING_FD, ENABLE_EVENT_DRIVEN_POLLING_MODE, 
 GET_NUM_CRYPTO_INSTANCES, DISABLE_EVENT_DRIVEN_POLLING_MODE, 
 SET_EPOLL_TIMEOUT, SET_CRYPTO_SMALL_PACKET_OFFLOAD_THRESHOLD, 
 ENABLE_INLINE_POLLING, ENABLE_HEURISTIC_POLLING, 
 GET_NUM_REQUESTS_IN_FLIGHT, INIT_ENGINE, SET_CONFIGURATION_SECTION_NAME, 
 ENABLE_SW_FALLBACK, HEARTBEAT_POLL, DISABLE_QAT_OFFLOAD, HW_ALGO_BITMAP`

sudo lspci | grep -i 'co-processor' b5:00.0 Co-processor: Intel Corporation C62x Chipset QuickAssist Technology (rev 04) b6:00.0 Co-processor: Intel Corporation C62x Chipset QuickAssist Technology (rev 04)

lsmod | grep qat
qat_c62x               20480  0
intel_qat             315392  2 qat_c62x,usdm_drv
qat_contig_mem         16384  0
uio                    20480  11 intel_qat,igb_uio,uio_pci_generic

sudo dmesg | grep iommu
[13322.140880] QDM: iommu_pass_through is set to 0
[13751.125730] QDM: iommu_pass_through is set to 0

I had the same issue with C3958 and resolved by rolling back to QAT.L.4.18.1-00001 and for now is stable pending a stable path to upgrade QAT Driver.

Any guidance as always welcomed and appreciated.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions