Re: [dpdk-dev] [PATCH 3/3] crypto/qat: verify session IOVA

2020-06-24 Thread Trahe, Fiona
> -Original Message- > From: Dybkowski, AdamX > Sent: Monday, June 8, 2020 2:15 PM > To: dev@dpdk.org; Trahe, Fiona ; akhil.go...@nxp.com > Cc: Dybkowski, AdamX > Subject: [PATCH 3/3] crypto/qat: verify session IOVA > > This patch adds the verification of the crypto session IOVA > tha

[dpdk-dev] [PATCH 3/3] crypto/qat: verify session IOVA

2020-06-08 Thread Adam Dybkowski
This patch adds the verification of the crypto session IOVA that should be known (not zero) to proceed with the session initialisation. In case of unknown IOVA the error code -EINVAL is returned. Signed-off-by: Adam Dybkowski --- drivers/crypto/qat/qat_sym_session.c | 10 +- 1 file chang