git: 854b2f302dcc - main - netmap: Correct a comment
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 23 Jan 2023 19:52:47 UTC
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 */
};