DPDK patches and discussions
 help / color / mirror / Atom feed
* [dpdk-dev] [PATCH v2 0/2] Add in_flight_bitmask so as to use full 32 bits of tag
@ 2014-11-10 12:52 Qinglai Xiao
  2014-11-10 12:52 ` [dpdk-dev] [PATCH v2 1/2] Add new union field usr in mbuf->hash Qinglai Xiao
  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
  0 siblings, 2 replies; 6+ messages in thread
From: Qinglai Xiao @ 2014-11-10 12:52 UTC (permalink / raw)
  To: dev; +Cc: Qinglai Xiao

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(-)

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2014-11-13 11:16 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-11-10 12:52 [dpdk-dev] [PATCH v2 0/2] Add in_flight_bitmask so as to use full 32 bits of tag Qinglai Xiao
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

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).