dev.dpdk.org archive mirror
 help / color / mirror / Atom feed
From: Bruce Richardson <bruce.richardson-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>
To: dev-VfR2kkLFssw@public.gmane.org
Subject: [PATCH v2 0/5] New library: rte_distributor
Date: Thu, 29 May 2014 11:12:13 +0100	[thread overview]
Message-ID: <1401358338-23455-1-git-send-email-bruce.richardson@intel.com> (raw)
In-Reply-To: <1400580057-30155-1-git-send-email-bruce.richardson-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>

This adds a new library to the Intel DPDK whereby a set of packets can be distributed one-at-a-time to a set of worker cores, with dynamic load balancing being done between those workers. Flows are identified by a tag within the mbuf (currently the RSS hash field, 32-bit value), which is used to ensure that no two packets of the same flow are processed in parallel, thereby preserving ordering.

Major changes in V2 set:
* Updates to take account of Neil's comments on original patch set
* Updates to fix issues highlighted by checkpatch.pl
* Additional handling in library for special case when process() is called with zero mbufs

Bruce Richardson (5):
  eal: add tailq for new distributor component
  distributor: new packet distributor library
  distributor: add distributor library to build
  distributor: add unit tests for distributor lib
  docs: add distributor lib to API docs

 app/test/Makefile                              |   2 +
 app/test/commands.c                            |   7 +-
 app/test/test.h                                |   2 +
 app/test/test_distributor.c                    | 595 +++++++++++++++++++++++++
 app/test/test_distributor_perf.c               | 275 ++++++++++++
 config/common_bsdapp                           |   6 +
 config/common_linuxapp                         |   5 +
 doc/doxy-api-index.md                          |   1 +
 doc/doxy-api.conf                              |   1 +
 lib/Makefile                                   |   1 +
 lib/librte_distributor/Makefile                |  50 +++
 lib/librte_distributor/rte_distributor.c       | 487 ++++++++++++++++++++
 lib/librte_distributor/rte_distributor.h       | 186 ++++++++
 lib/librte_eal/common/include/rte_tailq_elem.h |   2 +
 mk/rte.app.mk                                  |   4 +
 15 files changed, 1623 insertions(+), 1 deletion(-)
 create mode 100644 app/test/test_distributor.c
 create mode 100644 app/test/test_distributor_perf.c
 create mode 100644 lib/librte_distributor/Makefile
 create mode 100644 lib/librte_distributor/rte_distributor.c
 create mode 100644 lib/librte_distributor/rte_distributor.h

-- 
1.9.3

  parent reply	other threads:[~2014-05-29 10:12 UTC|newest]

Thread overview: 29+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-05-20 10:00 [PATCH 0/4] New library: rte_distributor Bruce Richardson
     [not found] ` <1400580057-30155-1-git-send-email-bruce.richardson-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>
2014-05-20 10:00   ` [PATCH 1/4] eal: add tailq for new distributor component Bruce Richardson
2014-05-20 10:00   ` [PATCH 2/4] distributor: new packet distributor library Bruce Richardson
     [not found]     ` <1400580057-30155-3-git-send-email-bruce.richardson-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>
2014-05-20 18:18       ` Neil Horman
     [not found]         ` <20140520181844.GF6648-B26myB8xz7F8NnZeBjwnZQMhkBWG/bsMQH7oEaQurus@public.gmane.org>
2014-05-21 10:21           ` Richardson, Bruce
     [not found]             ` <59AF69C657FD0841A61C55336867B5B01AA1C540-kPTMFJFq+rELt2AQoY/u9bfspsVTdybXVpNB7YpNyf8@public.gmane.org>
2014-05-21 15:23               ` Neil Horman
2014-05-20 10:00   ` [PATCH 3/4] distributor: add distributor library to build Bruce Richardson
2014-05-20 10:00   ` [PATCH 4/4] distributor: add unit tests for distributor lib Bruce Richardson
2014-05-20 10:38   ` [PATCH 0/4] New library: rte_distributor Neil Horman
     [not found]     ` <20140520103845.GA6648-B26myB8xz7F8NnZeBjwnZQMhkBWG/bsMQH7oEaQurus@public.gmane.org>
2014-05-20 11:02       ` Richardson, Bruce
     [not found]         ` <59AF69C657FD0841A61C55336867B5B01AA1BCF2-kPTMFJFq+rELt2AQoY/u9bfspsVTdybXVpNB7YpNyf8@public.gmane.org>
2014-05-20 17:14           ` Neil Horman
     [not found]             ` <20140520171422.GE6648-B26myB8xz7F8NnZeBjwnZQMhkBWG/bsMQH7oEaQurus@public.gmane.org>
2014-05-20 19:32               ` Richardson, Bruce
2014-05-27 22:32   ` Thomas Monjalon
2014-05-28  8:48     ` Richardson, Bruce
2014-05-29 10:12   ` Bruce Richardson [this message]
     [not found]     ` <1401358338-23455-1-git-send-email-bruce.richardson-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>
2014-06-05  1:58       ` [PATCH v2 0/5] " Cao, Waterman
2014-06-12 13:57       ` Thomas Monjalon
2014-05-29 10:12   ` [PATCH v2 1/5] eal: add tailq for new distributor component Bruce Richardson
2014-05-29 10:12   ` [PATCH v2 2/5] distributor: new packet distributor library Bruce Richardson
     [not found]     ` <1401358338-23455-3-git-send-email-bruce.richardson-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>
2014-05-29 13:48       ` Neil Horman
     [not found]         ` <20140529134823.GD25784-B26myB8xz7F8NnZeBjwnZQMhkBWG/bsMQH7oEaQurus@public.gmane.org>
2014-06-02 21:40           ` Richardson, Bruce
     [not found]             ` <59AF69C657FD0841A61C55336867B5B01AA31639-kPTMFJFq+rELt2AQoY/u9bfspsVTdybXVpNB7YpNyf8@public.gmane.org>
2014-06-03 11:01               ` Neil Horman
     [not found]                 ` <20140603110125.GA20038-B26myB8xz7F8NnZeBjwnZQMhkBWG/bsMQH7oEaQurus@public.gmane.org>
2014-06-03 14:33                   ` Richardson, Bruce
     [not found]                     ` <59AF69C657FD0841A61C55336867B5B01AA318D9-kPTMFJFq+rELt2AQoY/u9bfspsVTdybXVpNB7YpNyf8@public.gmane.org>
2014-06-03 14:51                       ` Neil Horman
2014-06-03 18:04       ` [PATCH v3 " Bruce Richardson
     [not found]         ` <1401818652-11466-1-git-send-email-bruce.richardson-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>
2014-06-03 18:38           ` Neil Horman
2014-05-29 10:12   ` [PATCH v2 3/5] distributor: add distributor library to build Bruce Richardson
2014-05-29 10:12   ` [PATCH v2 4/5] distributor: add unit tests for distributor lib Bruce Richardson
2014-05-29 10:12   ` [PATCH v2 5/5] docs: add distributor lib to API docs 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=1401358338-23455-1-git-send-email-bruce.richardson@intel.com \
    --to=bruce.richardson-ral2jqcrhueavxtiumwx3w@public.gmane.org \
    --cc=dev-VfR2kkLFssw@public.gmane.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).