From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wm0-f47.google.com (mail-wm0-f47.google.com [74.125.82.47]) by dpdk.org (Postfix) with ESMTP id DC9B7558C for ; Mon, 29 Feb 2016 18:01:18 +0100 (CET) Received: by mail-wm0-f47.google.com with SMTP id p65so54318904wmp.0 for ; Mon, 29 Feb 2016 09:01:18 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=6wind-com.20150623.gappssmtp.com; s=20150623; h=date:from:to:cc:subject:message-id:mail-followup-to:references :mime-version:content-disposition:in-reply-to; bh=XtCjkYi/pDSFU9E5IfB+HVNT3fnH6Oyk/nWrECZaglg=; b=hx70QYxTR0VNN5qUUTMJ+Lbb9NmejD46OfRtN8/IYWnK1k9Nw2PXzUQd6OxA0TdSTu X+ddiCAetC0O0ZCkQBkrWD2bXswhJ5J2u8xQtfwULmcnAH1nBtmo4Bw6qg2z1KMHTPu4 Z8/Pv+ctXoBUoA3TG3sScQRve2qk8tKpVsdxYWGOyALbRlmQI3UisRzUaFBu2xF8x5CJ U0SMgSjL0i9Z71Y5y4nS04v13U+2ta0nyKwjALL4GFamL0RSneSkmC3o0RindnLA4Exz z9fNw6xlTOyypboYr8cpzy+CyMscr6Wfho45FhcygmcsnT/dY1ZPlWwUVqWGPzbqr08k ySvA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:date:from:to:cc:subject:message-id :mail-followup-to:references:mime-version:content-disposition :in-reply-to; bh=XtCjkYi/pDSFU9E5IfB+HVNT3fnH6Oyk/nWrECZaglg=; b=NRgLWiQrbUAWZ69V2U24RoZQd1qijy1EJSJdponXHDCTcYmBBjZAJnEWkn1/Oh5QW1 FpkUsG3l1Oz1JcLvCqSp/Plf0F8R2dtZQfK6DWPQJ63YkPFCqHHjQ67x7IrtCf5UlkMb 6kK7eI/ixk5HX4+a1T8jvRluPPlbooi3Hm7WrhhCx2dHSoFjaS0+9Sri3yHCRoVU9Rfr DaZ6xnCnnljGfQhLU9GGyRMpXuxhVl0sHca+BhUOiORJJbgVmvuFflk8RXGxnsypdFjb e83KlQOZlwq/0pIfL3yeeE3YgO/XHbC/NtqZnUfs73sy/vUvIGdVq/B7yAXkPyJ+g46O vaSw== X-Gm-Message-State: AD7BkJKe0ZAjkbcSvnHlHZqI6BM8rJVJTvs+/RM1183lIZRi89ls8/ejtPNekuJzpXpjxQeP X-Received: by 10.194.91.233 with SMTP id ch9mr15880369wjb.121.1456765278617; Mon, 29 Feb 2016 09:01:18 -0800 (PST) Received: from 6wind.com (guy78-3-82-239-227-177.fbx.proxad.net. [82.239.227.177]) by smtp.gmail.com with ESMTPSA id w17sm17227684wmw.5.2016.02.29.09.01.17 (version=TLSv1/SSLv3 cipher=OTHER); Mon, 29 Feb 2016 09:01:17 -0800 (PST) Date: Mon, 29 Feb 2016 18:01:03 +0100 From: Adrien Mazarguil To: "Ananyev, Konstantin" Message-ID: <20160229170103.GI27079@6wind.com> Mail-Followup-To: "Ananyev, Konstantin" , "Tan, Jianfeng" , "dev@dpdk.org" , "Zhang, Helin" , "nelio.laranjeiro@6wind.com" , "rahul.lakkireddy@chelsio.com" References: <1451544799-70776-1-git-send-email-jianfeng.tan@intel.com> <1456472067-2721-1-git-send-email-jianfeng.tan@intel.com> <2601191342CEEE43887BDE71AB97725836B0C44F@irsmsx105.ger.corp.intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <2601191342CEEE43887BDE71AB97725836B0C44F@irsmsx105.ger.corp.intel.com> Cc: "dev@dpdk.org" Subject: Re: [dpdk-dev] [PATCH v5 00/11] Add API to get packet type info 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: Mon, 29 Feb 2016 17:01:19 -0000 On Mon, Feb 29, 2016 at 04:54:19PM +0000, Ananyev, Konstantin wrote: > > > > -----Original Message----- > > From: Tan, Jianfeng > > Sent: Friday, February 26, 2016 7:34 AM > > To: dev@dpdk.org > > Cc: Zhang, Helin; Ananyev, Konstantin; nelio.laranjeiro@6wind.com; adrien.mazarguil@6wind.com; rahul.lakkireddy@chelsio.com; > > Tan, Jianfeng > > Subject: [PATCH v5 00/11] Add API to get packet type info > > > > To achieve this, a new function pointer, dev_ptype_info_get, is added > > into struct eth_dev_ops. For those devices who do not implement it, it > > means it will not provide any ptype info. > > > > v5: > > - Exclude l3fwd change from this series, as a separated one. > > - Fix malposition of mlx4 code in mlx5 commit introduced in v4. > > > > v4: > > - Change how to use this API: to previously agreement reached in mail. > > > > v3: > > - Change how to use this API: api to allocate mem for storing ptype > > array; and caller to free the mem. > > - Change how to return back ptypes from PMDs: return a pointer to > > corresponding static const array of supported ptypes, terminated > > by RTE_PTYPE_UNKNOWN. > > - Fix l3fwd parse_packet_type() when EXACT_MATCH is enabled. > > - Fix l3fwd memory leak when calling the API. > > > > v2: > > - Move ptype_mask filter function from each PMDs into ether layer. > > - Add ixgbe vPMD's ptype info. > > - Fix code style issues. > > > > Signed-off-by: Jianfeng Tan > > > > Acked-by: Konstantin Ananyev Fine for me as well. Acked-by: Adrien Mazarguil -- Adrien Mazarguil 6WIND