From: Prashant Upadhyaya <praupadhyaya@gmail.com>
To: dev@dpdk.org
Subject: [dpdk-dev] Regarding dpdk_qat example
Date: Wed, 4 Mar 2015 10:53:42 +0530 [thread overview]
Message-ID: <CAPBAu3X0ybLZGWdxQUENwk8XTxqhLsBkRSdfz5S9+pUbN7w7wA@mail.gmail.com> (raw)
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
reply other threads:[~2015-03-04 5:23 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=CAPBAu3X0ybLZGWdxQUENwk8XTxqhLsBkRSdfz5S9+pUbN7w7wA@mail.gmail.com \
--to=praupadhyaya@gmail.com \
--cc=dev@dpdk.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).