Lines Matching refs:printf

46 #define STATS_BDR_STR(w, s) printf("%.*s%s%.*s\n", w, \
101 printf("%s [EAL options] -- -p PORTMASK\n" in proc_info_usage()
187 printf("Invalid host id or not specified\n"); in proc_info_preparse_args()
298 printf("name:%s:%s\n", in proc_info_parse_args()
308 printf("xstats-id list parse error.\n"); in proc_info_parse_args()
325 printf("----------- MEMORY_SEGMENTS -----------\n"); in meminfo_display()
327 printf("--------- END_MEMORY_SEGMENTS ---------\n"); in meminfo_display()
329 printf("------------ MEMORY_ZONES -------------\n"); in meminfo_display()
331 printf("---------- END_MEMORY_ZONES -----------\n"); in meminfo_display()
333 printf("------------- TAIL_QUEUES -------------\n"); in meminfo_display()
335 printf("---------- END_TAIL_QUEUES ------------\n"); in meminfo_display()
347 printf("\n %s NIC statistics for port %-2d %s\n", in nic_stats_display()
350 printf(" RX-packets: %-10"PRIu64" RX-errors: %-10"PRIu64 in nic_stats_display()
353 printf(" RX-nombuf: %-10"PRIu64"\n", stats.rx_nombuf); in nic_stats_display()
354 printf(" TX-packets: %-10"PRIu64" TX-errors: %-10"PRIu64 in nic_stats_display()
358 printf("\n"); in nic_stats_display()
360 printf(" Stats reg %2d RX-packets: %-10"PRIu64 in nic_stats_display()
366 printf("\n"); in nic_stats_display()
368 printf(" Stats reg %2d TX-packets: %-10"PRIu64 in nic_stats_display()
373 printf(" %s############################%s\n", in nic_stats_display()
380 printf("\n Clearing NIC stats for port %d\n", port_id); in nic_stats_clear()
382 printf("\n NIC statistics for port %d cleared\n", port_id); in nic_stats_clear()
444 printf("###### NIC statistics for port %-2d, statistic name '%s':\n", in nic_xstats_by_name_display()
448 printf("%s: %"PRIu64"\n", name, id); in nic_xstats_by_name_display()
450 printf("Statistic not found...\n"); in nic_xstats_by_name_display()
464 printf("Cannot allocate memory for xstats\n"); in nic_xstats_by_ids_display()
470 printf("Cannot allocate memory for xstat names\n"); in nic_xstats_by_ids_display()
477 printf("Cannot get xstat names\n"); in nic_xstats_by_ids_display()
481 printf("###### NIC extended statistics for port %-2d #########\n", in nic_xstats_by_ids_display()
483 printf("%s############################\n", nic_stats_border); in nic_xstats_by_ids_display()
486 printf("Cannot get xstats\n"); in nic_xstats_by_ids_display()
491 printf("%s: %"PRIu64"\n", in nic_xstats_by_ids_display()
495 printf("%s############################\n", nic_stats_border); in nic_xstats_by_ids_display()
511 printf("Cannot get xstats count\n"); in nic_xstats_display()
516 printf("Cannot allocate memory for xstats\n"); in nic_xstats_display()
522 printf("Cannot allocate memory for xstat names\n"); in nic_xstats_display()
528 printf("Cannot get xstat names\n"); in nic_xstats_display()
532 printf("###### NIC extended statistics for port %-2d #########\n", in nic_xstats_display()
534 printf("%s############################\n", in nic_xstats_display()
538 printf("Cannot get xstats\n"); in nic_xstats_display()
561 printf("%s: %"PRIu64"\n", xstats_names[i].name, in nic_xstats_display()
566 printf("%s############################\n", in nic_xstats_display()
578 printf("\n Clearing NIC xstats for port %d\n", port_id); in nic_xstats_clear()
581 printf("\n Error clearing xstats for port %d: %s\n", port_id, in nic_xstats_clear()
586 printf("\n NIC extended statistics for port %d cleared\n", port_id); in nic_xstats_clear()
599 printf("Cannot get metrics count\n"); in metrics_display()
603 printf("No metrics to display (none have been registered)\n"); in metrics_display()
610 printf("Cannot allocate memory for metrics\n"); in metrics_display()
616 printf("Cannot allocate memory for metrcis names\n"); in metrics_display()
622 printf("Cannot get metrics names\n"); in metrics_display()
629 printf("###### Non port specific metrics #########\n"); in metrics_display()
631 printf("###### metrics for port %-2d #########\n", port_id); in metrics_display()
632 printf("%s############################\n", nic_stats_border); in metrics_display()
635 printf("Cannot get metrics values\n"); in metrics_display()
643 printf("%s: %"PRIu64"\n", names[i].name, metrics[i].value); in metrics_display()
645 printf("%s############################\n", nic_stats_border); in metrics_display()
659 printf(" - crypto context\n"); in show_security_context()
660 printf("\t -- security context - %p\n", p_ctx); in show_security_context()
661 printf("\t -- size %u\n", in show_security_context()
666 printf("\t -- action (0x%x), protocol (0x%x)," in show_security_context()
671 printf("\t -- capabilities - oper type %x\n", in show_security_context()
680 printf(" offloads :"); in show_offloads()
683 printf(" %s", show_offload(offload_flag)); in show_offloads()
718 printf(" - generic config\n"); in show_port()
722 printf("Error during getting device info: %s\n", in show_port()
727 printf("\t -- driver %s device %s socket %d\n", in show_port()
733 printf("\t -- owner %#"PRIx64":%s\n", in show_port()
738 printf("Link get failed (port %u): %s\n", in show_port()
744 printf("\t%s\n", link_status_text); in show_port()
749 printf("\t -- flow control mode %s%s high %u low %u pause %u%s%s\n", in show_port()
766 printf("\t -- mac %s\n", ebuf); in show_port()
771 printf("\t -- promiscuous mode %s\n", in show_port()
776 printf("\t -- all multicast mode %s\n", in show_port()
781 printf("\t -- mtu (%d)\n", mtu); in show_port()
792 printf(" - rx queue\n"); in show_port()
794 printf("\t -- %d descriptors ", j); in show_port()
797 printf("%d/", count); in show_port()
798 printf("%u", queue_info.nb_desc); in show_port()
801 printf(" scattered"); in show_port()
804 printf(" drop_en"); in show_port()
807 printf(" deferred_start"); in show_port()
810 printf(" rx buffer size %u", in show_port()
813 printf(" mempool %s socket %d", in show_port()
820 printf("\n"); in show_port()
831 printf(" - tx queue\n"); in show_port()
833 printf("\t -- %d descriptors %d", in show_port()
836 printf(" thresh %u/%u", in show_port()
841 printf(" deferred_start"); in show_port()
845 printf("\n"); in show_port()
851 printf(" - RSS\n"); in show_port()
852 printf("\t -- RSS len %u key (hex):", in show_port()
855 printf(" %x", rss_conf.rss_key[k]); in show_port()
856 printf("\t -- hf 0x%"PRIx64"\n", in show_port()
874 printf("\t -- nonleaf sched max:\n" in display_nodecap_info()
886 printf("\t -- leaf cman support:\n" in display_nodecap_info()
907 printf("\t -- shaper private: (%d) dual rate (%d)\n", in display_levelcap_info()
910 printf("\t -- shaper share: (%u)\n", in display_levelcap_info()
912 printf("\t -- non leaf sched MAX:\n" in display_levelcap_info()
924 printf("\t -- shaper private: (%d) dual rate (%d)\n", in display_levelcap_info()
927 printf("\t -- shaper share: (%u)\n", in display_levelcap_info()
929 printf(" -- leaf cman support:\n" in display_levelcap_info()
966 printf("Error during getting device (port %u) info: %s\n", in show_tm()
971 printf(" - Generic for port (%u)\n" in show_tm()
986 printf(" - MAX: nodes (%u) levels (%u) children (%u)\n", in show_tm()
991 printf(" - identical nodes: non leaf (%d) leaf (%d)\n", in show_tm()
995 printf(" - Shaper MAX:\n" in show_tm()
1005 printf(" - mark support:\n"); in show_tm()
1006 printf("\t -- vlan dei: GREEN (%d) YELLOW (%d) RED (%d)\n", in show_tm()
1010 printf("\t -- ip ecn tcp: GREEN (%d) YELLOW (%d) RED (%d)\n", in show_tm()
1014 printf("\t -- ip ecn sctp: GREEN (%d) YELLOW (%d) RED (%d)\n", in show_tm()
1018 printf("\t -- ip dscp: GREEN (%d) YELLOW (%d) RED (%d)\n", in show_tm()
1023 printf(" - mask stats (0x%"PRIx64")" in show_tm()
1028 printf(" - sched MAX:\n" in show_tm()
1040 printf(" - CMAN support:\n" in show_tm()
1046 printf("\t -- MAX WRED CONTEXT:" in show_tm()
1061 printf(" NODE %u\n", j); in show_tm()
1062 printf("\t - shaper private: (%d) dual rate (%d)\n", in show_tm()
1065 printf("\t - shaper shared max: (%u)\n", in show_tm()
1067 printf("\t - stats mask %"PRIx64"\n", in show_tm()
1084 printf(" - Level %u\n", j); in show_tm()
1085 printf("\t -- node MAX: %u non leaf %u leaf %u\n", in show_tm()
1089 printf("\t -- indetical: non leaf %u leaf %u\n", in show_tm()
1107 printf(" - leaf nodes (%u)\n", n_leaf_nodes); in show_tm()
1119 printf(" - STATS for node (%u)\n", j); in show_tm()
1120 printf(" -- pkts (%"PRIu64") bytes (%"PRIu64")\n", in show_tm()
1127 printf(" -- leaf queued:" in show_tm()
1131 printf(" - dropped:\n" in show_tm()
1154 printf("\t -- feature flags\n"); in display_crypto_feature_info()
1155 printf("\t\t + symmetric (%c), asymmetric (%c)\n" in display_crypto_feature_info()
1160 printf("\t\t + CPU: SSE (%c), AVX (%c), AVX2 (%c), AVX512 (%c)\n", in display_crypto_feature_info()
1165 printf("\t\t + AESNI: CPU (%c), HW (%c)\n", in display_crypto_feature_info()
1168 printf("\t\t + SECURITY OFFLOAD (%c)\n", in display_crypto_feature_info()
1170 printf("\t\t + ARM: NEON (%c), CE (%c)\n", in display_crypto_feature_info()
1173 printf("\t -- buffer offload\n"); in display_crypto_feature_info()
1174 printf("\t\t + IN_PLACE_SGL (%c)\n", in display_crypto_feature_info()
1176 printf("\t\t + OOP_SGL_IN_SGL_OUT (%c)\n", in display_crypto_feature_info()
1178 printf("\t\t + OOP_SGL_IN_LB_OUT (%c)\n", in display_crypto_feature_info()
1180 printf("\t\t + OOP_LB_IN_SGL_OUT (%c)\n", in display_crypto_feature_info()
1182 printf("\t\t + OOP_LB_IN_LB_OUT (%c)\n", in display_crypto_feature_info()
1200 printf(" - device (%u)\n", i); in show_crypto()
1201 printf("\t -- name (%s)\n" in show_crypto()
1215 printf("\t -- stats\n"); in show_crypto()
1216 printf("\t\t + enqueue count (%"PRIu64")" in show_crypto()
1220 printf("\t\t + dequeue count (%"PRIu64")" in show_crypto()
1241 printf(" - Name (%s) on socket (%d)\n" in show_ring()
1249 printf(" - size (%u) mask (0x%x) capacity (%u)\n", in show_ring()
1253 printf(" - count (%u) free count (%u)\n", in show_ring()
1256 printf(" - full (%d) empty (%d)\n", in show_ring()
1283 printf(" - Name: %s on socket %d\n" in show_mempool()
1298 printf(" - Size %u Cache %u element %u\n" in show_mempool()
1307 printf(" - memezone - socket %d\n", in show_mempool()
1309 printf(" - Count: avail (%u), in use (%u)\n", in show_mempool()
1312 printf(" - ops_index %d ops_name %s\n", in show_mempool()
1326 printf(" - obj_idx %u opaque %p obj %p\n", in mempool_itr_obj()
1346 printf("\n - iterated %u objects\n", ret); in iter_mempool()
1367 printf("Failed to parse arguments\n"); in main()
1463 printf("Error from rte_eal_cleanup(), %d\n", ret); in main()