Lines Matching defs:dest

85 static char *class_port_info(ib_portid_t * dest, char **argv, int argc)
90 if (!cc_query_status_via(data, dest, CLASS_PORT_INFO,
96 printf("# ClassPortInfo: %s\n%s", portid2str(dest), buf);
100 static char *congestion_info(ib_portid_t * dest, char **argv, int argc)
105 if (!cc_query_status_via(data, dest, IB_CC_ATTR_CONGESTION_INFO,
111 printf("# CongestionInfo: %s\n%s", portid2str(dest), buf);
115 static char *congestion_key_info(ib_portid_t * dest, char **argv, int argc)
120 if (!cc_query_status_via(data, dest, IB_CC_ATTR_CONGESTION_KEY_INFO,
126 printf("# CongestionKeyInfo: %s\n%s", portid2str(dest), buf);
130 static char *congestion_log(ib_portid_t * dest, char **argv, int argc)
137 if (!cc_query_status_via(data, dest, IB_CC_ATTR_CONGESTION_LOG,
148 printf("# CongestionLog: %s\n%s", portid2str(dest), buf);
186 static char *switch_congestion_setting(ib_portid_t * dest, char **argv, int argc)
191 if (!cc_query_status_via(data, dest, IB_CC_ATTR_SWITCH_CONGESTION_SETTING,
197 printf("# SwitchCongestionSetting: %s\n%s", portid2str(dest), buf);
201 static char *switch_port_congestion_setting(ib_portid_t * dest, char **argv, int argc)
213 if (!smp_query_via(data, dest, IB_ATTR_NODE_INFO, 0, 0, srcport))
222 printf("# SwitchPortCongestionSetting: %s\n", portid2str(dest));
229 if (!cc_query_status_via(data, dest, IB_CC_ATTR_SWITCH_PORT_CONGESTION_SETTING,
246 if (!cc_query_status_via(data, dest, IB_CC_ATTR_SWITCH_PORT_CONGESTION_SETTING,
263 static char *ca_congestion_setting(ib_portid_t * dest, char **argv, int argc)
269 if (!cc_query_status_via(data, dest, IB_CC_ATTR_CA_CONGESTION_SETTING,
275 printf("# CACongestionSetting: %s\n%s\n", portid2str(dest), buf);
287 static char *congestion_control_table(ib_portid_t * dest, char **argv, int argc)
294 if (!cc_query_status_via(data, dest, IB_CC_ATTR_CONGESTION_CONTROL_TABLE,
302 printf("# CongestionControlTable: %s\n%s\n", portid2str(dest), buf);
311 if (!cc_query_status_via(data, dest, IB_CC_ATTR_CONGESTION_CONTROL_TABLE,
327 static char *timestamp_dump(ib_portid_t * dest, char **argv, int argc)
332 if (!cc_query_status_via(data, dest, IB_CC_ATTR_TIMESTAMP,
338 printf("# Timestamp: %s\n%s", portid2str(dest), buf);