From: Peter Chen <peter.feifan.chen@gmail.com>
To: dev@dpdk.org
Subject: [dpdk-dev] Transmit and Receive Queue: Prefetch, Host, Writeback
Date: Tue, 2 Jul 2013 23:02:38 -0700 [thread overview]
Message-ID: <CAMGYKAcSiBMrG0ipSiurzVR27FmNBde9uuxBdT-Nzdd5kQsc7g@mail.gmail.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 1068 bytes --]
I looked at the description for transmit and receive queue configurations
in the Programmar's Guide, but was confused by how the configuration
worked. I am assuming that one descriptor in the queue refers to one
pktmbuf?
I am not sure what prefetch, host and writeback of queue descriptors mean
for the receive and transmission queues. Can anyone explain to me what they
mean?
Also tx_free_threshold is described as the number of descriptors used to
transmit packets before they are freed and written back to the host memory,
so in that sense what does rx_free_threshold stand for? Does that mean the
NIC has to receive x number of descriptors to receive packets before moving
them up to user space?
Another point of confusion is this sentence about tx_rs_threshold: "The RS
bit is
set on the last descriptor used to transmit a packet if the number of
descriptors
used since the last RS bit setting, up to the first descriptor used to
transmit the
packet, exceeds the transmit RS bit threshold (tx_rs_thresh)"..
If anyone know what these means, it would be great!
[-- Attachment #2: Type: text/html, Size: 1199 bytes --]
reply other threads:[~2013-07-03 6:02 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=CAMGYKAcSiBMrG0ipSiurzVR27FmNBde9uuxBdT-Nzdd5kQsc7g@mail.gmail.com \
--to=peter.feifan.chen@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).