• Eli Cohen's avatar
    IB/core: Add IPoIB UD LSO support · c93570f2
    Eli Cohen authored
    LSO (large send offload) allows the networking stack to pass SKBs with
    data size larger than the MTU to the IPoIB driver and have the HCA HW
    fragment the data to multiple MSS-sized packets.  Add a device
    capability flag IB_DEVICE_UD_TSO for devices that can perform TCP
    segmentation offload, a new send work request opcode IB_WR_LSO,
    header, hlen and mss fields for the work request structure, and a new
    IB_WC_LSO completion type.
    Signed-off-by: default avatarEli Cohen <eli@mellanox.co.il>
    Signed-off-by: default avatarRoland Dreier <rolandd@cisco.com>
    c93570f2
ib_verbs.h 53.5 KB