git: 851af287a1f6 - stable/14 - ixgbe: Report the management packet drop counter

Kevin Bowling <[email protected]>
Newsgroups gmane.os.freebsd.devel.cvs.src
Message-ID <6a822480.47acf.1f06b8d7__20712.2528970771$1786913944$gmane$org@gitrepo.freebsd.org>
The branch stable/14 has been updated by kbowling:

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

commit 851af287a1f6ec7fff02db2a2e6f624971b993f9
Author:     Kevin Bowling <[email protected]>
AuthorDate: 2026-08-10 15:56:03 +0000
Commit:     Kevin Bowling <[email protected]>
CommitDate: 2026-08-16 20:58:28 +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.