net/mlx5e: TX, Separate cachelines of xmit and completion stats
authorTariq Toukan <tariqt@mellanox.com>
Wed, 18 Apr 2018 10:29:11 +0000 (13:29 +0300)
committerSaeed Mahameed <saeedm@mellanox.com>
Fri, 1 Jun 2018 23:48:15 +0000 (16:48 -0700)
commitf65a59ffbcc26135e225058b2e6cd49ab9f9f13f
treed6ef88bfe2e2045acb002b674e6d91c4aeb05eca
parent5ffd81943d7a57423f204cd5844bf430b5634472
net/mlx5e: TX, Separate cachelines of xmit and completion stats

Avoid false sharing of cachelines by separating the cachelines of
TX stats that are dertied in xmit flow and in completion flow.

Signed-off-by: Tariq Toukan <tariqt@mellanox.com>
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
drivers/net/ethernet/mellanox/mlx5/core/en_stats.c
drivers/net/ethernet/mellanox/mlx5/core/en_stats.h