[dpdk-dev] Getting corrupted ESP packet
Trahe, Fiona
fiona.trahe at intel.com
Tue Oct 4 20:15:01 CEST 2016
Hi Pankaj,
I can't think of any way the QAT PMD could return a larger packet than it's been sent, can you provide some more details of your use-case please, e.g. which cipher algorithm, which auth algorithm are you using?
Are you using out-of-place or in-place? i.e. are the m_src and m_dst mbuf pointers in the rte_crypto_sym_op the same or different?
Can you try doing the same operation using the AESNI_MB PMD?
Regards,
Fiona
> -----Original Message-----
> From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Pankaj Joshi
> Sent: Tuesday, October 4, 2016 5:04 PM
> To: qat-linux <qat-linux at intel.com>; dev at dpdk.org
> Subject: [dpdk-dev] Getting corrupted ESP packet
>
> Hello All,
>
> I am using QAT library for data encryption ( for coletocreek card).
> I am sending 98 byte ICMP data to the hardware, at successful time it is
> returning 166 byte of data as ESP packet.
> But sometimes it is returning through callback function 180 byte of data ,
> which is corrupted one .
> Can anyone tell, how I can resolve this issue and why it is happening when
> I am sending same data to the hardware.
>
> Regards,
> Pankaj Joshi
More information about the dev
mailing list