From nobody Wed Jan 26 09:35:37 2022 X-Original-To: dev-commits-src-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id DD9941981140; Wed, 26 Jan 2022 09:35:37 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4JkJVd4c62z4j2t; Wed, 26 Jan 2022 09:35:37 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1643189737; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=ZH8s0z4iKVO3PFCaHP3SZAcE+Bn7tHXWFz6ZAxXOCFE=; b=Oni1cTKiGjM8nF8ixTwwA2nHD7kxxMC+hArz8trw+JcWsz9i0QPCRFlA4+jB5Xqali8FAh 9WjY5ohyX/LoZ6W7ZIhnV5r72k3q3R6bcAufwCSpja0tAyAvsXO0wM9lnndaj00ep3CuB0 Vl7FdyXL7jcwshvaL0JvRaAYN74Iy2eRvh1nTAY6sFndMX877sl5UM8UXkbXwiZdrQ07pO j3CF+V4HK+Fq5c7o4lEu+xGpqiK51dnngqpgNA7FoTi/y+xYWJqvcv/QE71b0LxTaCORSS nyHAPo4rbfbg0KqJA2wDloQmSjSgBFIaUALMj3vkb19s+repn5pP6wvLM3q+0g== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 5FCD01B248; Wed, 26 Jan 2022 09:35:37 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 20Q9ZbGn021454; Wed, 26 Jan 2022 09:35:37 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 20Q9ZbEB021453; Wed, 26 Jan 2022 09:35:37 GMT (envelope-from git) Date: Wed, 26 Jan 2022 09:35:37 GMT Message-Id: <202201260935.20Q9ZbEB021453@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Gordon Bergling Subject: git: b3df222eaed5 - main - extra_tcp_stacks: Fix a few common typos List-Id: Commit messages for all branches of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-all@freebsd.org X-BeenThere: dev-commits-src-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: gbe X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: b3df222eaed5ae815695f13a4709ec5463ee8cab Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1643189737; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=ZH8s0z4iKVO3PFCaHP3SZAcE+Bn7tHXWFz6ZAxXOCFE=; b=oUhoJsROOmGwbs+tq11h9Mf/93QlPHiM2PM+7qdJNF37v+YQlwnDTecV6HNfL2HZt23gvS W2hAVGNWEh7q1nl5sBsd/9lUVSqoHHS0Se62eS0Ku+S9r1sS1zGFSyRhRB0YvP+ucZoeD+ 3AGcyVbAH2M9GaDf9YlIVx0LBffR+YPw/l69b5FwCRVeAGrZvJmEKnTWNLoNYir23D2WyL J+nJNT6S0cG6dsV/uBITxnICV1zNEOXnXBTKO+h6cCuGLiXNEpy/txD+d98y1/wSY5/txB gFheSyp3U7eu2tyJNz/GywD1yY6pEPQsdIJLAeo9QF667iwiugtkF48si5cxzw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1643189737; a=rsa-sha256; cv=none; b=OQS7hvmHL6nVt8VaECtNfngHfulYH9DAzoMFVin/CT1cVnw/E+UYm1lwceKCQOLc0GU3sR SD32YOS0mM37/XQoz72JylhJy2GJSxDbwdaAXgu9OxQipMZ5Z/+8rYJ1XdIsQUwkN6Q5x0 G6eeji7A9fa1aHe+qNQIeJt1UJNtuKHhy2HZEf+hpBjpu71BSEXtWOqqYrtHP2Ra9JZqwu lGUIq/BYDhWfMQF3mpmSzP11mLC36HggXefgOnYPASbO2Avfp1fcO+zQICVKLt+Iua/RnY nTLG22fwnmaKn9KJRA1uU5VW0oUuSYXWv+t9Kb+78QmzpLyLEfXZIIH0ow6XoA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by gbe (doc committer): URL: https://cgit.FreeBSD.org/src/commit/?id=b3df222eaed5ae815695f13a4709ec5463ee8cab commit b3df222eaed5ae815695f13a4709ec5463ee8cab Author: Gordon Bergling AuthorDate: 2022-01-26 09:35:17 +0000 Commit: Gordon Bergling CommitDate: 2022-01-26 09:35:17 +0000 extra_tcp_stacks: Fix a few common typos TCP_BBR: - Fix a typo introducted in 1b90dfa5d2b0, which was reported by tuexen@ TCP_RACK: - Correct two sysctl descriptions: s/corret/correct/ tcp_bbr(4): Also fix s/measurment/measurement/ in the man page MFC after: 1 week --- share/man/man4/tcp_bbr.4 | 2 +- sys/netinet/tcp_stacks/bbr.c | 6 +++--- sys/netinet/tcp_stacks/rack.c | 8 ++++---- 3 files changed, 8 insertions(+), 8 deletions(-) diff --git a/share/man/man4/tcp_bbr.4 b/share/man/man4/tcp_bbr.4 index ea7e436b6c59..604e205820fb 100644 --- a/share/man/man4/tcp_bbr.4 +++ b/share/man/man4/tcp_bbr.4 @@ -64,7 +64,7 @@ branch of the MIB: .Bl -tag -width ".Va exp_backoff_scale" .It Va cwnd -Cwnd controls, for example "target cwnd rtt measurment" and "BBR initial window". +Cwnd controls, for example "target cwnd rtt measurement" and "BBR initial window". .It Va measure Measurement controls. .It Va pacing diff --git a/sys/netinet/tcp_stacks/bbr.c b/sys/netinet/tcp_stacks/bbr.c index 8d19f2fe0bde..d5d15ec19586 100644 --- a/sys/netinet/tcp_stacks/bbr.c +++ b/sys/netinet/tcp_stacks/bbr.c @@ -191,7 +191,7 @@ static int32_t bbr_hptsi_max_div = 2; /* time, 0 means turned off. We need this static int32_t bbr_policer_call_from_rack_to = 0; static int32_t bbr_policer_detection_enabled = 1; static int32_t bbr_min_measurements_req = 1; /* We need at least 2 - * measurement before we are + * measurements before we are * "good" note that 2 == 1. * This is because we use a > * comparison. This means if @@ -6454,7 +6454,7 @@ tcp_bbr_commit_bw(struct tcp_bbr *bbr, uint32_t cts) uint64_t orig_bw; if (bbr->r_ctl.rc_bbr_cur_del_rate == 0) { - /* We never apply a zero measurment */ + /* We never apply a zero measurement */ bbr_log_type_bbrupd(bbr, 20, cts, 0, 0, 0, 0, 0, 0, 0, 0); return; @@ -11043,7 +11043,7 @@ bbr_state_startup(struct tcp_bbr *bbr, uint32_t cts, int32_t epoch, int32_t pkt_ (bbr->r_ctl.rc_lost_at_startup == bbr->r_ctl.rc_lost) && (!IN_RECOVERY(bbr->rc_tp->t_flags))) { /* - * We only assess if we have a new measurment when + * We only assess if we have a new measurement when * we have no loss and are not in recovery. * Drag up by one our last_startup epoch so we will hold * the number of non-gain we have already accumulated. diff --git a/sys/netinet/tcp_stacks/rack.c b/sys/netinet/tcp_stacks/rack.c index 0810d3e53eb0..87e39e0d60da 100644 --- a/sys/netinet/tcp_stacks/rack.c +++ b/sys/netinet/tcp_stacks/rack.c @@ -1930,12 +1930,12 @@ rack_init_sysctls(void) SYSCTL_ADD_COUNTER_U64(&rack_sysctl_ctx, SYSCTL_CHILDREN(rack_counters), OID_AUTO, "sndptr_wrong", CTLFLAG_RD, - &rack_sbsndptr_wrong, "Total number of times the saved sbsndptr was incorret"); + &rack_sbsndptr_wrong, "Total number of times the saved sbsndptr was incorrect"); rack_sbsndptr_right = counter_u64_alloc(M_WAITOK); SYSCTL_ADD_COUNTER_U64(&rack_sysctl_ctx, SYSCTL_CHILDREN(rack_counters), OID_AUTO, "sndptr_right", CTLFLAG_RD, - &rack_sbsndptr_right, "Total number of times the saved sbsndptr was corret"); + &rack_sbsndptr_right, "Total number of times the saved sbsndptr was correct"); COUNTER_ARRAY_ALLOC(rack_out_size, TCP_MSS_ACCT_SIZE, M_WAITOK); SYSCTL_ADD_COUNTER_U64_ARRAY(&rack_sysctl_ctx, SYSCTL_CHILDREN(rack_sysctl_root), @@ -4444,7 +4444,7 @@ rack_do_goodput_measurement(struct tcpcb *tp, struct tcp_rack *rack, } /* We store gp for b/w in bytes per second */ if (rack->rc_gp_filled == 0) { - /* Initial measurment */ + /* Initial measurement */ if (bytes_ps) { rack->r_ctl.gp_bw = bytes_ps; rack->rc_gp_filled = 1; @@ -4567,7 +4567,7 @@ rack_do_goodput_measurement(struct tcpcb *tp, struct tcp_rack *rack, /* * The scaled measurement was long * enough so lets just add in the - * portion of the measurment i.e. 1/rack_wma_divisor + * portion of the measurement i.e. 1/rack_wma_divisor */ subpart = rack->r_ctl.gp_bw / rack_wma_divisor; addpart = bytes_ps / rack_wma_divisor;