• Sagi Grimberg's avatar
    mlx5: Add arbitrary sg list support · b005d316
    Sagi Grimberg authored
    Allocate proper context for arbitrary scatterlist registration
    If ib_alloc_mr is called with IB_MR_MAP_ARB_SG, the driver
    allocate a private klm list instead of a private page list.
    Set the UMR wqe correctly when posting the fast registration.
    
    Also, expose device cap IB_DEVICE_MAP_ARB_SG according to the
    device id (until we have a FW bit that correctly exposes it).
    Signed-off-by: default avatarSagi Grimberg <sagig@mellanox.com>
    Signed-off-by: default avatarDoug Ledford <dledford@redhat.com>
    b005d316
main.c 63.9 KB