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 Move the location of "struct work" as Free...



details:   https://anonhg.NetBSD.org/src/rev/4dfe39c7871a
branches:  trunk
changeset: 830958:4dfe39c7871a
user:      msaitoh <msaitoh%NetBSD.org@localhost>
date:      Tue Mar 06 03:47:23 2018 +0000

description:
Move the location of "struct work" as FreeBSD's "struct task" in ixgbe.h.
No functional change.

diffstat:

 sys/dev/pci/ixgbe/ixgbe.h |  8 +++-----
 1 files changed, 3 insertions(+), 5 deletions(-)

diffs (43 lines):

diff -r d66ef66c4b20 -r 4dfe39c7871a sys/dev/pci/ixgbe/ixgbe.h
--- a/sys/dev/pci/ixgbe/ixgbe.h Tue Mar 06 03:33:26 2018 +0000
+++ b/sys/dev/pci/ixgbe/ixgbe.h Tue Mar 06 03:47:23 2018 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: ixgbe.h,v 1.32 2018/03/02 10:19:20 knakahara Exp $ */
+/* $NetBSD: ixgbe.h,v 1.33 2018/03/06 03:47:23 msaitoh Exp $ */
 
 /******************************************************************************
   SPDX-License-Identifier: BSD-3-Clause
@@ -332,6 +332,7 @@
        int              busy;
        struct tx_ring   *txr;
        struct rx_ring   *rxr;
+       struct work      wq_cookie;
        void             *que_si;
        struct evcnt     irqs;
        char             namebuf[32];
@@ -339,8 +340,6 @@
 
        kmutex_t         im_mtx;        /* lock for im_nest and this queue's EIMS/EIMC bit */
        int              im_nest;
-
-       struct work      wq_cookie;
 };
 
 /*
@@ -363,6 +362,7 @@
        ixgbe_dma_tag_t         *txtag;
        char                    mtx_name[16];
        pcq_t                   *txr_interq;
+       struct work             wq_cookie;
        void                    *txr_si;
 
        /* Flow Director */
@@ -376,8 +376,6 @@
        struct evcnt            no_desc_avail;
        struct evcnt            total_packets;
        struct evcnt            pcq_drops;
-
-       struct work             wq_cookie;
 };
 
 



Home | Main Index | Thread Index | Old Index