From f65c8d73c7552d887182b4a3e98190a1b735c109 Mon Sep 17 00:00:00 2001 From: Erik Paulson Date: Mon, 5 Jun 2017 11:12:32 -0700 Subject: [PATCH] Update fi_info for new 1.5 mode bits Adds FI_RESTRICTED_COMP and FI_CONTEXT2 to the fi_info tool. Signed-off-by: Erik Paulson --- util/info.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/util/info.c b/util/info.c index d6332cb9f3d..263eca9e2a4 100644 --- a/util/info.c +++ b/util/info.c @@ -148,10 +148,12 @@ static int str2cap(char *inputstr, uint64_t *value) static int str2mode(char *inputstr, uint64_t *value) { ORCASE(FI_CONTEXT); + ORCASE(FI_CONTEXT2); ORCASE(FI_LOCAL_MR); ORCASE(FI_MSG_PREFIX); ORCASE(FI_ASYNC_IOV); ORCASE(FI_RX_CQ_DATA); + ORCASE(FI_RESTRICTED_COMP); fprintf(stderr, "error: Unrecognized mode: %s\n", inputstr);