summaryrefslogtreecommitdiff
path: root/sys/dev/pci/if_ix.h
diff options
context:
space:
mode:
authorClaudio Jeker <claudio@cvs.openbsd.org>2015-09-11 12:09:11 +0000
committerClaudio Jeker <claudio@cvs.openbsd.org>2015-09-11 12:09:11 +0000
commitb4041440d230d7b3ddabf6db094175038ae25b9b (patch)
tree22149efd9d4a27e8ca1e9445f1183f89eb7d6e72 /sys/dev/pci/if_ix.h
parent703b21ee96d9349476d130c5728e02f154725f7f (diff)
First step at making ix(4) MPSAVE. This is largely based on the em(4)
changes done by kettenis@. Tested by Hrvoje Popovski and chris@ dlg@, mpi@ and kettenis@ agree on developping this further in tree.
Diffstat (limited to 'sys/dev/pci/if_ix.h')
-rw-r--r--sys/dev/pci/if_ix.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/dev/pci/if_ix.h b/sys/dev/pci/if_ix.h
index de7abb4cbb6..b97115ad6bb 100644
--- a/sys/dev/pci/if_ix.h
+++ b/sys/dev/pci/if_ix.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_ix.h,v 1.27 2014/11/12 16:06:47 mikeb Exp $ */
+/* $OpenBSD: if_ix.h,v 1.28 2015/09/11 12:09:10 claudio Exp $ */
/******************************************************************************
@@ -277,6 +277,7 @@ struct ix_softc {
* Receive rings:
* Allocated at run time, an array of rings.
*/
+ struct mutex rx_mtx;
struct rx_ring *rx_rings;
uint64_t que_mask;
int num_rx_desc;