From: Bruce Richardson Subject: Re: [PATCH v9 04/18] lib: add new distributor code Date: Fri, 10 Mar 2017 16:03:54 +0000 Message-ID: <20170310160354.GA339712@bricha3-MOBL3.ger.corp.intel.com> References: <1488354455-142764-2-git-send-email-david.hunt@intel.com> <1488791433-186137-1-git-send-email-david.hunt@intel.com> <1488791433-186137-5-git-send-email-david.hunt@intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: dev@dpdk.org To: David Hunt Return-path: Received: from mga06.intel.com (mga06.intel.com [134.134.136.31]) by dpdk.org (Postfix) with ESMTP id 8C3EA37A6 for ; Fri, 10 Mar 2017 17:04:03 +0100 (CET) Content-Disposition: inline In-Reply-To: <1488791433-186137-5-git-send-email-david.hunt@intel.com> List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" On Mon, Mar 06, 2017 at 09:10:19AM +0000, David Hunt wrote: > This patch includes public header file which will be used once > we add in the symbol versioning for v20 and v1705 APIs. > > Also includes v1702 header file, and code for new Now 1705. > burst-capable distributor library. This will be re-named as > rte_distributor.h later in the patch-set > > The new distributor code contains a very similar API to the legacy code, > but now sends bursts of up to 8 mbufs to each worker. Flow ID's are > reduced to 15 bits for an optimal flow matching algorithm. > > Signed-off-by: David Hunt > --- > lib/librte_distributor/Makefile | 1 + > lib/librte_distributor/rte_distributor.c | 628 +++++++++++++++++++++++ > lib/librte_distributor/rte_distributor_private.h | 7 +- > lib/librte_distributor/rte_distributor_v1705.h | 269 ++++++++++ > 4 files changed, 904 insertions(+), 1 deletion(-) > create mode 100644 lib/librte_distributor/rte_distributor.c > create mode 100644 lib/librte_distributor/rte_distributor_v1705.h > Minor nit, I think this patch might be squashed into the previous one, to have new structures and code together. /Bruce