From: Yaron Illouz <yaroni@radcom.com>
To: "dev@dpdk.org" <dev@dpdk.org>
Subject: [dpdk-dev] Is mbuf detached from pool?
Date: Mon, 29 Jul 2019 11:41:36 +0000 [thread overview]
Message-ID: <DB7PR09MB2378E1167AFB222076407BB3A1DD0@DB7PR09MB2378.eurprd09.prod.outlook.com> (raw)
Hi
I had a check in code for mbuf double release
I used to check if the reference count <= 0
Since the following change i can't check anymore this way since the reference count is 1 even after it is release to the pool http://mails.dpdk.org/archives/dev/2017-January/056188.html
I there a way to check if the mbuf is detached(in the pool or out of the pool) instead of looking at ref count?
reply other threads:[~2019-07-29 11:41 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=DB7PR09MB2378E1167AFB222076407BB3A1DD0@DB7PR09MB2378.eurprd09.prod.outlook.com \
--to=yaroni@radcom.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).