From nobody Wed Feb 01 17:31:59 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 4P6TW41LSVz3bJ3F; Wed, 1 Feb 2023 17:32:00 +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 4P6TW40wZnz3PVl; Wed, 1 Feb 2023 17:32:00 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1675272720; 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=yYFhsmyALy03RtZ8h4toN6TmPLfWz9v0vA7yGlamLV8=; b=bnR35u0EJcqlfw9Faxd9p5JIYH0NbLFqv74NG7fXDlkYjHlh24ltill0BZoGIQdk1JcdXi aMe4tJYL+mKEHPr6vnZle4k358IGDxswI8pvUWaWaFJwJddMjZBQ3LqxVVdM3s2Yvh/x6M /QMLJsiJQk3drJTy3+QBdDgPCsxC1kacf84CUxtkDjE4GQ7/IAIrbQ87rx1+9Pm6XMew9R 1t059roJScSSvQbXTnSdViu8qiaMbOORI65m11D74mJJyQslrFVldv9NeQFR4NOA4Fp6pS 9Iq6tUzQGc5c1yNH2koWi1tp6YvEyo3SpD1q15edS4qzF8ksjHufMQ5G2hy5CA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1675272720; 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=yYFhsmyALy03RtZ8h4toN6TmPLfWz9v0vA7yGlamLV8=; b=KSmbpfqITgXww2SH9HfQedNPve0xA9eRO+nvsQLY9DePBi8gu9WLggS1IUyfme4x2932i/ yvcwESNn/xPoa/r2FphQzIJpI9gO+EZm2QnWyOTNITP0dPlllIEgIeN7XLnYcv+WGzgqYN /+Qb0ZFIPssX26Cgf0AlJ/u2Z1E5iua4QD33IHKTrFDkp9wAhqi+yhs/W9aEx9DtJaa26I /A1U7jh0wZpEDP1XeznNjfgtTT4uNEA7bvGfBc1P1+DzOZK5Qp7zuNkQzz6bFgs70FyRV9 V86zw5c7sYl2sihyyCS1ZBTB/e18MXN6UQqjFwvxkI+x16lXB7yYLzI3j5CJxw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1675272720; a=rsa-sha256; cv=none; b=bnZYJy4tb/GSV8J9uhPC8whHB8BPIFsLXMeJcb3lzcvzImv9+G0LtGis1M1to8ie5oklJM 704vGKxgzhlujKdXpR4oOXTX49CObYOj3tvG/XIFOmcP1jU2p11FFUxVdCWfeG9XM4tkPP 5kzz8fk5kO2WCrEd2qX3I/y4A1Mh0aIPU3PI4l7Ko2wP/upbafa5zIK+hQJMbffjItxN2R CTxV8xk6WwdZI7elrLm/2dPpXFAjAmAhVBCLKAZX7/oO5K8Q4ZKQ10mYtmyEu5KSJrFRRe QbNKaKc1URT7VCir+85CJRU1xiXK3aMe0RegXX5s0HJb/zdHzI5M57urqg2neQ== 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 4P6TW400DrzMxR; Wed, 1 Feb 2023 17:32:00 +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 311HVxWu058068; Wed, 1 Feb 2023 17:31:59 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 311HVxxT058067; Wed, 1 Feb 2023 17:31:59 GMT (envelope-from git) Date: Wed, 1 Feb 2023 17:31:59 GMT Message-Id: <202302011731.311HVxxT058067@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: Mark Johnston Subject: git: 57fa543941b8 - stable/13 - 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/stable/13 X-Git-Reftype: branch X-Git-Commit: 57fa543941b82410736df2ad4a0331981ac74c67 Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch stable/13 has been updated by markj: URL: https://cgit.FreeBSD.org/src/commit/?id=57fa543941b82410736df2ad4a0331981ac74c67 commit 57fa543941b82410736df2ad4a0331981ac74c67 Author: Mark Johnston AuthorDate: 2023-01-23 19:42:19 +0000 Commit: Mark Johnston CommitDate: 2023-02-01 17:22:31 +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 (cherry picked from commit 854b2f302dcc73dfef2e4458d382f8149ce9167c) --- 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 bf24dfa0f18d..195b5de7a502 100644 --- a/sys/dev/netmap/netmap_kern.h +++ b/sys/dev/netmap/netmap_kern.h @@ -2053,7 +2053,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 */ };