[dpdk-users] [crypto-QAT] how does qat sym pmd setup session

Meng Wang meng.w.wang at oracle.com
Thu May 23 20:49:39 CEST 2019


Hi,

I find it a bit confusing that in qat_sym_pmd.c, session_pool was not 
set when sym qp was setup, as shown below.

static int qat_sym_qp_setup(struct rte_cryptodev *dev, uint16_t qp_id,
     const struct rte_cryptodev_qp_conf *qp_conf,
     int socket_id, struct rte_mempool *session_pool __rte_unused)

However, later on when qat sym builds request it explicitly looks for 
session info in qat_sym_build_request(), which ends up with failure.

Did I miss something during device and qp setup? How does qat sym setup 
session info for qp?

Thanks,
Meng


More information about the users mailing list