diff options
Diffstat (limited to 'src/plugins')
-rw-r--r-- | src/plugins/rdma/device.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/src/plugins/rdma/device.c b/src/plugins/rdma/device.c index a85686270f9..c218bf93c7f 100644 --- a/src/plugins/rdma/device.c +++ b/src/plugins/rdma/device.c @@ -788,12 +788,6 @@ rdma_dev_init (vlib_main_t * vm, rdma_device_t * rd, ethernet_mac_address_generate (rd->hwaddr.bytes); - if ((rd->mr = ibv_reg_mr (rd->pd, (void *) bm->buffer_mem_start, - bm->buffer_mem_size, - IBV_ACCESS_LOCAL_WRITE)) == 0) - return clib_error_return_unix (0, "Register MR Failed"); - rd->lkey = rd->mr->lkey; /* avoid indirection in datapath */ - /* * /!\ WARNING /!\ creation order is important * We *must* create TX queues *before* RX queues, otherwise we will receive |