Re: [net-next v5 1/2] net/mlx5e: Add txq to sq stats mapping

From: Tariq Toukan
Date: Mon Jun 17 2024 - 01:16:24 EST




On 12/06/2024 23:08, Joe Damato wrote:
mlx5 currently maps txqs to an sq via priv->txq2sq. It is useful to map
txqs to sq_stats, as well, for direct access to stats.

Add priv->txq2sq_stats and insert mappings. The mappings will be used
next to tabulate stats information.

Signed-off-by: Joe Damato <jdamato@xxxxxxxxxx>

Reviewed-by: Tariq Toukan <tariqt@xxxxxxxxxx>