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 6D3BB2C74 for ; Tue, 14 Mar 2017 11:43:37 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=intel.com; i=@intel.com; q=dns/txt; s=intel; t=1489488217; x=1521024217; h=subject:to:references:cc:from:message-id:date: mime-version:in-reply-to:content-transfer-encoding; bh=5Jer4wYFZKJBiBbg6ETCbQQXT8CiQpwNU4rMq4HpzZE=; b=a/Mp5uivSZJVYf5GCltKrcIMmnGEAOV+F3h1vCq4J9OLVXu5MQxlda/r ypuk7lpytdPBWwwaAgHdUQaiWgSeoQ==; Received: from fmsmga005.fm.intel.com ([10.253.24.32]) by fmsmga101.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 14 Mar 2017 03:43:36 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.36,163,1486454400"; d="scan'208";a="75896546" Received: from dhunt5-mobl.ger.corp.intel.com (HELO [10.237.221.69]) ([10.237.221.69]) by fmsmga005.fm.intel.com with ESMTP; 14 Mar 2017 03:43:34 -0700 To: Bruce Richardson 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> Cc: dev@dpdk.org From: "Hunt, David" Message-ID: <40d16b37-3d7f-1b62-a78d-5787e459a296@intel.com> Date: Tue, 14 Mar 2017 10:43:33 +0000 User-Agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.8.0 MIME-Version: 1.0 In-Reply-To: <20170310160354.GA339712@bricha3-MOBL3.ger.corp.intel.com> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit 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: Tue, 14 Mar 2017 10:43:37 -0000 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.