From: Mohammad El-Shabani <mohammad.elshabani@gmail.com>
To: dev@dpdk.org
Subject: [dpdk-dev] librte_pmd_ixgbe implementation of ixgbe_dev_rx_queue_count
Date: Mon, 28 Mar 2016 18:45:26 -0700 [thread overview]
Message-ID: <CAF_W8bccw4YAXNEVFwdTfWoFW_ZdrspTNVdtynigtAQLa4zsDQ@mail.gmail.com> (raw)
Hi,
Looking into why it hurts performance, I see that ixgbe_dev_rx_queue_count
is implemented a scan of elements of rx descriptors, which is very
expensive. I am wondering why its implemented the way it is. Could it not
just read the head location from the driver?
Thanks!
Mohammad El-Shabani
next reply other threads:[~2016-03-29 1:45 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-03-29 1:45 Mohammad El-Shabani [this message]
2016-03-29 2:22 ` Lu, Wenzhuo
2016-03-29 9:31 ` Bruce Richardson
2016-03-29 16:54 ` Stephen Hemminger
2016-03-30 14:23 ` Bruce Richardson
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=CAF_W8bccw4YAXNEVFwdTfWoFW_ZdrspTNVdtynigtAQLa4zsDQ@mail.gmail.com \
--to=mohammad.elshabani@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).