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 Refactor rxr->next_to_check updating.



details:   https://anonhg.NetBSD.org/src/rev/91efd118587a
branches:  trunk
changeset: 953539:91efd118587a
user:      knakahara <knakahara%NetBSD.org@localhost>
date:      Fri Mar 12 01:54:29 2021 +0000

description:
Refactor rxr->next_to_check updating.

diffstat:

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

diffs (19 lines):

diff -r 1efeed545c3e -r 91efd118587a sys/dev/pci/ixgbe/ix_txrx.c
--- a/sys/dev/pci/ixgbe/ix_txrx.c       Fri Mar 12 01:53:36 2021 +0000
+++ b/sys/dev/pci/ixgbe/ix_txrx.c       Fri Mar 12 01:54:29 2021 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: ix_txrx.c,v 1.68 2021/03/12 01:53:36 knakahara Exp $ */
+/* $NetBSD: ix_txrx.c,v 1.69 2021/03/12 01:54:29 knakahara Exp $ */
 
 /******************************************************************************
 
@@ -2079,9 +2079,7 @@
 
                /* Now send to the stack or do LRO */
                if (sendmp != NULL) {
-                       rxr->next_to_check = i;
                        ixgbe_rx_input(rxr, ifp, sendmp, ptype);
-                       i = rxr->next_to_check;
                }
 
                /* Every 8 descriptors we go to refresh mbufs */



Home | Main Index | Thread Index | Old Index