Module Name: src
Committed By: msaitoh
Date: Fri Sep 3 08:43:23 UTC 2021
Modified Files:
src/sys/dev/pci/ixgbe: ix_txrx.c
Log Message:
Rename variable. No functional change.
To generate a diff of this commit:
cvs rdiff -u -r1.88 -r1.89 src/sys/dev/pci/ixgbe/ix_txrx.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/ix_txrx.c
diff -u src/sys/dev/pci/ixgbe/ix_txrx.c:1.88 src/sys/dev/pci/ixgbe/ix_txrx.c:1.89
--- src/sys/dev/pci/ixgbe/ix_txrx.c:1.88 Thu Aug 26 09:03:47 2021
+++ src/sys/dev/pci/ixgbe/ix_txrx.c Fri Sep 3 08:43:23 2021
@@ -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;