From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Hunt, David" Subject: Re: [PATCH v1 10/10] net/i40e: set register for no drop Date: Mon, 25 Sep 2017 10:44:42 +0100 Message-ID: References: <1503676941-80981-1-git-send-email-david.hunt@intel.com> <1503676941-80981-11-git-send-email-david.hunt@intel.com> <9BB6961774997848B5B42BEC655768F810E7C858@SHSMSX103.ccr.corp.intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Cc: "Marjanovic, Nemanja" , "Sexton, Rory" To: "Wu, Jingjing" , "dev@dpdk.org" Return-path: Received: from mga05.intel.com (mga05.intel.com [192.55.52.43]) by dpdk.org (Postfix) with ESMTP id C822F7CB6 for ; Mon, 25 Sep 2017 11:44:45 +0200 (CEST) In-Reply-To: <9BB6961774997848B5B42BEC655768F810E7C858@SHSMSX103.ccr.corp.intel.com> Content-Language: en-US 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 25/9/2017 3:50 AM, Wu, Jingjing wrote: > >> -----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 >> >> See the XL710 controller datasheet for more information on this register >> >> 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(-) >> >> diff --git a/drivers/net/i40e/i40e_ethdev.c b/drivers/net/i40e/i40e_ethdev.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 Hi Jingjing, Yes, we've removed this now. It's left to flow control. Will be removed from next patch set. Rgds, Dave.