diff options
| author | msaitoh <msaitoh@NetBSD.org> | 2021-09-03 08:43:23 +0000 |
|---|---|---|
| committer | msaitoh <msaitoh@NetBSD.org> | 2021-09-03 08:43:23 +0000 |
| commit | 0808c845f2296f234edd5a45a12bc2e679b37f3c (patch) | |
| tree | a331853044e2a78ea0787a37d667b587ceacc68e /sys/dev | |
| parent | 665c4d52b385b6c34b6a45ee6c921f7cc8d6122c (diff) | |
Rename variable. No functional change.
Diffstat (limited to 'sys/dev')
| -rw-r--r-- | sys/dev/pci/ixgbe/ix_txrx.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/sys/dev/pci/ixgbe/ix_txrx.c b/sys/dev/pci/ixgbe/ix_txrx.c index b7b59fc96aa..a989092a2a4 100644 --- a/sys/dev/pci/ixgbe/ix_txrx.c +++ b/sys/dev/pci/ixgbe/ix_txrx.c @@ -1,4 +1,4 @@ -/* $NetBSD: ix_txrx.c,v 1.88 2021/08/26 09:03:47 msaitoh Exp $ */ +/* $NetBSD: ix_txrx.c,v 1.89 2021/09/03 08:43:23 msaitoh Exp $ */ /****************************************************************************** @@ -64,7 +64,7 @@ */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: ix_txrx.c,v 1.88 2021/08/26 09:03:47 msaitoh Exp $"); +__KERNEL_RCSID(0, "$NetBSD: ix_txrx.c,v 1.89 2021/09/03 08:43:23 msaitoh Exp $"); #include "opt_inet.h" #include "opt_inet6.h" @@ -1803,7 +1803,7 @@ ixgbe_rxeof(struct ix_queue *que) struct ixgbe_rx_buf *rbuf, *nbuf; int i, nextp, processed = 0; u32 staterr = 0; - u32 count = 0; + u32 loopcount = 0; u32 limit = adapter->rx_process_limit; bool discard_multidesc = false; #ifdef RSS @@ -1828,7 +1828,7 @@ ixgbe_rxeof(struct ix_queue *que) * layer. */ for (i = rxr->next_to_check; - (count < limit) || (discard_multidesc == true);) { + (loopcount < limit) || (discard_multidesc == true);) { struct mbuf *sendmp, *mp; struct mbuf *newmp; @@ -1850,7 +1850,7 @@ ixgbe_rxeof(struct ix_queue *que) if ((staterr & IXGBE_RXD_STAT_DD) == 0) break; - count++; + loopcount++; sendmp = NULL; nbuf = NULL; rsc = 0; |
