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 64bit for lxon + lxoff.



details:   https://anonhg.NetBSD.org/src/rev/59fde6ff4a7a
branches:  trunk
changeset: 359712:59fde6ff4a7a
user:      msaitoh <msaitoh%NetBSD.org@localhost>
date:      Tue Jan 18 04:35:49 2022 +0000

description:
Use 64bit for lxon + lxoff.

diffstat:

 sys/dev/pci/ixgbe/ixgbe.c |  8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diffs (29 lines):

diff -r 17c7696afda6 -r 59fde6ff4a7a sys/dev/pci/ixgbe/ixgbe.c
--- a/sys/dev/pci/ixgbe/ixgbe.c Mon Jan 17 23:12:41 2022 +0000
+++ b/sys/dev/pci/ixgbe/ixgbe.c Tue Jan 18 04:35:49 2022 +0000
@@ -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 @@
        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;



Home | Main Index | Thread Index | Old Index