From 854b2f302dcc73dfef2e4458d382f8149ce9167c Mon Sep 17 00:00:00 2001 From: Mark Johnston Date: Mon, 23 Jan 2023 14:42:19 -0500 Subject: [PATCH] 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 6e6561ef7be..eb708f5a5cc 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 */ };