[dpdk-stable] patch 'net/fm10k: fix VF Tx queue initialization' has been queued to stable release 16.07.2

Yuanhan Liu yuanhan.liu at linux.intel.com
Tue Dec 6 02:44:17 CET 2016


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 at linux.intel.com] 
> Sent: Wednesday, November 2, 2016 6:22 AM
> To: Wang, Xiao W <xiao.w.wang at intel.com>
> Cc: Yuanhan Liu <yuanhan.liu at linux.intel.com>; Somasekharan, SarathX <sarathx.somasekharan at intel.com>; dpdk stable <stable at dpdk.org>
> 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 <xiao.w.wang at intel.com>
> 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 <sarathx.somasekharan at intel.com>
> Signed-off-by: Xiao Wang <xiao.w.wang at intel.com>
> ---
>  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


More information about the stable mailing list