]> git.baikalelectronics.ru Git - kernel.git/commit
{net, ib}/mlx5: Make cache line size determination at runtime.
authorDaniel Jurgens <danielj@mellanox.com>
Tue, 25 Oct 2016 15:36:24 +0000 (18:36 +0300)
committerDavid S. Miller <davem@davemloft.net>
Sat, 29 Oct 2016 16:00:39 +0000 (12:00 -0400)
commitfe86182aba2c3b653d7eb72bd641c0f5d58de377
tree6bed00d13dfefc41b5ad060358426d299f1fc0d8
parent9628c413982653342f9b22aae69c336ffbb17719
{net, ib}/mlx5: Make cache line size determination at runtime.

ARM 64B cache line systems have L1_CACHE_BYTES set to 128.
cache_line_size() will return the correct size.

Fixes: cf50b5efa2fe('net/mlx5_core/ib: New device capabilities
handling.')
Signed-off-by: Daniel Jurgens <danielj@mellanox.com>
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/infiniband/hw/mlx5/main.c
drivers/infiniband/hw/mlx5/qp.c
drivers/net/ethernet/mellanox/mlx5/core/alloc.c
include/linux/mlx5/driver.h