• Eli Cohen's avatar
    IB/core: Add creation flags to struct ib_qp_init_attr · b846f25a
    Eli Cohen authored
    Add a create_flags member to struct ib_qp_init_attr that will allow a
    kernel verbs consumer to create a pass special flags when creating a QP.
    Add a flag value for telling low-level drivers that a QP will be used
    for IPoIB UD LSO.  The create_flags member will also be useful for XRC
    and ehca low-latency QP support.
    
    Since no create_flags handling is implemented yet, add code to all
    low-level drivers to return -EINVAL if create_flags is non-zero.
    Signed-off-by: default avatarEli Cohen <eli@mellanox.co.il>
    Signed-off-by: default avatarRoland Dreier <rolandd@cisco.com>
    b846f25a
mthca_provider.c 35 KB