From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga04.intel.com (mga04.intel.com [192.55.52.120]) by dpdk.org (Postfix) with ESMTP id EC81E3238 for ; Wed, 5 Oct 2016 03:30:03 +0200 (CEST) Received: from orsmga002.jf.intel.com ([10.7.209.21]) by fmsmga104.fm.intel.com with ESMTP; 04 Oct 2016 18:30:03 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.31,446,1473145200"; d="scan'208";a="1060557301" Received: from fmsmsx104.amr.corp.intel.com ([10.18.124.202]) by orsmga002.jf.intel.com with ESMTP; 04 Oct 2016 18:30:02 -0700 Received: from FMSMSX110.amr.corp.intel.com (10.18.116.10) by fmsmsx104.amr.corp.intel.com (10.18.124.202) with Microsoft SMTP Server (TLS) id 14.3.248.2; Tue, 4 Oct 2016 18:30:02 -0700 Received: from shsmsx101.ccr.corp.intel.com (10.239.4.153) by fmsmsx110.amr.corp.intel.com (10.18.116.10) with Microsoft SMTP Server (TLS) id 14.3.248.2; Tue, 4 Oct 2016 18:30:01 -0700 Received: from shsmsx102.ccr.corp.intel.com ([169.254.2.15]) by SHSMSX101.ccr.corp.intel.com ([169.254.1.118]) with mapi id 14.03.0248.002; Wed, 5 Oct 2016 09:29:59 +0800 From: "Chen, Jing D" To: "Shaw, Jeffrey B" , "dev@dpdk.org" , "Zhang, Helin" , "Wu, Jingjing" , "damarion@cisco.com" Thread-Topic: [dpdk-dev] [PATCH 1/2] i40e: Add packet_type metadata in the i40e vPMD Thread-Index: AQHR3fEe2hedrYLPMU+qA4FZ8xE46aCZknJg Date: Wed, 5 Oct 2016 01:29:58 +0000 Message-ID: <4341B239C0EFF9468EE453F9E9F4604D3A38761C@shsmsx102.ccr.corp.intel.com> References: <1468515542-39207-1-git-send-email-jeffrey.b.shaw@intel.com> <1468515542-39207-2-git-send-email-jeffrey.b.shaw@intel.com> In-Reply-To: <1468515542-39207-2-git-send-email-jeffrey.b.shaw@intel.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-titus-metadata-40: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiMTQxYjdjZGQtZDcyOS00NWE5LTg3NGYtMWY5N2FkZjhkOTcyIiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX0lDIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE1LjkuNi42IiwiVHJ1c3RlZExhYmVsSGFzaCI6IkRYUG9VUFBCU2VFYTB1WVlvdzNCbTh5VDRWVCtFSVJPaFFqYXdqNFhTYkk9In0= x-ctpclassification: CTP_IC x-originating-ip: [10.239.127.40] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Subject: Re: [dpdk-dev] [PATCH 1/2] i40e: Add packet_type metadata in the i40e vPMD 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: Wed, 05 Oct 2016 01:30:04 -0000 Hi,=20 > -----Original Message----- > From: dev [mailto:dev-bounces@dpdk.org] On Behalf Of Jeff Shaw > Sent: Thursday, July 14, 2016 9:59 AM > To: dev@dpdk.org; Zhang, Helin ; Wu, Jingjing > ; damarion@cisco.com > Subject: [dpdk-dev] [PATCH 1/2] i40e: Add packet_type metadata in the i40= e > vPMD >=20 > From: Damjan Marion >=20 > The ptype is decoded from the rx descriptor and stored in the packet type > field in the mbuf using the same function as the non-vector driver. >=20 > Signed-off-by: Damjan Marion > Signed-off-by: Jeff Shaw > --- > drivers/net/i40e/i40e_rxtx.c | 566 +--------------------------------= ------ > drivers/net/i40e/i40e_rxtx.h | 563 > ++++++++++++++++++++++++++++++++++++++ > drivers/net/i40e/i40e_rxtx_vec.c | 16 ++ > 3 files changed, 581 insertions(+), 564 deletions(-) >=20 > - > #define I40E_RX_DESC_EXT_STATUS_FLEXBH_MASK 0x03 > #define I40E_RX_DESC_EXT_STATUS_FLEXBH_FD_ID 0x01 > #define I40E_RX_DESC_EXT_STATUS_FLEXBH_FLEX 0x02 > @@ -2136,7 +1573,8 @@ i40e_dev_supported_ptypes_get(struct rte_eth_dev > *dev) #ifdef RTE_LIBRTE_I40E_RX_ALLOW_BULK_ALLOC > dev->rx_pkt_burst =3D=3D i40e_recv_pkts_bulk_alloc || #endif > - dev->rx_pkt_burst =3D=3D i40e_recv_scattered_pkts) > + dev->rx_pkt_burst =3D=3D i40e_recv_scattered_pkts || > + dev->rx_pkt_burst =3D=3D i40e_recv_pkts_vec) Missed i40e_recv_scattered_pkts_vec()?