numam-spdk/lib/rdma
Alexey Marchuk a12530d6d2 rdma: Add RDMA provider API to send/flush Work Requests.
Verbs implementation: doesn't differ from the original:
- send_wr: saves WRs in the qpair internal structure
- flush_wr: calls ibv_post_send

Direct Verbs implementation:
- send_wr: calls ibv_wr_start for the first WR;
Calls opcode-specific function to add a WQE to SQ
Tracks queued WRs to return a correct pointer to 'bad_wr'
- flush_wr: calls ibv_wr_complete - it flushes to the NIC
all WRs added between ibv_wr_start and ibv_wr_complete

Change-Id: I65a26914db688af20589f3b69a994d214d860726
Signed-off-by: Alexey Marchuk <alexeymar@mellanox.com>
Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/1659
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
Community-CI: Mellanox Build Bot
Reviewed-by: Ben Walker <benjamin.walker@intel.com>
Reviewed-by: Seth Howell <seth.howell@intel.com>
Reviewed-by: Jim Harris <james.r.harris@intel.com>
2020-05-20 12:03:50 +00:00
..
Makefile rdma: Add mlx5_dv RDMA provider 2020-05-20 12:03:50 +00:00
rdma_mlx5_dv.c rdma: Add RDMA provider API to send/flush Work Requests. 2020-05-20 12:03:50 +00:00
rdma_verbs.c rdma: Add RDMA provider API to send/flush Work Requests. 2020-05-20 12:03:50 +00:00
spdk_rdma.map rdma: Add RDMA provider API to send/flush Work Requests. 2020-05-20 12:03:50 +00:00