• S
    mlx5: Implement create_mr and destroy_mr · 3121e3c4
    Sagi Grimberg 提交于
    Support create_mr and destroy_mr verbs.  Creating ib_mr may be done
    for either ib_mr that will register regular page lists like
    alloc_fast_reg_mr routine, or indirect ib_mrs that can register other
    (pre-registered) ib_mrs in an indirect manner.
    
    In addition user may request signature enable, that will mean that the
    created ib_mr may be attached with signature attributes (BSF, PSVs).
    
    Currently we only allow direct/indirect registration modes.
    Signed-off-by: NSagi Grimberg <sagig@mellanox.com>
    Signed-off-by: NRoland Dreier <roland@purestorage.com>
    3121e3c4
main.c 38.2 KB