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 Do no_jmbuf++ when ixgbe_getjcl() failed i...
details: https://anonhg.NetBSD.org/src/rev/3cb25b6e9671
branches: trunk
changeset: 983490:3cb25b6e9671
user: msaitoh <msaitoh%NetBSD.org@localhost>
date: Thu May 27 06:11:34 2021 +0000
description:
Do no_jmbuf++ when ixgbe_getjcl() failed in ixgbe_setup_receive_ring(), too.
diffstat:
sys/dev/pci/ixgbe/ix_txrx.c | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
diffs (26 lines):
diff -r ec7e622170ef -r 3cb25b6e9671 sys/dev/pci/ixgbe/ix_txrx.c
--- a/sys/dev/pci/ixgbe/ix_txrx.c Thu May 27 06:11:20 2021 +0000
+++ b/sys/dev/pci/ixgbe/ix_txrx.c Thu May 27 06:11:34 2021 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: ix_txrx.c,v 1.78 2021/05/20 22:36:08 ryo Exp $ */
+/* $NetBSD: ix_txrx.c,v 1.79 2021/05/27 06:11:34 msaitoh Exp $ */
/******************************************************************************
@@ -64,7 +64,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: ix_txrx.c,v 1.78 2021/05/20 22:36:08 ryo Exp $");
+__KERNEL_RCSID(0, "$NetBSD: ix_txrx.c,v 1.79 2021/05/27 06:11:34 msaitoh Exp $");
#include "opt_inet.h"
#include "opt_inet6.h"
@@ -1548,6 +1548,7 @@
rxbuf->buf = ixgbe_getjcl(&rxr->jcl_head, M_NOWAIT,
MT_DATA, M_PKTHDR, adapter->rx_mbuf_sz);
if (rxbuf->buf == NULL) {
+ rxr->no_jmbuf.ev_count++;
error = ENOBUFS;
goto fail;
}
Home |
Main Index |
Thread Index |
Old Index