Lines Matching full:drop
62 #define DROP(drop) drop, "drop/s" argument
117 __u64 drop; member
124 __u64 drop; member
136 __u64 drop; member
219 " err,drop/s Aggregated count of errors per second (including dropped packets)\n" in sample_print_help()
226 " \t\t\tWhenever an error or packet drop occurs, details of per CPU error\n" in sample_print_help()
227 " \t\t\tand drop statistics will be expanded inline in terse mode.\n" in sample_print_help()
651 double t, pps, drop, err; in stats_get_rx_cnt() local
664 drop = calc_drop_pps(r, p, t); in stats_get_rx_cnt()
666 if (!pps && !drop && !err) in stats_get_rx_cnt()
672 str, PPS(pps), DROP(drop), ERR(err)); in stats_get_rx_cnt()
677 drop = calc_drop_pps(&rec->total, &prev->total, t); in stats_get_rx_cnt()
681 out->rx_cnt.drop = drop; in stats_get_rx_cnt()
684 out->totals.drop += drop; in stats_get_rx_cnt()
694 double t, pps, drop, err; in stats_get_cpumap_enqueue() local
704 drop = calc_drop_pps(&rec->total, &prev->total, t); in stats_get_cpumap_enqueue()
707 if (pps > 0 || drop > 0) { in stats_get_cpumap_enqueue()
715 print_err(drop, in stats_get_cpumap_enqueue()
718 str, PPS(pps), DROP(drop), err, "bulk-avg"); in stats_get_cpumap_enqueue()
727 drop = calc_drop_pps(r, p, t); in stats_get_cpumap_enqueue()
729 if (!pps && !drop && !err) in stats_get_cpumap_enqueue()
738 str, PPS(pps), DROP(drop), err, "bulk-avg"); in stats_get_cpumap_enqueue()
761 "xdp_stats", PASS(xdp_pass), DROP(xdp_drop), in stats_get_cpumap_remote()
777 str, PASS(xdp_pass), DROP(xdp_drop), in stats_get_cpumap_remote()
787 double t, pps, drop, err; in stats_get_cpumap_kthread() local
795 drop = calc_drop_pps(&rec->total, &prev->total, t); in stats_get_cpumap_kthread()
798 print_err(drop, " %-20s " FMT_COLUMNf FMT_COLUMNf FMT_COLUMNf "\n", in stats_get_cpumap_kthread()
799 pps ? "kthread total" : "kthread", PPS(pps), DROP(drop), err, in stats_get_cpumap_kthread()
808 drop = calc_drop_pps(r, p, t); in stats_get_cpumap_kthread()
810 if (!pps && !drop && !err) in stats_get_cpumap_kthread()
816 str, PPS(pps), DROP(drop), err, "sched"); in stats_get_cpumap_kthread()
858 double t, drop, sum = 0; in stats_get_redirect_err_cnt() local
868 drop = calc_drop_pps(&rec->total, &prev->total, t); in stats_get_redirect_err_cnt()
869 if (drop > 0 && !out) { in stats_get_redirect_err_cnt()
874 print_err(drop, " %-18s " FMT_COLUMNf "\n", str, in stats_get_redirect_err_cnt()
875 ERR(drop)); in stats_get_redirect_err_cnt()
881 double drop; in stats_get_redirect_err_cnt() local
883 drop = calc_drop_pps(r, p, t); in stats_get_redirect_err_cnt()
884 if (!drop) in stats_get_redirect_err_cnt()
889 ERR(drop)); in stats_get_redirect_err_cnt()
892 sum += drop; in stats_get_redirect_err_cnt()
906 double t, drop, sum = 0; in stats_get_exception_cnt() local
915 drop = calc_drop_pps(&rec->total, &prev->total, t); in stats_get_exception_cnt()
917 sum += drop; in stats_get_exception_cnt()
919 if (drop > 0 && !out) { in stats_get_exception_cnt()
921 action2str(rec_i), ERR(drop)); in stats_get_exception_cnt()
927 double drop; in stats_get_exception_cnt() local
929 drop = calc_drop_pps(r, p, t); in stats_get_exception_cnt()
930 if (!drop) in stats_get_exception_cnt()
935 str, ERR(drop)); in stats_get_exception_cnt()
951 double pps, drop, info, err; in stats_get_devmap_xmit() local
965 drop = calc_drop_pps(r, p, t); in stats_get_devmap_xmit()
968 if (!pps && !drop && !err) in stats_get_devmap_xmit()
974 info = (pps + drop) / info; /* calc avg bulk */ in stats_get_devmap_xmit()
977 str, XMIT(pps), DROP(drop), err, "drv_err/s", in stats_get_devmap_xmit()
982 drop = calc_drop_pps(&rec->total, &prev->total, t); in stats_get_devmap_xmit()
985 info = (pps + drop) / info; /* calc avg bulk */ in stats_get_devmap_xmit()
989 out->xmit_cnt.drop = drop; in stats_get_devmap_xmit()
993 out->totals.drop_xmit += drop; in stats_get_devmap_xmit()
1004 double pps, drop, info, err; in stats_get_devmap_xmit_multi() local
1044 drop = calc_drop_pps(&r->total, &p->total, t); in stats_get_devmap_xmit_multi()
1047 info = (pps + drop) / info; /* calc avg bulk */ in stats_get_devmap_xmit_multi()
1053 out->totals.drop_xmit += drop; in stats_get_devmap_xmit_multi()
1067 if (pps || drop || err) { in stats_get_devmap_xmit_multi()
1068 print_err(drop, in stats_get_devmap_xmit_multi()
1070 __COLUMN(".2f") "\n", str, XMIT(pps), DROP(drop), in stats_get_devmap_xmit_multi()
1082 drop = calc_drop_pps(rc, pc, t); in stats_get_devmap_xmit_multi()
1085 if (!pps && !drop && !err) in stats_get_devmap_xmit_multi()
1091 info = (pps + drop) / info; /* calc avg bulk */ in stats_get_devmap_xmit_multi()
1095 DROP(drop), err, "drv_err/s", info, "bulk-avg"); in stats_get_devmap_xmit_multi()
1112 out->totals.err + out->totals.drop + out->totals.drop_xmit, in stats_print()
1113 "err,drop/s"); in stats_print()
1123 print_err((out->rx_cnt.err || out->rx_cnt.drop), in stats_print()
1125 str, PPS(out->rx_cnt.pps), DROP(out->rx_cnt.drop), in stats_print()
1172 print_err(out->xmit_cnt.err || out->xmit_cnt.drop, in stats_print()
1176 DROP(out->xmit_cnt.drop), out->xmit_cnt.err, in stats_print()
1343 if (sample_out.totals.drop) in sample_summary_print()
1345 sample_out.totals.drop); in sample_summary_print()
1429 sample_out.totals.drop += out->totals.drop; in sample_summary_update()