From: Gal Pressman Date: Wed, 15 May 2019 06:58:36 +0000 (+0300) Subject: rdma: Update node type strings X-Git-Tag: v5.2.0~37 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7087f7c0ce380809153cba5ff8fe7768cdb32b4f;p=thirdparty%2Fiproute2.git rdma: Update node type strings Fix typo in usnic_udp node type and add a string for the unspecified node type. Signed-off-by: Gal Pressman Signed-off-by: Stephen Hemminger --- diff --git a/rdma/dev.c b/rdma/dev.c index 339625202..904836221 100644 --- a/rdma/dev.c +++ b/rdma/dev.c @@ -170,7 +170,8 @@ static const char *node_type_to_str(uint8_t node_type) static const char * const node_type_str[] = { "unknown", "ca", "switch", "router", "rnic", "usnic", - "usnic_dp" }; + "usnic_udp", + "unspecified" }; if (node_type < ARRAY_SIZE(node_type_str)) return node_type_str[node_type]; return "unknown";