Files
linux/drivers
Eric Dumazet 9ac936276f net/mlx4_en: avoid one cache line miss to ring doorbell
This patch caches doorbell address directly in struct mlx4_en_tx_ring.

This removes the need to bring in cpu caches whole struct mlx4_uar
in fast path.

Note that mlx4_uar is not guaranteed to be on a local node,
because mlx4_bf_alloc() uses a single free list (priv->bf_list)
regardless of its node parameter.

This kind of change does matter in presence of light/moderate traffic.
In high stress, this read-only line would be kept hot in caches.

Signed-off-by: Eric Dumazet <edumazet@google.com>
Cc: Tariq Toukan <tariqt@nvidia.com>
Reviewed-by: Tariq Toukan <tariqt@nvidia.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2021-10-04 12:50:13 +01:00
..
2021-09-08 11:50:26 -07:00
2021-09-21 09:17:15 +02:00
2021-09-20 12:43:34 +01:00
2021-09-14 11:18:47 +02:00
2021-09-18 11:15:01 -07:00
2021-08-14 15:54:09 -06:00
2021-08-14 15:54:09 -06:00