Lines Matching refs:drop

61 #define DROP(drop) drop, "drop/s"  argument
116 __u64 drop; member
126 __u64 drop; member
138 __u64 drop; member
653 double t, pps, drop, err; in stats_get_rx_cnt() local
666 drop = calc_drop_pps(r, p, t); in stats_get_rx_cnt()
668 if (!pps && !drop && !err) in stats_get_rx_cnt()
674 str, PPS(pps), DROP(drop), ERR(err)); in stats_get_rx_cnt()
679 drop = calc_drop_pps(&rec->total, &prev->total, t); in stats_get_rx_cnt()
683 out->rx_cnt.drop = drop; in stats_get_rx_cnt()
686 out->totals.drop += drop; in stats_get_rx_cnt()
696 double t, pps, drop, err; in stats_get_cpumap_enqueue() local
706 drop = calc_drop_pps(&rec->total, &prev->total, t); in stats_get_cpumap_enqueue()
709 if (pps > 0 || drop > 0) { in stats_get_cpumap_enqueue()
717 print_err(drop, in stats_get_cpumap_enqueue()
720 str, PPS(pps), DROP(drop), err, "bulk-avg"); in stats_get_cpumap_enqueue()
729 drop = calc_drop_pps(r, p, t); in stats_get_cpumap_enqueue()
731 if (!pps && !drop && !err) in stats_get_cpumap_enqueue()
740 str, PPS(pps), DROP(drop), err, "bulk-avg"); in stats_get_cpumap_enqueue()
789 double t, pps, drop, err; in stats_get_cpumap_kthread() local
797 drop = calc_drop_pps(&rec->total, &prev->total, t); in stats_get_cpumap_kthread()
800 print_err(drop, " %-20s " FMT_COLUMNf FMT_COLUMNf FMT_COLUMNf "\n", in stats_get_cpumap_kthread()
801 pps ? "kthread total" : "kthread", PPS(pps), DROP(drop), err, in stats_get_cpumap_kthread()
810 drop = calc_drop_pps(r, p, t); in stats_get_cpumap_kthread()
812 if (!pps && !drop && !err) in stats_get_cpumap_kthread()
818 str, PPS(pps), DROP(drop), err, "sched"); in stats_get_cpumap_kthread()
860 double t, drop, sum = 0; in stats_get_redirect_err_cnt() local
870 drop = calc_drop_pps(&rec->total, &prev->total, t); in stats_get_redirect_err_cnt()
871 if (drop > 0 && !out) { in stats_get_redirect_err_cnt()
876 print_err(drop, " %-18s " FMT_COLUMNf "\n", str, in stats_get_redirect_err_cnt()
877 ERR(drop)); in stats_get_redirect_err_cnt()
883 double drop; in stats_get_redirect_err_cnt() local
885 drop = calc_drop_pps(r, p, t); in stats_get_redirect_err_cnt()
886 if (!drop) in stats_get_redirect_err_cnt()
891 ERR(drop)); in stats_get_redirect_err_cnt()
894 sum += drop; in stats_get_redirect_err_cnt()
908 double t, drop, sum = 0; in stats_get_exception_cnt() local
917 drop = calc_drop_pps(&rec->total, &prev->total, t); in stats_get_exception_cnt()
919 sum += drop; in stats_get_exception_cnt()
921 if (drop > 0 && !out) { in stats_get_exception_cnt()
923 action2str(rec_i), ERR(drop)); in stats_get_exception_cnt()
929 double drop; in stats_get_exception_cnt() local
931 drop = calc_drop_pps(r, p, t); in stats_get_exception_cnt()
932 if (!drop) in stats_get_exception_cnt()
937 str, ERR(drop)); in stats_get_exception_cnt()
953 double pps, drop, info, err; in stats_get_devmap_xmit() local
967 drop = calc_drop_pps(r, p, t); in stats_get_devmap_xmit()
970 if (!pps && !drop && !err) in stats_get_devmap_xmit()
976 info = (pps + drop) / info; /* calc avg bulk */ in stats_get_devmap_xmit()
979 str, XMIT(pps), DROP(drop), err, "drv_err/s", in stats_get_devmap_xmit()
984 drop = calc_drop_pps(&rec->total, &prev->total, t); in stats_get_devmap_xmit()
987 info = (pps + drop) / info; /* calc avg bulk */ in stats_get_devmap_xmit()
991 out->xmit_cnt.drop = drop; in stats_get_devmap_xmit()
995 out->totals.drop_xmit += drop; in stats_get_devmap_xmit()
1006 double pps, drop, info, err; in stats_get_devmap_xmit_multi() local
1046 drop = calc_drop_pps(&r->total, &p->total, t); in stats_get_devmap_xmit_multi()
1049 info = (pps + drop) / info; /* calc avg bulk */ in stats_get_devmap_xmit_multi()
1055 out->totals.drop_xmit += drop; in stats_get_devmap_xmit_multi()
1069 if (pps || drop || err) { in stats_get_devmap_xmit_multi()
1070 print_err(drop, in stats_get_devmap_xmit_multi()
1072 __COLUMN(".2f") "\n", str, XMIT(pps), DROP(drop), in stats_get_devmap_xmit_multi()
1084 drop = calc_drop_pps(rc, pc, t); in stats_get_devmap_xmit_multi()
1087 if (!pps && !drop && !err) in stats_get_devmap_xmit_multi()
1093 info = (pps + drop) / info; /* calc avg bulk */ in stats_get_devmap_xmit_multi()
1097 DROP(drop), err, "drv_err/s", info, "bulk-avg"); in stats_get_devmap_xmit_multi()
1114 out->totals.err + out->totals.drop + out->totals.drop_xmit, in stats_print()
1125 print_err((out->rx_cnt.err || out->rx_cnt.drop), in stats_print()
1127 str, PPS(out->rx_cnt.pps), DROP(out->rx_cnt.drop), in stats_print()
1174 print_err(out->xmit_cnt.err || out->xmit_cnt.drop, in stats_print()
1178 DROP(out->xmit_cnt.drop), out->xmit_cnt.err, in stats_print()
1344 if (sample_out.totals.drop) in sample_summary_print()
1346 sample_out.totals.drop); in sample_summary_print()
1430 sample_out.totals.drop += out->totals.drop; in sample_summary_update()