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/166377ad513e
branches:  trunk
changeset: 981328:166377ad513e
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 18d0eb090cff -r 166377ad513e 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