[dpdk-stable] patch 'net/mlx5: fix hash key size retrieval' has been queued to stable release 16.07.2
Nélio Laranjeiro
nelio.laranjeiro at 6wind.com
Wed Nov 2 13:45:30 CET 2016
On Wed, Nov 02, 2016 at 06:21:25PM +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 da181cede5ab055533dba25d5f4c09de8a56af7f Mon Sep 17 00:00:00 2001
> From: =?UTF-8?q?N=C3=A9lio=20Laranjeiro?= <nelio.laranjeiro at 6wind.com>
> Date: Fri, 14 Oct 2016 09:30:14 +0200
> Subject: [PATCH] net/mlx5: fix hash key size retrieval
>
> [ upstream commit 5ddbf77ef5092490a793d1b7e334489a5bfd20e7 ]
>
> Return RSS key size in struct rte_eth_dev_info.
>
> Fixes: 0f6f219e7919 ("app/testpmd: fix RSS hash key size")
>
> Signed-off-by: Nelio Laranjeiro <nelio.laranjeiro at 6wind.com>
> Acked-by: Adrien Mazarguil <adrien.mazarguil at 6wind.com>
> ---
> drivers/net/mlx5/mlx5_ethdev.c | 3 +++
> 1 file changed, 3 insertions(+)
>
> diff --git a/drivers/net/mlx5/mlx5_ethdev.c b/drivers/net/mlx5/mlx5_ethdev.c
> index 17588a5..bb80fdc 100644
> --- a/drivers/net/mlx5/mlx5_ethdev.c
> +++ b/drivers/net/mlx5/mlx5_ethdev.c
> @@ -599,6 +599,9 @@ mlx5_dev_infos_get(struct rte_eth_dev *dev, struct rte_eth_dev_info *info)
> * size if it is not fixed.
> * The API should be updated to solve this problem. */
> info->reta_size = priv->ind_table_max_size;
> + info->hash_key_size = ((*priv->rss_conf) ?
> + (*priv->rss_conf)[0]->rss_key_len :
> + 0);
> info->speed_capa =
> ETH_LINK_SPEED_1G |
> ETH_LINK_SPEED_10G |
> --
> 1.9.0
--
Nélio Laranjeiro
6WIND
More information about the stable
mailing list