"README.md" did not exist on "16124541321e3c4030973b34b3f013605f052679"
IB/mlx4: Remove limitation on LSO header size
Current code has a limitation: an LSO header is not allowed to cross a 64 byte boundary. This patch removes this limitation by setting the WQE RR for large headers thus allowing LSO headers of any size. The extra buffer reserved for MLX4_IB_QP_LSO QPs has been doubled, from 64 to 128 bytes, assuming this is reasonable upper limit for header length. Also, this patch will cause IB_DEVICE_UD_TSO to be set only for HCA FW versions that set MLX4_DEV_CAP_FLAG_BLH; e.g. FW version 2.6.000 and higher. Signed-off-by:Eli Cohen <eli@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/infiniband/hw/mlx4/qp.c 12 additions, 12 deletionsdrivers/infiniband/hw/mlx4/qp.c
- drivers/net/mlx4/fw.c 1 addition, 0 deletionsdrivers/net/mlx4/fw.c
- include/linux/mlx4/device.h 1 addition, 0 deletionsinclude/linux/mlx4/device.h
Loading
Please register or sign in to comment