[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20250709084117.GO452973@horms.kernel.org>
Date: Wed, 9 Jul 2025 09:41:17 +0100
From: Simon Horman <horms@...nel.org>
To: Saeed Mahameed <saeed@...nel.org>
Cc: "David S. Miller" <davem@...emloft.net>,
Jakub Kicinski <kuba@...nel.org>, Paolo Abeni <pabeni@...hat.com>,
Eric Dumazet <edumazet@...gle.com>,
Saeed Mahameed <saeedm@...dia.com>, netdev@...r.kernel.org,
Tariq Toukan <tariqt@...dia.com>, Gal Pressman <gal@...dia.com>,
Leon Romanovsky <leonro@...dia.com>, Jiri Pirko <jiri@...dia.com>
Subject: Re: [PATCH net-next V6 13/13] net/mlx5: Implement eSwitch hairpin
per prio buffers devlink params
On Tue, Jul 08, 2025 at 08:04:55PM -0700, Saeed Mahameed wrote:
> From: Saeed Mahameed <saeedm@...dia.com>
>
> E-Switch hairpin per prio buffers are controlled and configurable by the
> device, add two devlink params to control them.
>
> esw_haripin_per_prio_log_queue_size: p0,p1,....,p7
> Log(base 2) of the number of packets descriptors allocated
> internally for hairpin for IEEE802.1p priorities.
> 0 means that no descriptors are allocated for this priority
> and traffic with this priority will be dropped.
>
> esw_hairpin_per_prio_log_buf_size: p0,p1,...,p7
> Log(base 2) of the buffer size (in bytes) allocated internally
> for hairpin for IEEE802.1p priorities.
> 0 means no buffer for this priority and traffic with this
> priority will be dropped.
>
> Signed-off-by: Saeed Mahameed <saeedm@...dia.com>
> Reviewed-by: Jiri Pirko <jiri@...dia.com>
Reviewed-by: Simon Horman <horms@...nel.org>
Powered by blists - more mailing lists