* [dpdk-dev] Regarding dpdk_qat example
@ 2015-03-04 5:23 Prashant Upadhyaya
0 siblings, 0 replies; only message in thread
From: Prashant Upadhyaya @ 2015-03-04 5:23 UTC (permalink / raw)
To: dev
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
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2015-03-04 5:23 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-03-04 5:23 [dpdk-dev] Regarding dpdk_qat example Prashant Upadhyaya
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).