[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <14597f12-20a1-4822-bab8-454c2871fa83@intel.com>
Date: Thu, 12 Oct 2023 14:32:13 -0700
From: Jacob Keller <jacob.e.keller@...el.com>
To: Saeed Mahameed <saeed@...nel.org>, "David S. Miller"
<davem@...emloft.net>, Jakub Kicinski <kuba@...nel.org>, Paolo Abeni
<pabeni@...hat.com>, Eric Dumazet <edumazet@...gle.com>
CC: Saeed Mahameed <saeedm@...dia.com>, <netdev@...r.kernel.org>, Tariq Toukan
<tariqt@...dia.com>, Adham Faris <afaris@...dia.com>
Subject: Re: [net-next V2 11/15] net/mlx5e: Refactor mlx5e_rss_set_rxfh() and
mlx5e_rss_get_rxfh()
On 10/12/2023 12:27 PM, Saeed Mahameed wrote:
> From: Adham Faris <afaris@...dia.com>
>
> Initialize indirect table array with memcpy rather than for loop.
> This change has made for two reasons:
> 1) To be consistent with the indirect table array init in
> mlx5e_rss_set_rxfh().
> 2) In general, prefer to use memcpy for array initializing rather than
> for loop.
>
> Signed-off-by: Adham Faris <afaris@...dia.com>
> Reviewed-by: Tariq Toukan <tariqt@...dia.com>
> Signed-off-by: Saeed Mahameed <saeedm@...dia.com>
> ---
Reviewed-by: Jacob Keller <jacob.e.keller@...el.com>
Powered by blists - more mailing lists