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 Remove extra unlock/lock processing around...



details:   https://anonhg.NetBSD.org/src/rev/b8d28c9bd9de
branches:  trunk
changeset: 960227:b8d28c9bd9de
user:      knakahara <knakahara%NetBSD.org@localhost>
date:      Fri Mar 12 01:53:36 2021 +0000

description:
Remove extra unlock/lock processing around if_percpuq_enqueue().

same as if_wm.c:r1.700

diffstat:

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

diffs (19 lines):

diff -r 7f87910cd08a -r b8d28c9bd9de sys/dev/pci/ixgbe/ix_txrx.c
--- a/sys/dev/pci/ixgbe/ix_txrx.c       Fri Mar 12 00:15:34 2021 +0000
+++ b/sys/dev/pci/ixgbe/ix_txrx.c       Fri Mar 12 01:53:36 2021 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: ix_txrx.c,v 1.67 2021/03/09 10:03:18 msaitoh Exp $ */
+/* $NetBSD: ix_txrx.c,v 1.68 2021/03/12 01:53:36 knakahara Exp $ */
 
 /******************************************************************************
 
@@ -2080,9 +2080,7 @@
                /* Now send to the stack or do LRO */
                if (sendmp != NULL) {
                        rxr->next_to_check = i;
-                       IXGBE_RX_UNLOCK(rxr);
                        ixgbe_rx_input(rxr, ifp, sendmp, ptype);
-                       IXGBE_RX_LOCK(rxr);
                        i = rxr->next_to_check;
                }
 



Home | Main Index | Thread Index | Old Index