From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Hunt, David" Subject: Re: [PATCH v9 04/18] lib: add new distributor code Date: Tue, 14 Mar 2017 10:43:33 +0000 Message-ID: <40d16b37-3d7f-1b62-a78d-5787e459a296@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> <20170310160354.GA339712@bricha3-MOBL3.ger.corp.intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit Cc: dev@dpdk.org To: Bruce Richardson Return-path: Received: from mga01.intel.com (mga01.intel.com [192.55.52.88]) by dpdk.org (Postfix) with ESMTP id 6D3BB2C74 for ; Tue, 14 Mar 2017 11:43:37 +0100 (CET) In-Reply-To: <20170310160354.GA339712@bricha3-MOBL3.ger.corp.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 10/3/2017 4:03 PM, Bruce Richardson wrote: > 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 Done in the next version. Dave.