Hi Deepak, On 05/25/2016 07:51 PM, Jain, Deepak K wrote: > Hi, > > While running the QAT PMD tests, a system hang is observed when this commit > is used. > > rte_mempool_virt2phy is used in qat_crypto.c.
>From what I see in the code, the second argument of the function rte_mempool_virt2phy(mp, elt) is not a pointer to a element of the mempool. This should be the case according to the API (even before my patchset): * @param elt * A pointer (virtual address) to the element of the pool. Could you try to replace: s->cd_paddr = rte_mempool_virt2phy(mp, &s->cd) By something like: s->cd_paddr = rte_mempool_virt2phy(mp, s) + offsetof(struct qat_session, cd) Regards, Olivier