Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 23 Jan 2023 19:52:47 GMT
From:      Mark Johnston <markj@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org
Subject:   git: 854b2f302dcc - main - netmap: Correct a comment
Message-ID:  <202301231952.30NJqlbd015534@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by markj:

URL: https://cgit.FreeBSD.org/src/commit/?id=854b2f302dcc73dfef2e4458d382f8149ce9167c

commit 854b2f302dcc73dfef2e4458d382f8149ce9167c
Author:     Mark Johnston <markj@FreeBSD.org>
AuthorDate: 2023-01-23 19:42:19 +0000
Commit:     Mark Johnston <markj@FreeBSD.org>
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 */
 };
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202301231952.30NJqlbd015534>