| 9994 | } |
| 9995 | |
| 9996 | static void |
| 9997 | bbr_google_mode_on(struct tcp_bbr *bbr) |
| 9998 | { |
| 9999 | bbr->rc_use_google = 1; |
| 10000 | bbr->rc_no_pacing = 0; |
| 10001 | bbr->r_ctl.bbr_google_discount = bbr_google_discount; |
| 10002 | bbr->r_use_policer = bbr_policer_detection_enabled; |
| 10003 | bbr->r_ctl.rc_probertt_int = (USECS_IN_SECOND * 10); |
| 10004 | bbr->bbr_use_rack_cheat = 0; |
| 10005 | bbr->r_ctl.rc_incr_tmrs = 0; |
| 10006 | bbr->r_ctl.rc_inc_tcp_oh = 0; |
| 10007 | bbr->r_ctl.rc_inc_ip_oh = 0; |
| 10008 | bbr->r_ctl.rc_inc_enet_oh = 0; |
| 10009 | reset_time(&bbr->r_ctl.rc_delrate, |
| 10010 | BBR_NUM_RTTS_FOR_GOOG_DEL_LIMIT); |
| 10011 | reset_time_small(&bbr->r_ctl.rc_rttprop, |
| 10012 | (11 * USECS_IN_SECOND)); |
| 10013 | tcp_bbr_tso_size_check(bbr, tcp_get_usecs(&bbr->rc_tv)); |
| 10014 | } |
| 10015 | |
| 10016 | static void |
| 10017 | bbr_google_mode_off(struct tcp_bbr *bbr) |
no test coverage detected