Module Name: src
Committed By: msaitoh
Date: Tue Jan 18 09:27:46 UTC 2022
Modified Files:
src/sys/dev/pci/ixgbe: ixgbe_mbx.c
Log Message:
Don't clear mailbox related counters in ixgbe_upgrade_mbx_params_pf().
To generate a diff of this commit:
cvs rdiff -u -r1.17 -r1.18 src/sys/dev/pci/ixgbe/ixgbe_mbx.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/ixgbe_mbx.c
diff -u src/sys/dev/pci/ixgbe/ixgbe_mbx.c:1.17 src/sys/dev/pci/ixgbe/ixgbe_mbx.c:1.18
--- src/sys/dev/pci/ixgbe/ixgbe_mbx.c:1.17 Tue Jan 18 09:16:38 2022
+++ src/sys/dev/pci/ixgbe/ixgbe_mbx.c Tue Jan 18 09:27:46 2022
@@ -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 @@ void ixgbe_upgrade_mbx_params_pf(struct
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;
}