Home
last modified time | relevance | path

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

/linux-6.1.9/tools/testing/selftests/drivers/net/mlxsw/
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 …]
/linux-6.1.9/include/net/
Dip_vs.h891 int drop_rate; member
1520 if (!ipvs->drop_rate) in ip_vs_todrop()
1524 ipvs->drop_counter = ipvs->drop_rate; in ip_vs_todrop()
/linux-6.1.9/net/netfilter/ipvs/
Dip_vs_ctl.c145 ipvs->drop_rate = 0; in update_defense_level()
149 ipvs->drop_rate = ipvs->drop_counter in update_defense_level()
154 ipvs->drop_rate = 0; in update_defense_level()
159 ipvs->drop_rate = ipvs->drop_counter in update_defense_level()
163 ipvs->drop_rate = 0; in update_defense_level()
168 ipvs->drop_rate = ipvs->sysctl_am_droprate; in update_defense_level()
/linux-6.1.9/tools/perf/util/
Dsession.c1926 double drop_rate; in perf_session__warn_about_errors() local
1928 drop_rate = (double)stats->total_lost_samples / in perf_session__warn_about_errors()
1930 if (drop_rate > 0.05) { in perf_session__warn_about_errors()
1933 drop_rate * 100.0); in perf_session__warn_about_errors()
/linux-6.1.9/Documentation/networking/
Dipvs-sysctl.rst14 of the drop_rate defense.