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.c8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/plugins/rdma/unformat.c b/src/plugins/rdma/unformat.c
index 2bbb266f1bf..26c184793bd 100644
--- a/src/plugins/rdma/unformat.c
+++ b/src/plugins/rdma/unformat.c
@@ -24,7 +24,7 @@ unformat_rdma_create_if_args (unformat_input_t * input, va_list * vargs)
rdma_create_if_args_t *args = va_arg (*vargs, rdma_create_if_args_t *);
unformat_input_t _line_input, *line_input = &_line_input;
uword ret = 1;
-
+ u32 tmp;
if (!unformat_user (input, unformat_line_input, line_input))
return 0;
@@ -48,6 +48,12 @@ unformat_rdma_create_if_args (unformat_input_t * input, va_list * vargs)
args->mode = RDMA_MODE_IBV;
else if (unformat (line_input, "mode dv"))
args->mode = RDMA_MODE_DV;
+ else if (unformat (line_input, "no-striding"))
+ args->disable_striding_rq = 1;
+ else if (unformat (line_input, "no-multi-seg"))
+ args->no_multi_seg = 1;
+ else if (unformat (line_input, "max-pktlen %u", &tmp))
+ args->max_pktlen = tmp;
else
{
/* return failure on unknown input */