mlx4_core: Get the maximum message size from reported device capabilities
Get the maximum message size from the device capabilities returned from the QUERY_DEV_CAP firmware command, rather than hard-coding 2 GB. Signed-off-by:Dotan Barak <dotanb@dev.mellanox.co.il> Signed-off-by:
Michael S. Tsirkin <mst@dev.mellanox.co.il> Signed-off-by:
Roland Dreier <rolandd@cisco.com>
Showing
- drivers/infiniband/hw/mlx4/main.c 1 addition, 1 deletiondrivers/infiniband/hw/mlx4/main.c
- drivers/net/mlx4/fw.c 3 additions, 0 deletionsdrivers/net/mlx4/fw.c
- drivers/net/mlx4/fw.h 1 addition, 0 deletionsdrivers/net/mlx4/fw.h
- drivers/net/mlx4/main.c 1 addition, 0 deletionsdrivers/net/mlx4/main.c
- include/linux/mlx4/device.h 1 addition, 0 deletionsinclude/linux/mlx4/device.h
Loading
Please register or sign in to comment