rdma: implement striding rq for multiseg rx 75/29575/3
authorMohammed Hawari <mohammed@hawari.fr>
Wed, 21 Oct 2020 12:48:38 +0000 (14:48 +0200)
committerDamjan Marion <dmarion@me.com>
Sat, 24 Oct 2020 09:25:19 +0000 (09:25 +0000)
commit4df9f737a24be94c2988f18337a4ad845b1b0186
tree292a032012d443205db2988667946bb77aeb3008
parent91603958d1d4fc3114739f9b264808940942e5c8
rdma: implement striding rq for multiseg rx

This change leverages the striding RQ feature of
ConnectX-5 adapters to support chained buffers on
the RX path. In Striding RQ mode, WQE are SG lists
of data segments, each mapped to a vlib_buffer.
When a packet is received, it can consume one or
multiple data segments belonging to the WQE,
without wasting the whole WQE.

Change-Id: I74eba5b2c2c66538e75e046335058ba011cb27fd
Type: improvement
Signed-off-by: Mohammed Hawari <mohammed@hawari.fr>
src/plugins/rdma/device.c
src/plugins/rdma/input.c
src/plugins/rdma/rdma.h
src/plugins/rdma/rdma_mlx5dv.h