Module Name: src Committed By: msaitoh Date: Mon Mar 8 07:10:45 UTC 2021
Modified Files: src/sys/dev/pci/ixgbe: ix_txrx.c Log Message: Use no_jmbuf evcnt for the failure case of ixgbe_getjcl(). To generate a diff of this commit: cvs rdiff -u -r1.65 -r1.66 src/sys/dev/pci/ixgbe/ix_txrx.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/sys/dev/pci/ixgbe/ix_txrx.c diff -u src/sys/dev/pci/ixgbe/ix_txrx.c:1.65 src/sys/dev/pci/ixgbe/ix_txrx.c:1.66 --- src/sys/dev/pci/ixgbe/ix_txrx.c:1.65 Tue Mar 2 11:10:53 2021 +++ src/sys/dev/pci/ixgbe/ix_txrx.c Mon Mar 8 07:10:45 2021 @@ -1,4 +1,4 @@ -/* $NetBSD: ix_txrx.c,v 1.65 2021/03/02 11:10:53 msaitoh Exp $ */ +/* $NetBSD: ix_txrx.c,v 1.66 2021/03/08 07:10:45 msaitoh Exp $ */ /****************************************************************************** @@ -1883,7 +1883,7 @@ ixgbe_rxeof(struct ix_queue *que) else newmp = NULL; if (newmp == NULL) { - rxr->rx_discarded.ev_count++; + rxr->no_jmbuf.ev_count++; /* * Descriptor initialization is already done by the * above code (cur->wb.upper.status_error = 0).