Lines Matching refs:drop

62 #define DROP(drop) drop, "drop/s"  argument
117 __u64 drop; member
127 __u64 drop; member
139 __u64 drop; member
654 double t, pps, drop, err; in stats_get_rx_cnt() local
667 drop = calc_drop_pps(r, p, t); in stats_get_rx_cnt()
669 if (!pps && !drop && !err) in stats_get_rx_cnt()
675 str, PPS(pps), DROP(drop), ERR(err)); in stats_get_rx_cnt()
680 drop = calc_drop_pps(&rec->total, &prev->total, t); in stats_get_rx_cnt()
684 out->rx_cnt.drop = drop; in stats_get_rx_cnt()
687 out->totals.drop += drop; in stats_get_rx_cnt()
697 double t, pps, drop, err; in stats_get_cpumap_enqueue() local
707 drop = calc_drop_pps(&rec->total, &prev->total, t); in stats_get_cpumap_enqueue()
710 if (pps > 0 || drop > 0) { in stats_get_cpumap_enqueue()
718 print_err(drop, in stats_get_cpumap_enqueue()
721 str, PPS(pps), DROP(drop), err, "bulk-avg"); in stats_get_cpumap_enqueue()
730 drop = calc_drop_pps(r, p, t); in stats_get_cpumap_enqueue()
732 if (!pps && !drop && !err) in stats_get_cpumap_enqueue()
741 str, PPS(pps), DROP(drop), err, "bulk-avg"); in stats_get_cpumap_enqueue()
790 double t, pps, drop, err; in stats_get_cpumap_kthread() local
798 drop = calc_drop_pps(&rec->total, &prev->total, t); in stats_get_cpumap_kthread()
801 print_err(drop, " %-20s " FMT_COLUMNf FMT_COLUMNf FMT_COLUMNf "\n", in stats_get_cpumap_kthread()
802 pps ? "kthread total" : "kthread", PPS(pps), DROP(drop), err, in stats_get_cpumap_kthread()
811 drop = calc_drop_pps(r, p, t); in stats_get_cpumap_kthread()
813 if (!pps && !drop && !err) in stats_get_cpumap_kthread()
819 str, PPS(pps), DROP(drop), err, "sched"); in stats_get_cpumap_kthread()
861 double t, drop, sum = 0; in stats_get_redirect_err_cnt() local
871 drop = calc_drop_pps(&rec->total, &prev->total, t); in stats_get_redirect_err_cnt()
872 if (drop > 0 && !out) { in stats_get_redirect_err_cnt()
877 print_err(drop, " %-18s " FMT_COLUMNf "\n", str, in stats_get_redirect_err_cnt()
878 ERR(drop)); in stats_get_redirect_err_cnt()
884 double drop; in stats_get_redirect_err_cnt() local
886 drop = calc_drop_pps(r, p, t); in stats_get_redirect_err_cnt()
887 if (!drop) in stats_get_redirect_err_cnt()
892 ERR(drop)); in stats_get_redirect_err_cnt()
895 sum += drop; in stats_get_redirect_err_cnt()
909 double t, drop, sum = 0; in stats_get_exception_cnt() local
918 drop = calc_drop_pps(&rec->total, &prev->total, t); in stats_get_exception_cnt()
920 sum += drop; in stats_get_exception_cnt()
922 if (drop > 0 && !out) { in stats_get_exception_cnt()
924 action2str(rec_i), ERR(drop)); in stats_get_exception_cnt()
930 double drop; in stats_get_exception_cnt() local
932 drop = calc_drop_pps(r, p, t); in stats_get_exception_cnt()
933 if (!drop) in stats_get_exception_cnt()
938 str, ERR(drop)); in stats_get_exception_cnt()
954 double pps, drop, info, err; in stats_get_devmap_xmit() local
968 drop = calc_drop_pps(r, p, t); in stats_get_devmap_xmit()
971 if (!pps && !drop && !err) in stats_get_devmap_xmit()
977 info = (pps + drop) / info; /* calc avg bulk */ in stats_get_devmap_xmit()
980 str, XMIT(pps), DROP(drop), err, "drv_err/s", in stats_get_devmap_xmit()
985 drop = calc_drop_pps(&rec->total, &prev->total, t); in stats_get_devmap_xmit()
988 info = (pps + drop) / info; /* calc avg bulk */ in stats_get_devmap_xmit()
992 out->xmit_cnt.drop = drop; in stats_get_devmap_xmit()
996 out->totals.drop_xmit += drop; in stats_get_devmap_xmit()
1007 double pps, drop, info, err; in stats_get_devmap_xmit_multi() local
1047 drop = calc_drop_pps(&r->total, &p->total, t); in stats_get_devmap_xmit_multi()
1050 info = (pps + drop) / info; /* calc avg bulk */ in stats_get_devmap_xmit_multi()
1056 out->totals.drop_xmit += drop; in stats_get_devmap_xmit_multi()
1070 if (pps || drop || err) { in stats_get_devmap_xmit_multi()
1071 print_err(drop, in stats_get_devmap_xmit_multi()
1073 __COLUMN(".2f") "\n", str, XMIT(pps), DROP(drop), in stats_get_devmap_xmit_multi()
1085 drop = calc_drop_pps(rc, pc, t); in stats_get_devmap_xmit_multi()
1088 if (!pps && !drop && !err) in stats_get_devmap_xmit_multi()
1094 info = (pps + drop) / info; /* calc avg bulk */ in stats_get_devmap_xmit_multi()
1098 DROP(drop), err, "drv_err/s", info, "bulk-avg"); in stats_get_devmap_xmit_multi()
1115 out->totals.err + out->totals.drop + out->totals.drop_xmit, in stats_print()
1126 print_err((out->rx_cnt.err || out->rx_cnt.drop), in stats_print()
1128 str, PPS(out->rx_cnt.pps), DROP(out->rx_cnt.drop), in stats_print()
1175 print_err(out->xmit_cnt.err || out->xmit_cnt.drop, in stats_print()
1179 DROP(out->xmit_cnt.drop), out->xmit_cnt.err, in stats_print()
1346 if (sample_out.totals.drop) in sample_summary_print()
1348 sample_out.totals.drop); in sample_summary_print()
1432 sample_out.totals.drop += out->totals.drop; in sample_summary_update()