Home
last modified time | relevance | path

Searched refs:drop_rate (Results 1 – 5 of 5) sorted by relevance

/openbmc/linux/tools/testing/selftests/drivers/net/mlxsw/
H A Ddevlink_trap_policer.sh205 local rate pct drop_rate
227 drop_rate=$(policer_drop_rate_get $id)
228 (( drop_rate > 0 ))
230 log_info "Measured policer drop rate of $drop_rate pps"
242 drop_rate=$(policer_drop_rate_get $id)
243 (( drop_rate == 0 ))
244 check_err $? "Expected zero policer drop rate, got a drop rate of $drop_rate pps"
245 log_info "Measured policer drop rate of $drop_rate pps"
263 drop_rate=$(policer_drop_rate_get $id)
264 (( drop_rate == 0 ))
[all …]
/openbmc/linux/include/net/
H A Dip_vs.h955 int drop_rate; member
1652 if (!ipvs->drop_rate) in ip_vs_todrop()
1656 ipvs->drop_counter = ipvs->drop_rate; in ip_vs_todrop()
/openbmc/linux/net/netfilter/ipvs/
H A Dip_vs_ctl.c144 ipvs->drop_rate = 0; in update_defense_level()
148 ipvs->drop_rate = ipvs->drop_counter in update_defense_level()
153 ipvs->drop_rate = 0; in update_defense_level()
158 ipvs->drop_rate = ipvs->drop_counter in update_defense_level()
162 ipvs->drop_rate = 0; in update_defense_level()
167 ipvs->drop_rate = ipvs->sysctl_am_droprate; in update_defense_level()
/openbmc/linux/tools/perf/util/
H A Dsession.c1938 double drop_rate; in perf_session__warn_about_errors() local
1940 drop_rate = (double)stats->total_lost_samples / in perf_session__warn_about_errors()
1942 if (drop_rate > 0.05) { in perf_session__warn_about_errors()
1945 drop_rate * 100.0); in perf_session__warn_about_errors()
/openbmc/linux/Documentation/networking/
H A Dipvs-sysctl.rst14 of the drop_rate defense.