From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 05963A056D; Tue, 3 Mar 2020 07:16:53 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 6D8211BFEF; Tue, 3 Mar 2020 07:16:53 +0100 (CET) Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) by dpdk.org (Postfix) with ESMTP id B04AB2C02; Tue, 3 Mar 2020 07:16:51 +0100 (CET) X-Amp-Result: UNKNOWN X-Amp-Original-Verdict: FILE UNKNOWN X-Amp-File-Uploaded: False Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by orsmga102.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 02 Mar 2020 22:16:50 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.70,510,1574150400"; d="scan'208";a="274073609" Received: from yexl-server.sh.intel.com (HELO localhost) ([10.67.117.17]) by fmsmga002.fm.intel.com with ESMTP; 02 Mar 2020 22:16:48 -0800 Date: Tue, 3 Mar 2020 14:14:36 +0800 From: Ye Xiaolong To: Qiming Yang Cc: dev@dpdk.org, stable@dpdk.org Message-ID: <20200303061436.GG25927@intel.com> References: <20200226092221.85536-1-qiming.yang@intel.com> <20200303054500.72798-1-qiming.yang@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200303054500.72798-1-qiming.yang@intel.com> User-Agent: Mutt/1.9.4 (2018-02-28) Subject: Re: [dpdk-dev] [PATCH v2] net/i40e: fix X722 performance drop 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: , Errors-To: dev-bounces@dpdk.org Sender: "dev" On 03/03, Qiming Yang wrote: >Lack of GL_SWR_PM_UP_THR value for mac type 4x10G X722 caused it can't >reach line rate in one queue one core forwarding case. It's about 1% >performance drop. This patch add value as: > > Device-ID Value Comments > 0x37D0 0x03030303 4x10G FPK > >This value is hardware specific. > >Fixes: 3320d4a240da ("net/i40e: workaround performance degradation") >Cc: stable@dpdk.org > >Signed-off-by: Qiming Yang >--- > drivers/net/i40e/i40e_ethdev.c | 1 + > 1 file changed, 1 insertion(+) > >diff --git a/drivers/net/i40e/i40e_ethdev.c b/drivers/net/i40e/i40e_ethdev.c >index 9fbda1c..c09b9b9 100644 >--- a/drivers/net/i40e/i40e_ethdev.c >+++ b/drivers/net/i40e/i40e_ethdev.c >@@ -10504,6 +10504,7 @@ i40e_get_swr_pm_cfg(struct i40e_hw *hw, uint32_t *value) > { I40E_GL_SWR_PM_EF_DEVICE(I40E_DEV_ID_KX_C) }, > { I40E_GL_SWR_PM_EF_DEVICE(I40E_DEV_ID_10G_BASE_T) }, > { I40E_GL_SWR_PM_EF_DEVICE(I40E_DEV_ID_10G_BASE_T4) }, >+ { I40E_GL_SWR_PM_EF_DEVICE(I40E_DEV_ID_SFP_X722) }, > > { I40E_GL_SWR_PM_SF_DEVICE(I40E_DEV_ID_KX_B) }, > { I40E_GL_SWR_PM_SF_DEVICE(I40E_DEV_ID_QSFP_A) }, >-- >2.9.5 > Acked-by: Xiaolong Ye Applied to dpdk-next-net-intel, Thanks.