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 3E38F558D for ; Wed, 10 Aug 2016 06:42:16 +0200 (CEST) Received: from fmsmga004.fm.intel.com ([10.253.24.48]) by fmsmga104.fm.intel.com with ESMTP; 09 Aug 2016 21:42:15 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.28,497,1464678000"; d="scan'208";a="153428082" Received: from fmsmsx107.amr.corp.intel.com ([10.18.124.205]) by fmsmga004.fm.intel.com with ESMTP; 09 Aug 2016 21:42:07 -0700 Received: from fmsmsx114.amr.corp.intel.com (10.18.116.8) by fmsmsx107.amr.corp.intel.com (10.18.124.205) with Microsoft SMTP Server (TLS) id 14.3.248.2; Tue, 9 Aug 2016 21:42:03 -0700 Received: from shsmsx151.ccr.corp.intel.com (10.239.6.50) by FMSMSX114.amr.corp.intel.com (10.18.116.8) with Microsoft SMTP Server (TLS) id 14.3.248.2; Tue, 9 Aug 2016 21:42:02 -0700 Received: from shsmsx102.ccr.corp.intel.com ([169.254.2.147]) by SHSMSX151.ccr.corp.intel.com ([169.254.3.150]) with mapi id 14.03.0248.002; Wed, 10 Aug 2016 12:42:01 +0800 From: "Yao, Lei A" To: Jianbo Liu , "Xu, Qian Q" , "Wu, Jingjing" CC: "dev@dpdk.org" Thread-Topic: [dpdk-dev] [PATCH v3] i40e: enable i40e pmd on ARM platform Thread-Index: AdHywPPV6KGQl06DRfqAVwSyglgWBA== Date: Wed, 10 Aug 2016 04:42:00 +0000 Message-ID: <2DBBFF226F7CF64BAFCA79B681719D9502048BC8@shsmsx102.ccr.corp.intel.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: 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 v3] i40e: enable i40e pmd on ARM platform 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, 10 Aug 2016 04:42:16 -0000 Hi, Jianbo I have tested you patch , this v3 patch didn't impact the performance on X8= 6 platform.=20 Non-vector PMD single core performance with patch : ~35 Mpps Non-vector PMD single core performance without patch : ~35 Mpps BRs Lei -----Original Message----- Date: Fri, 5 Aug 2016 14:36:23 +0530 From: Jianbo Liu To: dev@dpdk.org, helin.zhang@intel.com, jingjing.wu@intel.com Cc: Jianbo Liu Subject: [dpdk-dev] [PATCH v3] i40e: enable i40e pmd on ARM platform Message-ID: <1470387983-12713-1-git-send-email-jianbo.liu@linaro.org> And add read memory barrier to avoid status inconsistency between two RX de= scriptors readings. Signed-off-by: Jianbo Liu --- config/defconfig_arm64-armv8a-linuxapp-gcc | 2 +- doc/guides/nics/features/i40e.ini | 1 + drivers/net/i40e/i40e_rxtx.c | 2 ++ 3 files changed, 4 insertions(+), 1 deletion(-) diff --git a/config/defconfig_arm64-armv8a-linuxapp-gcc b/config/defconfig_= arm64-armv8a-linuxapp-gcc index 1a17126..08f282b 100644 --- a/config/defconfig_arm64-armv8a-linuxapp-gcc +++ b/config/defconfig_arm64-armv8a-linuxapp-gcc @@ -46,6 +46,6 @@ CONFIG_RTE_EAL_IGB_UIO=3Dn =20 CONFIG_RTE_LIBRTE_IVSHMEM=3Dn CONFIG_RTE_LIBRTE_FM10K_PMD=3Dn -CONFIG_RTE_LIBRTE_I40E_PMD=3Dn +CONFIG_RTE_LIBRTE_I40E_INC_VECTOR=3Dn =20 CONFIG_RTE_SCHED_VECTOR=3Dn diff --git a/doc/guides/nics/features/i40e.ini b/doc/guides/nics/features/i= 40e.ini index fb3fb60..0d143bc 100644 --- a/doc/guides/nics/features/i40e.ini +++ b/doc/guides/nics/features/i40e.ini @@ -45,3 +45,4 @@ Linux UIO =3D Y Linux VFIO =3D Y x86-32 =3D Y x86-64 =3D Y +ARMv8 =3D Y diff --git a/drivers/net/i40e/i40e_rxtx.c b/drivers/net/i40e/i40e_rxtx.c in= dex 554d167..57825fb 100644 --- a/drivers/net/i40e/i40e_rxtx.c +++ b/drivers/net/i40e/i40e_rxtx.c @@ -994,6 +994,8 @@ i40e_rx_scan_hw_ring(struct i40e_rx_queue *rxq) I40E_RXD_QW1_STATUS_SHIFT; } =20 + rte_smp_rmb(); + /* Compute how many status bits were set */ for (j =3D 0, nb_dd =3D 0; j < I40E_LOOK_AHEAD; j++) nb_dd +=3D s[j] & (1 << I40E_RX_DESC_STATUS_DD_SHIFT); -- 2.4.11