From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga02.intel.com (mga02.intel.com [134.134.136.20]) by dpdk.org (Postfix) with ESMTP id 427242BA8 for ; Tue, 6 Dec 2016 02:43:25 +0100 (CET) Received: from orsmga005.jf.intel.com ([10.7.209.41]) by orsmga101.jf.intel.com with ESMTP; 05 Dec 2016 17:43:25 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.33,750,1477983600"; d="scan'208";a="39134637" Received: from yliu-dev.sh.intel.com (HELO yliu-dev) ([10.239.67.162]) by orsmga005.jf.intel.com with ESMTP; 05 Dec 2016 17:43:24 -0800 Date: Tue, 6 Dec 2016 09:44:17 +0800 From: Yuanhan Liu To: "Somasekharan, SarathX" Cc: "Wang, Xiao W" , dpdk stable , "Lukaszewicz, Rimas" Message-ID: <20161206014417.GN24403@yliu-dev.sh.intel.com> References: <1478082097-16957-1-git-send-email-yuanhan.liu@linux.intel.com> <1478082097-16957-37-git-send-email-yuanhan.liu@linux.intel.com> <8E8F16D832DEA44EAC8E3A3C70D1E0C737AB8DBD@CRSMSX101.amr.corp.intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <8E8F16D832DEA44EAC8E3A3C70D1E0C737AB8DBD@CRSMSX101.amr.corp.intel.com> User-Agent: Mutt/1.5.23 (2014-03-12) Subject: Re: [dpdk-stable] patch 'net/fm10k: fix VF Tx queue initialization' has been queued to stable release 16.07.2 X-BeenThere: stable@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches for DPDK stable branches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 06 Dec 2016 01:43:26 -0000 On Mon, Dec 05, 2016 at 01:41:21PM +0000, Somasekharan, SarathX wrote: > Hi, > > Has this patch been integrated on to the DPDK stable release 16.07.2 as well as 16.11 ? Yes. --yliu > > Thanks, > > Sarath > > -----Original Message----- > From: Yuanhan Liu [mailto:yuanhan.liu@linux.intel.com] > Sent: Wednesday, November 2, 2016 6:22 AM > To: Wang, Xiao W > Cc: Yuanhan Liu ; Somasekharan, SarathX ; dpdk stable > Subject: patch 'net/fm10k: fix VF Tx queue initialization' has been queued to stable release 16.07.2 > > Hi, > > FYI, your patch has been queued to stable release 16.07.2 > > Note it hasn't been pushed to http://dpdk.org/browse/dpdk-stable > yet. It will be pushed if I get no objections before 11/06/16. > So please shout if anyone has objections. > > Thanks. > > --yliu > > --- > >From 65e55e4f13239e04873d5a7f67072e8039afb7cc Mon Sep 17 00:00:00 2001 > From: Xiao Wang > Date: Wed, 19 Oct 2016 09:30:14 +0800 > Subject: [PATCH] net/fm10k: fix VF Tx queue initialization > > [ upstream commit 2c448da6aa1028fd75d631d3aa3c265483042aaa ] > > The SGLORT (Source Global Resource Tag) of the VF queues should be assigned by PF driver, VF driver should not set these registers. > > Fixes: 3b845bf6bcd9 ("fm10k: fix switch manager high CPU usage") > > Reported-by: Sarath Somasekharan > Signed-off-by: Xiao Wang > --- > drivers/net/fm10k/fm10k_ethdev.c | 5 +++-- > 1 file changed, 3 insertions(+), 2 deletions(-) > > diff --git a/drivers/net/fm10k/fm10k_ethdev.c b/drivers/net/fm10k/fm10k_ethdev.c > index 89d99d4..35cbe08 100644 > --- a/drivers/net/fm10k/fm10k_ethdev.c > +++ b/drivers/net/fm10k/fm10k_ethdev.c > @@ -695,8 +695,9 @@ fm10k_dev_tx_init(struct rte_eth_dev *dev) > base_addr >> (CHAR_BIT * sizeof(uint32_t))); > FM10K_WRITE_REG(hw, FM10K_TDLEN(i), size); > > - /* assign default SGLORT for each TX queue */ > - FM10K_WRITE_REG(hw, FM10K_TX_SGLORT(i), hw->mac.dglort_map); > + /* assign default SGLORT for each TX queue by PF */ > + if (hw->mac.type == fm10k_mac_pf) > + FM10K_WRITE_REG(hw, FM10K_TX_SGLORT(i), hw->mac.dglort_map); > } > > /* set up vector or scalar TX function as appropriate */ > -- > 1.9.0