From mboxrd@z Thu Jan 1 00:00:00 1970 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) Received: from orsmga005.jf.intel.com ([10.7.209.41]) by orsmga104.jf.intel.com with ESMTP; 10 Mar 2017 08:03:59 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.36,141,1486454400"; d="scan'208";a="73973391" Received: from bricha3-mobl3.ger.corp.intel.com ([10.237.221.61]) by orsmga005.jf.intel.com with SMTP; 10 Mar 2017 08:03:57 -0800 Received: by (sSMTP sendmail emulation); Fri, 10 Mar 2017 16:03:56 +0000 Date: Fri, 10 Mar 2017 16:03:54 +0000 From: Bruce Richardson To: David Hunt Cc: dev@dpdk.org 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 Content-Disposition: inline In-Reply-To: <1488791433-186137-5-git-send-email-david.hunt@intel.com> Organization: Intel Research and =?iso-8859-1?Q?De=ACvel?= =?iso-8859-1?Q?opment?= Ireland Ltd. User-Agent: Mutt/1.8.0 (2017-02-23) Subject: Re: [dpdk-dev] [PATCH v9 04/18] lib: add new distributor code X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 10 Mar 2017 16:04:03 -0000 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