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 Don't clear mailbox related counters in ix...
details: https://anonhg.NetBSD.org/src/rev/0df461c9c9e4
branches: trunk
changeset: 359714:0df461c9c9e4
user: msaitoh <msaitoh%NetBSD.org@localhost>
date: Tue Jan 18 09:27:46 2022 +0000
description:
Don't clear mailbox related counters in ixgbe_upgrade_mbx_params_pf().
diffstat:
sys/dev/pci/ixgbe/ixgbe_mbx.c | 10 ++--------
1 files changed, 2 insertions(+), 8 deletions(-)
diffs (29 lines):
diff -r f7f3d6766cb8 -r 0df461c9c9e4 sys/dev/pci/ixgbe/ixgbe_mbx.c
--- a/sys/dev/pci/ixgbe/ixgbe_mbx.c Tue Jan 18 09:16:38 2022 +0000
+++ b/sys/dev/pci/ixgbe/ixgbe_mbx.c Tue Jan 18 09:27:46 2022 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: ixgbe_mbx.c,v 1.17 2022/01/18 09:16:38 msaitoh Exp $ */
+/* $NetBSD: ixgbe_mbx.c,v 1.18 2022/01/18 09:27:46 msaitoh Exp $ */
/******************************************************************************
SPDX-License-Identifier: BSD-3-Clause
@@ -36,7 +36,7 @@
/*$FreeBSD: head/sys/dev/ixgbe/ixgbe_mbx.c 326022 2017-11-20 19:36:21Z pfg $*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: ixgbe_mbx.c,v 1.17 2022/01/18 09:16:38 msaitoh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: ixgbe_mbx.c,v 1.18 2022/01/18 09:27:46 msaitoh Exp $");
#include "ixgbe_type.h"
#include "ixgbe_mbx.h"
@@ -1195,10 +1195,4 @@
mbx->ops[vf_id].check_for_ack = ixgbe_check_for_ack_pf;
mbx->ops[vf_id].check_for_rst = ixgbe_check_for_rst_pf;
mbx->ops[vf_id].clear = ixgbe_clear_mbx_pf;
-
- mbx->stats.msgs_tx.ev_count = 0;
- mbx->stats.msgs_rx.ev_count = 0;
- mbx->stats.reqs.ev_count = 0;
- mbx->stats.acks.ev_count = 0;
- mbx->stats.rsts.ev_count = 0;
}
Home |
Main Index |
Thread Index |
Old Index