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 0B6185A3D for ; Fri, 16 Jan 2015 06:54:34 +0100 (CET) Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by fmsmga101.fm.intel.com with ESMTP; 15 Jan 2015 21:54:33 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.09,409,1418112000"; d="scan'208";a="662769634" Received: from pgsmsx108.gar.corp.intel.com ([10.221.44.103]) by fmsmga002.fm.intel.com with ESMTP; 15 Jan 2015 21:54:33 -0800 Received: from shsmsx102.ccr.corp.intel.com (10.239.4.154) by PGSMSX108.gar.corp.intel.com (10.221.44.103) with Microsoft SMTP Server (TLS) id 14.3.195.1; Fri, 16 Jan 2015 13:54:32 +0800 Received: from shsmsx104.ccr.corp.intel.com ([169.254.5.231]) by shsmsx102.ccr.corp.intel.com ([169.254.2.238]) with mapi id 14.03.0195.001; Fri, 16 Jan 2015 13:54:31 +0800 From: "Zhang, Helin" To: "Zhang, Helin" Thread-Topic: [PATCH v2] i40e: workaround for XL710 performance Thread-Index: AQHQIwiZGStFYszxhkqfhN7O9kpPopzCWgkA Date: Fri, 16 Jan 2015 05:54:29 +0000 Message-ID: References: <1419405248-14158-1-git-send-email-helin.zhang@intel.com> <1419817288-22957-1-git-send-email-helin.zhang@intel.com> In-Reply-To: <1419817288-22957-1-git-send-email-helin.zhang@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 Cc: "dev@dpdk.org" Subject: Re: [dpdk-dev] [PATCH v2] i40e: workaround for XL710 performance 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: Fri, 16 Jan 2015 05:54:35 -0000 > Subject: [PATCH v2] i40e: workaround for XL710 performance >=20 > On XL710, performance number is far from the expectation on recent firmwa= re > versions, if promiscuous mode is disabled, or promiscuous mode is enabled= and > port MAC address is equal to the packet destination MAC address. The fix = for > this issue may not be integrated in the following firmware version. So th= e > workaround in software driver is needed. For XL710, it needs to modify th= e > initial values of 3 internal only registers, which are the same as X710. > Note that the values for X710 and XL710 registers could be different, and= the > workaround can be removed when it is fixed in firmware in the future. >=20 > Signed-off-by: Helin Zhang Acked-by: Jingjing Wu > --- > lib/librte_pmd_i40e/i40e_ethdev.c | 44 > ++++++++++++++++++++++++++------------- > 1 file changed, 30 insertions(+), 14 deletions(-) >=20 > v2 changes: > * Supported modifying the address of 0x269FBC of XL710 during > initialization, to fix the minor performance gap to expectation. > That means XL710 can meet the performance expectation with this > workaround. Applied. Thanks to Neil's for his reviewing efforts on v1 version! Thanks, Helin