Move the location of "struct work" as FreeBSD's "struct task" in ixgbe.h.

No functional change.
This commit is contained in:
msaitoh 2018-03-06 03:47:23 +00:00
parent c197dbace7
commit 4b9f14a6da
1 changed files with 3 additions and 5 deletions

View File

@ -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 SPDX-License-Identifier: BSD-3-Clause
@ -332,6 +332,7 @@ struct ix_queue {
int busy; int busy;
struct tx_ring *txr; struct tx_ring *txr;
struct rx_ring *rxr; struct rx_ring *rxr;
struct work wq_cookie;
void *que_si; void *que_si;
struct evcnt irqs; struct evcnt irqs;
char namebuf[32]; char namebuf[32];
@ -339,8 +340,6 @@ struct ix_queue {
kmutex_t im_mtx; /* lock for im_nest and this queue's EIMS/EIMC bit */ kmutex_t im_mtx; /* lock for im_nest and this queue's EIMS/EIMC bit */
int im_nest; int im_nest;
struct work wq_cookie;
}; };
/* /*
@ -363,6 +362,7 @@ struct tx_ring {
ixgbe_dma_tag_t *txtag; ixgbe_dma_tag_t *txtag;
char mtx_name[16]; char mtx_name[16];
pcq_t *txr_interq; pcq_t *txr_interq;
struct work wq_cookie;
void *txr_si; void *txr_si;
/* Flow Director */ /* Flow Director */
@ -376,8 +376,6 @@ struct tx_ring {
struct evcnt no_desc_avail; struct evcnt no_desc_avail;
struct evcnt total_packets; struct evcnt total_packets;
struct evcnt pcq_drops; struct evcnt pcq_drops;
struct work wq_cookie;
}; };