From: Qinglai Xiao <jigsaw@gmail.com>
To: dev@dpdk.org
Cc: Qinglai Xiao <jigsaw@gmail.com>
Subject: [dpdk-dev] [PATCH v2 0/2] Add in_flight_bitmask so as to use full 32 bits of tag
Date: Mon, 10 Nov 2014 14:52:45 +0200 [thread overview]
Message-ID: <1415623967-52488-1-git-send-email-jigsaw@gmail.com> (raw)
The patch series extends the tags used by librte_distributor from 31 bits to 32
bits. Besides, it fixes the integer overflow in the algorithm of finding matched
tags.
The newly introduced union field rte_mbuf.hash.usr stands as the flow identifier.
User application is advocated to set this field for each mbuf before calling
the distributor process rte_distributor_process.
Qinglai Xiao (2):
Add new union field usr in mbuf->hash.
Add in_flight_bitmask so as to use full 32 bits of tag.
app/test/test_distributor.c | 18 ++++++------
app/test/test_distributor_perf.c | 4 +-
lib/librte_distributor/rte_distributor.c | 45 ++++++++++++++++++++++--------
lib/librte_distributor/rte_distributor.h | 4 ++
lib/librte_mbuf/rte_mbuf.h | 1 +
5 files changed, 49 insertions(+), 23 deletions(-)
next reply other threads:[~2014-11-10 12:43 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-11-10 12:52 Qinglai Xiao [this message]
2014-11-10 12:52 ` [dpdk-dev] [PATCH v2 1/2] Add new union field usr in mbuf->hash Qinglai Xiao
2014-11-10 13:06 ` Bruce Richardson
2014-11-13 11:26 ` Thomas Monjalon
2014-11-10 12:52 ` [dpdk-dev] [PATCH v2 2/2] Add in_flight_bitmask so as to use full 32 bits of tag Qinglai Xiao
2014-11-10 14:10 ` 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=1415623967-52488-1-git-send-email-jigsaw@gmail.com \
--to=jigsaw@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).