git: 435cde959c88 - main - ixgbe: Report the management packet drop counter

Kevin Bowling <[email protected]>
Newsgroups gmane.os.freebsd.devel.cvs.src
Message-ID <6a7a1d1f.4658e.5fad1e01__11346.7839475319$1786387758$gmane$org@gitrepo.freebsd.org>
The branch main has been updated by kbowling:

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

commit 435cde959c8823ff38c699d1bc8655918fda57dd
Author:     Kevin Bowling <[email protected]>
AuthorDate: 2026-08-10 15:56:03 +0000
Commit:     Kevin Bowling <[email protected]>
CommitDate: 2026-08-10 18:48:08 +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.
    
    MFC after:      3 days
---
 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 8a80f15c77d8..02472ae04444 100644
--- a/sys/dev/ixgbe/if_ix.c
+++ b/sys/dev/ixgbe/if_ix.c
@@ -2240,7 +2240,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.