[dpdk-stable] patch 'net/mlx5: fix Rx function selection' has been queued to stable release 16.07.2

Nélio Laranjeiro nelio.laranjeiro at 6wind.com
Wed Nov 2 13:44:30 CET 2016


On Wed, Nov 02, 2016 at 06:21:16PM +0800, Yuanhan Liu wrote:
> 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

No objections.

Thanks.

> ---
> >From c1097f4a775360d7a0e1a0b303757ea88aa1aed2 Mon Sep 17 00:00:00 2001
> From: =?UTF-8?q?N=C3=A9lio=20Laranjeiro?= <nelio.laranjeiro at 6wind.com>
> Date: Tue, 11 Oct 2016 16:44:50 +0200
> Subject: [PATCH] net/mlx5: fix Rx function selection
> 
> [ upstream commit cf0564e3cdbfc66417a8e2b1f9db66e129415c53 ]
> 
> mlx5_rx_queue_setup() was setting the Rx function by itself instead of
> using priv_select_rx_function() written for that purpose.
> 
> Fixes: cdab90cb5c8d ("net/mlx5: add Tx/Rx burst function selection wrapper")
> 
> Signed-off-by: Nelio Laranjeiro <nelio.laranjeiro at 6wind.com>
> Acked-by: Adrien Mazarguil <adrien.mazarguil at 6wind.com>
> ---
>  drivers/net/mlx5/mlx5_rxq.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/drivers/net/mlx5/mlx5_rxq.c b/drivers/net/mlx5/mlx5_rxq.c
> index 99027d2..514e06f 100644
> --- a/drivers/net/mlx5/mlx5_rxq.c
> +++ b/drivers/net/mlx5/mlx5_rxq.c
> @@ -1259,7 +1259,7 @@ mlx5_rx_queue_setup(struct rte_eth_dev *dev, uint16_t idx, uint16_t desc,
>  		      (void *)dev, (void *)rxq_ctrl);
>  		(*priv->rxqs)[idx] = &rxq_ctrl->rxq;
>  		/* Update receive callback. */
> -		dev->rx_pkt_burst = mlx5_rx_burst;
> +		priv_select_rx_function(priv);
>  	}
>  	priv_unlock(priv);
>  	return -ret;
> -- 
> 1.9.0

-- 
Nélio Laranjeiro
6WIND


More information about the stable mailing list