Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/dev/pci/ixgbe Use no_jmbuf evcnt for the failure case of...



details:   https://anonhg.NetBSD.org/src/rev/2ff16c23dce0
branches:  trunk
changeset: 953404:2ff16c23dce0
user:      msaitoh <msaitoh%NetBSD.org@localhost>
date:      Mon Mar 08 07:10:45 2021 +0000

description:
Use no_jmbuf evcnt for the failure case of ixgbe_getjcl().

diffstat:

 sys/dev/pci/ixgbe/ix_txrx.c |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r 57055e1666bc -r 2ff16c23dce0 sys/dev/pci/ixgbe/ix_txrx.c
--- a/sys/dev/pci/ixgbe/ix_txrx.c       Mon Mar 08 06:31:42 2021 +0000
+++ b/sys/dev/pci/ixgbe/ix_txrx.c       Mon Mar 08 07:10:45 2021 +0000
@@ -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 @@
                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).



Home | Main Index | Thread Index | Old Index