Module Name: src Committed By: msaitoh Date: Tue Jan 18 04:35:49 UTC 2022
Modified Files: src/sys/dev/pci/ixgbe: ixgbe.c Log Message: Use 64bit for lxon + lxoff. To generate a diff of this commit: cvs rdiff -u -r1.303 -r1.304 src/sys/dev/pci/ixgbe/ixgbe.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.c diff -u src/sys/dev/pci/ixgbe/ixgbe.c:1.303 src/sys/dev/pci/ixgbe/ixgbe.c:1.304 --- src/sys/dev/pci/ixgbe/ixgbe.c:1.303 Mon Jan 17 08:45:10 2022 +++ src/sys/dev/pci/ixgbe/ixgbe.c Tue Jan 18 04:35:49 2022 @@ -1,4 +1,4 @@ -/* $NetBSD: ixgbe.c,v 1.303 2022/01/17 08:45:10 msaitoh Exp $ */ +/* $NetBSD: ixgbe.c,v 1.304 2022/01/18 04:35:49 msaitoh Exp $ */ /****************************************************************************** @@ -64,7 +64,7 @@ */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: ixgbe.c,v 1.303 2022/01/17 08:45:10 msaitoh Exp $"); +__KERNEL_RCSID(0, "$NetBSD: ixgbe.c,v 1.304 2022/01/18 04:35:49 msaitoh Exp $"); #ifdef _KERNEL_OPT #include "opt_inet.h" @@ -1627,8 +1627,8 @@ ixgbe_update_stats_counters(struct adapt struct ifnet *ifp = adapter->ifp; struct ixgbe_hw *hw = &adapter->hw; struct ixgbe_hw_stats *stats = &adapter->stats.pf; - u32 missed_rx = 0, bprc, lxon, lxoff, total; - u64 total_missed_rx = 0; + u32 missed_rx = 0, bprc, lxon, lxoff; + u64 total, total_missed_rx = 0; uint64_t crcerrs, illerrc, rlec, ruc, rfc, roc, rjc; unsigned int queue_counters; int i;