• Alexander Chiang's avatar
    IB/ucm: Increase maximum devices supported · daa91358
    Alexander Chiang authored
    Some large systems may support more than IB_UCM_MAX_DEVICES
    (currently 32).
    
    This change allows us to support more devices in a backwards-compatible
    manner. the first IB_UCM_MAX_DEVICES keep the same major/minor device
    numbers they've always had.
    
    If there are more than IB_UCM_MAX_DEVICES, then we dynamically request
    a new major device number (new minors start at 0).
    Signed-off-by: default avatarAlex Chiang <achiang@hp.com>
    Signed-off-by: default avatarRoland Dreier <rolandd@cisco.com>
    daa91358
ucm.c 33.7 KB