From nobody Mon Jan 23 19:52:47 2023 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 4P113g4nS7z3bFcP; Mon, 23 Jan 2023 19:52:47 +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 4P113g4DHbz4Hnl; Mon, 23 Jan 2023 19:52:47 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1674503567; 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=mejOWM2F1iL1yKe9CNgCyFnszQxe1MuTN7HDrpadqHg=; b=ldf+KBmO0zMKec/MI3LgFI+mJHeZZZ1Vu2q0/vt1/t+wLvn3n8rq0iICDejhsLjvymqOly 0/sIS1bh7TCl7/WJwDXbpi5ubeDjwgNYQimHJGisiFRC8E47pZLESpF7CTpHeKrPGT/HVL XwbSlJ09STPtygjvW3KnB4/E6ilyuHWV2f3fPWsmhUb0ZS36NLs0IDTonx5s54T7DEx88+ 43muQ1xxtIjKQ2DvkE6+V71l2hNEXUbkmVOJisgxCOOomwjmvtkTW+vLtly+Gd/p88tloZ JOMCMXwr4W93j7k0h6xyVbrrJAt/A5/INCdChnRoKQGYu44udMPJ9BUmQaTwSA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1674503567; 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=mejOWM2F1iL1yKe9CNgCyFnszQxe1MuTN7HDrpadqHg=; b=qAKlDmGrVApvInIxlf1an/NRPR5dSze96zyiC2gKzpNSmetu1bGWTQd3abzVn1kwaU1L1r il+8+Jl7nvcJyveyDZ9hCZg0HDtfz51b7X10zX7qasJwX19HZV20iB8JzwIseWsdEq3rPb 9w4bLSc7S3noSKSwV2eBiN77z32xderQ4gySCCvPf5R8GUqb54ns9aMoNPrOW9lD/mQMdf voUouW32s4F4LDVAaJaADNXYtFGSMtes+GtCdTKXgHEDCYtlhiGdO1zZihfi2Dt3TjRhFK Xij9lI5wh2P6EwQtFOm2cFpsptkX9OCo0LtRVFL8O8bOiWre2x7VD/rEVwQ9zQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1674503567; a=rsa-sha256; cv=none; b=wB2ZJmNmfQ/iKZy7dDX4vST3MCChag7OF6mkZrDvjJWg07PTDd86lTwLNgtz+Ej72F5+Eb 85tn9l+iidNBoXOKD3pfMFDTyfubUnyDy0K4ZP+ye6hQcV3uAvp40hx8Pf+FrvFKHLuwL7 sGMDis/bNOLedIf9Gu65ZXA2wfFTmUPuPBe+zSx91VI6/jbcTAdI9X1BMBpdwZYuZWC9+h 4j9WZF5cvEhh5Cl6Vn0aTGgcX4G5WC4ybouFDyQge5p91uxDjPLx4bebXeNdpTfG5eGnAh 7zKzJk/MCjJgBk2rkYLl/EBi2K58aTgkbkeM9L1ZED8Kej00uJ/dMpkJFK/+tA== 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 4P113g3Kg0zhFJ; Mon, 23 Jan 2023 19:52:47 +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 30NJql80015535; Mon, 23 Jan 2023 19:52:47 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 30NJqlbd015534; Mon, 23 Jan 2023 19:52:47 GMT (envelope-from git) Date: Mon, 23 Jan 2023 19:52:47 GMT Message-Id: <202301231952.30NJqlbd015534@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Mark Johnston Subject: git: 854b2f302dcc - main - netmap: Correct a comment 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: markj X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 854b2f302dcc73dfef2e4458d382f8149ce9167c Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by markj: URL: https://cgit.FreeBSD.org/src/commit/?id=854b2f302dcc73dfef2e4458d382f8149ce9167c commit 854b2f302dcc73dfef2e4458d382f8149ce9167c Author: Mark Johnston AuthorDate: 2023-01-23 19:42:19 +0000 Commit: Mark Johnston CommitDate: 2023-01-23 19:42:19 +0000 netmap: Correct a comment Reviewed by: vmaffione MFC after: 1 week Sponsored by: Zenarmor Sponsored by: OPNsense Sponsored by: Klara, Inc. Differential Revision: https://reviews.freebsd.org/D38063 --- sys/dev/netmap/netmap_kern.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/dev/netmap/netmap_kern.h b/sys/dev/netmap/netmap_kern.h index 6e6561ef7be4..eb708f5a5cc7 100644 --- a/sys/dev/netmap/netmap_kern.h +++ b/sys/dev/netmap/netmap_kern.h @@ -2145,7 +2145,7 @@ struct nm_os_gen_arg { void *head, *tail; /* tailq, if the OS-specific routine needs to build one */ void *addr; /* payload of current packet */ u_int len; /* packet length */ - u_int ring_nr; /* packet length */ + u_int ring_nr; /* transmit ring index */ u_int qevent; /* in txqdisc mode, place an event on this mbuf */ };