From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Ananyev, Konstantin" Subject: Re: [PATCH v5 00/11] Add API to get packet type info Date: Mon, 29 Feb 2016 16:54:19 +0000 Message-ID: <2601191342CEEE43887BDE71AB97725836B0C44F@irsmsx105.ger.corp.intel.com> References: <1451544799-70776-1-git-send-email-jianfeng.tan@intel.com> <1456472067-2721-1-git-send-email-jianfeng.tan@intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable To: "Tan, Jianfeng" , "dev@dpdk.org" Return-path: Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) by dpdk.org (Postfix) with ESMTP id 67EC829CB for ; Mon, 29 Feb 2016 17:54:24 +0100 (CET) In-Reply-To: <1456472067-2721-1-git-send-email-jianfeng.tan@intel.com> Content-Language: en-US List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" > -----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 >=20 > 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. >=20 > v5: > - Exclude l3fwd change from this series, as a separated one. > - Fix malposition of mlx4 code in mlx5 commit introduced in v4. >=20 > v4: > - Change how to use this API: to previously agreement reached in mail. >=20 > 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. >=20 > v2: > - Move ptype_mask filter function from each PMDs into ether layer. > - Add ixgbe vPMD's ptype info. > - Fix code style issues. >=20 > Signed-off-by: Jianfeng Tan >=20 Acked-by: Konstantin Ananyev > -- > 2.1.4