git: 57fa543941b8 - stable/13 - netmap: Correct a comment
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 01 Feb 2023 17:31:59 UTC
The branch stable/13 has been updated by markj:
URL: https://cgit.FreeBSD.org/src/commit/?id=57fa543941b82410736df2ad4a0331981ac74c67
commit 57fa543941b82410736df2ad4a0331981ac74c67
Author: Mark Johnston <markj@FreeBSD.org>
AuthorDate: 2023-01-23 19:42:19 +0000
Commit: Mark Johnston <markj@FreeBSD.org>
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 */
};