Re: [PATCH net-next V2 07/10] net/mlx5e: Use multiple TX doorbells

Simon Horman
2025-09-17T12:55:15Z

On Tue, Sep 16, 2025 at 05:11:41PM +0300, Tariq Toukan wrote:
> From: Cosmin Ratiu <cratiu@nvidia.com>
>
> First, allocate more doorbells in mlx5e_create_mdev_resources:
> - one doorbell remains 'global' and will be used by all non-channel
> associated SQs (e.g. ASO, HWS, PTP, ...).
> - allocate additional 'num_doorbells' doorbells. This defaults to
> minimum between 8 and max number of channels.
>
> mlx5e_channel_pick_doorbell() now spreads out channel SQs across
> available doorbells.
>
> Signed-off-by: Cosmin Ratiu <cratiu@nvidia.com>
> Reviewed-by: Dragos Tatulea <dtatulea@nvidia.com>
> Signed-off-by: Tariq Toukan <tariqt@nvidia.com>

Reviewed-by: Simon Horman <horms@kernel.org>