• Vipul Pandya's avatar
    RDMA/cxgb4: Add DB Overflow Avoidance · 2c974781
    Vipul Pandya authored
    Get FULL/EMPTY/DROP events from LLD.  On FULL event, disable normal
    user mode DB rings.
    
    Add modify_qp semantics to allow user processes to call into the
    kernel to ring doobells without overflowing.
    
    Add DB Full/Empty/Drop stats.
    
    Mark queues when created indicating the doorbell state.
    
    If we're in the middle of db overflow avoidance, then newly created
    queues should start out in this mode.
    
    Bump the C4IW_UVERBS_ABI_VERSION to 2 so the user mode library can
    know if the driver supports the kernel mode db ringing.
    Signed-off-by: default avatarVipul Pandya <vipul@chelsio.com>
    Signed-off-by: default avatarSteve Wise <swise@opengridcomputing.com>
    Signed-off-by: default avatarRoland Dreier <roland@purestorage.com>
    2c974781
user.h 2.18 KB