git: eceddfb6d935 - stable/15 - ixgbe: Report the management packet drop counter

Kevin Bowling <[email protected]>
Newsgroups gmane.os.freebsd.devel.cvs.src
Message-ID <6a82245c.19905.70933f61__21949.2542602651$1786913898$gmane$org@gitrepo.freebsd.org>
The branch stable/15 has been updated by kbowling:

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

commit eceddfb6d935aef22b419e2f1fc3225da482b659
Author:     Kevin Bowling <[email protected]>
AuthorDate: 2026-08-10 15:56:03 +0000
Commit:     Kevin Bowling <[email protected]>
CommitDate: 2026-08-16 20:57:52 +0000

    ixgbe: Report the management packet drop counter
    
    The management_pkts_drpd sysctl was wired to MNGPTC, making it an
    alias of management_pkts_txd, instead of MNGPDC.
    
    (cherry picked from commit 435cde959c8823ff38c699d1bc8655918fda57dd)
---
 sys/dev/ixgbe/if_ix.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys/dev/ixgbe/if_ix.c b/sys/dev/ixgbe/if_ix.c
index 367f2b4d0f6e..e54a6c5d26be 100644
--- a/sys/dev/ixgbe/if_ix.c
+++ b/sys/dev/ixgbe/if_ix.c
@@ -2163,7 +2163,7 @@ ixgbe_add_hw_stats(struct ixgbe_softc *sc)
 	SYSCTL_ADD_UQUAD(ctx, stat_list, OID_AUTO, "management_pkts_rcvd",
 	    CTLFLAG_RD, &stats->mngprc, "Management Packets Received");
 	SYSCTL_ADD_UQUAD(ctx, stat_list, OID_AUTO, "management_pkts_drpd",
-	    CTLFLAG_RD, &stats->mngptc, "Management Packets Dropped");
+	    CTLFLAG_RD, &stats->mngpdc, "Management Packets Dropped");
 	SYSCTL_ADD_UQUAD(ctx, stat_list, OID_AUTO, "checksum_errs",
 	    CTLFLAG_RD, &stats->xec, "Checksum Errors");
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.