]> git.proxmox.com Git - mirror_iproute2.git/blobdiff - rdma/res.c
rdma: Add "PID" criteria support for statistic counter auto mode
[mirror_iproute2.git] / rdma / res.c
index 251f5041f54cde97d51dd96aec40e02a46e18e19..c99a1fcb476236294683af40e5af8092d8f1520f 100644 (file)
@@ -179,6 +179,12 @@ void print_link(struct rd *rd, uint32_t idx, const char *name, uint32_t port,
                print_color_uint(PRINT_ANY, COLOR_NONE, "port", "%u ", port);
 }
 
+void print_qp_type(struct rd *rd, uint32_t val)
+{
+       print_color_string(PRINT_ANY, COLOR_NONE, "qp-type", "qp-type %s ",
+                          qp_types_to_str(val));
+}
+
 char *get_task_name(uint32_t pid)
 {
        char *comm;