All of lore.kernel.org
 help / color / mirror / Atom feed
From: Adrien Mazarguil <adrien.mazarguil@6wind.com>
To: Yaacov Hazan <yaacovh@mellanox.com>
Cc: dev@dpdk.org
Subject: Re: [PATCH] mlx5: fix RETA table size
Date: Thu, 31 Mar 2016 10:58:52 +0200	[thread overview]
Message-ID: <20160331085852.GK27079@6wind.com> (raw)
In-Reply-To: <1459351639-18375-1-git-send-email-yaacovh@mellanox.com>

Yaacov,

On Wed, Mar 30, 2016 at 06:27:19PM +0300, Yaacov Hazan wrote:
> Change RETA table size to use 256 entries for better performance.
> 
> Fixes: ebb30ec64a68 ("mlx5: increase RETA table size")
> 
> Signed-off-by: Yaacov Hazan <yaacovh@mellanox.com>
> ---
>  drivers/net/mlx5/mlx5_defs.h | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/drivers/net/mlx5/mlx5_defs.h b/drivers/net/mlx5/mlx5_defs.h
> index 195440c..09207d9 100644
> --- a/drivers/net/mlx5/mlx5_defs.h
> +++ b/drivers/net/mlx5/mlx5_defs.h
> @@ -52,7 +52,7 @@
>  #define MLX5_PMD_TX_PER_COMP_REQ 64
>  
>  /* RSS Indirection table size. */
> -#define RSS_INDIRECTION_TABLE_SIZE 512
> +#define RSS_INDIRECTION_TABLE_SIZE 256

Can you describe how using a smaller indirection table size improves
performance? Thanks.

-- 
Adrien Mazarguil
6WIND

  reply	other threads:[~2016-03-31  8:59 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-03-30 15:27 [PATCH] mlx5: fix RETA table size Yaacov Hazan
2016-03-31  8:58 ` Adrien Mazarguil [this message]
2016-03-31  9:21 ` [PATCH v2] " Yaacov Hazan
2016-03-31  9:36   ` Adrien Mazarguil
2016-03-31 13:00     ` Thomas Monjalon

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20160331085852.GK27079@6wind.com \
    --to=adrien.mazarguil@6wind.com \
    --cc=dev@dpdk.org \
    --cc=yaacovh@mellanox.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.