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 95A2111A4 for ; Mon, 11 Mar 2019 04:26:50 +0100 (CET) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by fmsmga101.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 10 Mar 2019 20:26:49 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.58,466,1544515200"; d="scan'208";a="153820955" Received: from fmsmsx104.amr.corp.intel.com ([10.18.124.202]) by fmsmga001.fm.intel.com with ESMTP; 10 Mar 2019 20:26:49 -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.408.0; Sun, 10 Mar 2019 20:26:49 -0700 Received: from shsmsx107.ccr.corp.intel.com (10.239.4.96) by fmsmsx110.amr.corp.intel.com (10.18.116.10) with Microsoft SMTP Server (TLS) id 14.3.408.0; Sun, 10 Mar 2019 20:26:49 -0700 Received: from shsmsx103.ccr.corp.intel.com ([169.254.4.134]) by SHSMSX107.ccr.corp.intel.com ([169.254.9.252]) with mapi id 14.03.0415.000; Mon, 11 Mar 2019 11:26:47 +0800 From: "Zhang, Qi Z" To: "Lu, Wenzhuo" , "dev@dpdk.org" CC: "Lu, Wenzhuo" Thread-Topic: [dpdk-dev] [PATCH v2 3/8] net/ice: support vector SSE in RX Thread-Index: AQHU0lZdNfciCOzww0iUWGKfq9+v36YFy6Hg Date: Mon, 11 Mar 2019 03:26:46 +0000 Message-ID: <039ED4275CED7440929022BC67E706115334A3D6@SHSMSX103.ccr.corp.intel.com> References: <1551340136-83843-1-git-send-email-wenzhuo.lu@intel.com> <1551682408-107569-1-git-send-email-wenzhuo.lu@intel.com> <1551682408-107569-4-git-send-email-wenzhuo.lu@intel.com> In-Reply-To: <1551682408-107569-4-git-send-email-wenzhuo.lu@intel.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-titus-metadata-40: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiNTAzM2M5ODItYTY5ZC00NTc0LTk1OWQtMTA1YzJlYmFiYzc5IiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX05UIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE3LjEwLjE4MDQuNDkiLCJUcnVzdGVkTGFiZWxIYXNoIjoiN0ZBaDQ0UmlVeFFlNVR5R2M4c1RXa2NDNkVYSUJqOGpiUFBYajhUUjdNRE9pQ29jczY2YVNMS3JNWlhFbkxvRSJ9 x-ctpclassification: CTP_NT dlp-product: dlpe-windows dlp-version: 11.0.400.15 dlp-reaction: no-action 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 v2 3/8] net/ice: support vector SSE in RX 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: Mon, 11 Mar 2019 03:26:51 -0000 Hi: > -----Original Message----- > From: dev [mailto:dev-bounces@dpdk.org] On Behalf Of Wenzhuo Lu > Sent: Monday, March 4, 2019 2:53 PM > To: dev@dpdk.org > Cc: Lu, Wenzhuo > Subject: [dpdk-dev] [PATCH v2 3/8] net/ice: support vector SSE in RX >=20 > Signed-off-by: Wenzhuo Lu > --- ..... > + > + if (!ice_rx_vec_dev_check(dev)) { > + for (i =3D 0; i < dev->data->nb_rx_queues; i++) { > + rxq =3D dev->data->rx_queues[i]; > + (void)ice_rxq_vec_setup(rxq); > + } > + PMD_DRV_LOG(DEBUG, "Using Vector Rx (port %d).", > + dev->data->port_id); > + dev->rx_pkt_burst =3D ice_recv_pkts_vec; > + > + return; > + } > +#endif >=20 Since vPMD is only implemented on x86, I think the logic to setup vector pa= th could be wrapped by compile option #ifdef ARCH_X86,=20 otherwise I guess there will be some compile error on other platform, for e= xample the function ice_rx_vec_dev_check is only defined in ice_rxtx_vec_ss= e.c