{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>
Showing
- drivers/infiniband/hw/mlx5/main.c 1 addition, 1 deletiondrivers/infiniband/hw/mlx5/main.c
- drivers/infiniband/hw/mlx5/qp.c 0 additions, 1 deletiondrivers/infiniband/hw/mlx5/qp.c
- drivers/net/ethernet/mellanox/mlx5/core/alloc.c 26 additions, 5 deletionsdrivers/net/ethernet/mellanox/mlx5/core/alloc.c
- include/linux/mlx5/driver.h 0 additions, 11 deletionsinclude/linux/mlx5/driver.h
Loading
Please register or sign in to comment