summaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/mellanox/mlx5/core/eswitch.c
diff options
context:
space:
mode:
authorDaniel Jurgens2018-02-02 16:32:53 +0100
committerSaeed Mahameed2018-02-20 21:52:58 +0100
commitc67f100edae0d2f43e8b35955f7710d702efd590 (patch)
treecd766516ec9055b32a7a68a2985b7d9e8064b992 /drivers/net/ethernet/mellanox/mlx5/core/eswitch.c
parentnet/mlx5e: Specify numa node when allocating drop rq (diff)
downloadkernel-qcow2-linux-c67f100edae0d2f43e8b35955f7710d702efd590.tar.gz
kernel-qcow2-linux-c67f100edae0d2f43e8b35955f7710d702efd590.tar.xz
kernel-qcow2-linux-c67f100edae0d2f43e8b35955f7710d702efd590.zip
net/mlx5: Use 128B cacheline size for 128B or larger cachelines
The adapter uses the cache_line_128byte setting to set the bounds for end padding. On systems where the cacheline size is greater than 128B use 128B instead of the default of 64B. This results in fewer partial cacheline writes. There's a 50% chance it will pad to the end of a 256B cache line vs only 25% when using 64B. Fixes: f32f5bd2eb7e ("net/mlx5: Configure cache line size for start and end padding") Signed-off-by: Daniel Jurgens <danielj@mellanox.com> Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
Diffstat (limited to 'drivers/net/ethernet/mellanox/mlx5/core/eswitch.c')
0 files changed, 0 insertions, 0 deletions