From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga01.intel.com (mga01.intel.com [192.55.52.88]) by dpdk.org (Postfix) with ESMTP id 94ED9678C for ; Thu, 29 May 2014 12:12:15 +0200 (CEST) Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by fmsmga101.fm.intel.com with ESMTP; 29 May 2014 03:12:26 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="4.98,933,1392192000"; d="scan'208";a="539436791" Received: from irvmail001.ir.intel.com ([163.33.26.43]) by fmsmga001.fm.intel.com with ESMTP; 29 May 2014 03:12:25 -0700 Received: from sivswdev02.ir.intel.com (sivswdev02.ir.intel.com [10.237.217.46]) by irvmail001.ir.intel.com (8.14.3/8.13.6/MailSET/Hub) with ESMTP id s4TACOUJ006032; Thu, 29 May 2014 11:12:25 +0100 Received: from sivswdev02.ir.intel.com (localhost [127.0.0.1]) by sivswdev02.ir.intel.com with ESMTP id s4TACOJN025060; Thu, 29 May 2014 11:12:24 +0100 Received: (from bricha3@localhost) by sivswdev02.ir.intel.com with id s4TACOKv025056; Thu, 29 May 2014 11:12:24 +0100 From: Bruce Richardson To: dev@dpdk.org Date: Thu, 29 May 2014 11:12:13 +0100 Message-Id: <1401358338-23455-1-git-send-email-bruce.richardson@intel.com> X-Mailer: git-send-email 1.7.0.7 In-Reply-To: <1400580057-30155-1-git-send-email-bruce.richardson@intel.com> References: <1400580057-30155-1-git-send-email-bruce.richardson@intel.com> Subject: [dpdk-dev] [PATCH v2 0/5] New library: rte_distributor X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 29 May 2014 10:12:16 -0000 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