summaryrefslogtreecommitdiffstats
path: root/src/plugins/rdma/unformat.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/rdma/unformat.c')
-rw-r--r--src/plugins/rdma/unformat.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/plugins/rdma/unformat.c b/src/plugins/rdma/unformat.c
index 0b4a1212500..2bbb266f1bf 100644
--- a/src/plugins/rdma/unformat.c
+++ b/src/plugins/rdma/unformat.c
@@ -42,6 +42,12 @@ unformat_rdma_create_if_args (unformat_input_t * input, va_list * vargs)
;
else if (unformat (line_input, "num-rx-queues %u", &args->rxq_num))
;
+ else if (unformat (line_input, "mode auto"))
+ args->mode = RDMA_MODE_AUTO;
+ else if (unformat (line_input, "mode ibv"))
+ args->mode = RDMA_MODE_IBV;
+ else if (unformat (line_input, "mode dv"))
+ args->mode = RDMA_MODE_DV;
else
{
/* return failure on unknown input */