From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga06.intel.com (mga06.intel.com [134.134.136.31]) by dpdk.org (Postfix) with ESMTP id A7E203195 for ; Mon, 25 Sep 2017 04:50:31 +0200 (CEST) Received: from orsmga003.jf.intel.com ([10.7.209.27]) by orsmga104.jf.intel.com with ESMTP; 24 Sep 2017 19:50:30 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.42,434,1500966000"; d="scan'208";a="1017970571" Received: from fmsmsx104.amr.corp.intel.com ([10.18.124.202]) by orsmga003.jf.intel.com with ESMTP; 24 Sep 2017 19:50:30 -0700 Received: from fmsmsx119.amr.corp.intel.com (10.18.124.207) by fmsmsx104.amr.corp.intel.com (10.18.124.202) with Microsoft SMTP Server (TLS) id 14.3.319.2; Sun, 24 Sep 2017 19:50:29 -0700 Received: from shsmsx152.ccr.corp.intel.com (10.239.6.52) by FMSMSX119.amr.corp.intel.com (10.18.124.207) with Microsoft SMTP Server (TLS) id 14.3.319.2; Sun, 24 Sep 2017 19:50:29 -0700 Received: from shsmsx103.ccr.corp.intel.com ([169.254.4.213]) by SHSMSX152.ccr.corp.intel.com ([169.254.6.93]) with mapi id 14.03.0319.002; Mon, 25 Sep 2017 10:50:27 +0800 From: "Wu, Jingjing" To: "Hunt, David" , "dev@dpdk.org" CC: "Hunt, David" , "Marjanovic, Nemanja" , "Sexton, Rory" Thread-Topic: [dpdk-dev] [PATCH v1 10/10] net/i40e: set register for no drop Thread-Index: AQHTHbvpyasKAMdqdkWNkRAW/qdekKLFFkvQ Date: Mon, 25 Sep 2017 02:50:27 +0000 Message-ID: <9BB6961774997848B5B42BEC655768F810E7C858@SHSMSX103.ccr.corp.intel.com> References: <1503676941-80981-1-git-send-email-david.hunt@intel.com> <1503676941-80981-11-git-send-email-david.hunt@intel.com> In-Reply-To: <1503676941-80981-11-git-send-email-david.hunt@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 v1 10/10] net/i40e: set register for no 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: , X-List-Received-Date: Mon, 25 Sep 2017 02:50:32 -0000 > -----Original Message----- > From: dev [mailto:dev-bounces@dpdk.org] On Behalf Of David Hunt > Sent: Saturday, August 26, 2017 12:02 AM > To: dev@dpdk.org > Cc: Hunt, David ; Marjanovic, Nemanja > ; Sexton, Rory > Subject: [dpdk-dev] [PATCH v1 10/10] net/i40e: set register for no drop >=20 > See the XL710 controller datasheet for more information on this register >=20 > Signed-off-by: Nemanja Marjanovic > Signed-off-by: Rory Sexton > Signed-off-by: David Hunt > --- > drivers/net/i40e/i40e_ethdev.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) >=20 > diff --git a/drivers/net/i40e/i40e_ethdev.c b/drivers/net/i40e/i40e_ethde= v.c > index d9806fc..24b713e 100644 > --- a/drivers/net/i40e/i40e_ethdev.c > +++ b/drivers/net/i40e/i40e_ethdev.c > @@ -1156,7 +1156,7 @@ eth_i40e_dev_init(struct rte_eth_dev *dev) > * in firmware in the future. > */ > i40e_configure_registers(hw); > - > + I40E_WRITE_REG(hw, I40E_PRTDCB_TC2PFC, 0xff); What is the relationship with VM power manager? And about no-drop setting, it is the responsibility of flow control, please= check http://www.dpdk.org/dev/patchwork/patch/19449/ Thanks Jingjing