[dpdk-dev] Regarding dpdk_qat example
Prashant Upadhyaya
praupadhyaya at gmail.com
Wed Mar 4 06:23:42 CET 2015
Hi,
In the dpdk_qat example, the function alloc_memzone_region does the
allocation for the memory of a crypto session context. Now in a real
application, the sessions will be torn down as well. So if a similar
strategy is followed as that of alloc_memzone_region, then how can the
memory be returned to memzone. I see the comment over the
alloc_memzone_region function which indicates that the allocation is meant
to exist for a lifetime and there is no possibility to free. Or should a
real application follow a different strategy for allocating memory to
sessions, would like to know the advice of QAT users.
Regards
-Prashant
More information about the dev
mailing list