RDMA/core: Add local DMA L_Key support
- Change the IB_DEVICE_ZERO_STAG flag to the transport-neutral name IB_DEVICE_LOCAL_DMA_LKEY, which is used by iWARP RNICs to indicate 0 STag support and IB HCAs to indicate reserved L_Key support. - Add a u32 local_dma_lkey member to struct ib_device. Drivers fill this in with the appropriate local DMA L_Key (if they support it). - Fix up the drivers using this flag. Signed-off-by:Steve Wise <swise@opengridcomputing.com> Signed-off-by:
Roland Dreier <rolandd@cisco.com>
Showing
- drivers/infiniband/hw/amso1100/c2_rnic.c 1 addition, 1 deletiondrivers/infiniband/hw/amso1100/c2_rnic.c
- drivers/infiniband/hw/cxgb3/iwch_provider.c 4 additions, 2 deletionsdrivers/infiniband/hw/cxgb3/iwch_provider.c
- drivers/infiniband/hw/nes/nes_hw.c 1 addition, 1 deletiondrivers/infiniband/hw/nes/nes_hw.c
- include/rdma/ib_verbs.h 2 additions, 1 deletioninclude/rdma/ib_verbs.h
Loading
Please register or sign in to comment