diff options
author | dg <dg@FreeBSD.org> | 1997-11-29 08:11:01 +0000 |
---|---|---|
committer | dg <dg@FreeBSD.org> | 1997-11-29 08:11:01 +0000 |
commit | 208bdc6cb329e1cc94f7a79b9fe9a10c06ed7b23 (patch) | |
tree | 5a347dd48c6c99bedf9725830f9c79cdf02e1855 /sys/pci | |
parent | e61aa81fab72cedfaad3a565fa3554e5175fd9c8 (diff) | |
download | FreeBSD-src-208bdc6cb329e1cc94f7a79b9fe9a10c06ed7b23.zip FreeBSD-src-208bdc6cb329e1cc94f7a79b9fe9a10c06ed7b23.tar.gz |
Shuffle things a bit for better cacheline behavior.
Diffstat (limited to 'sys/pci')
-rw-r--r-- | sys/pci/if_fxpvar.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/sys/pci/if_fxpvar.h b/sys/pci/if_fxpvar.h index b362d13..53945e0 100644 --- a/sys/pci/if_fxpvar.h +++ b/sys/pci/if_fxpvar.h @@ -27,7 +27,7 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * $Id: if_fxpvar.h,v 1.2 1997/09/21 22:02:09 gibbs Exp $ + * $Id: if_fxpvar.h,v 1.3 1997/09/29 11:27:43 davidg Exp $ */ /* @@ -50,19 +50,19 @@ struct fxp_softc { struct fxp_cb_tx *cbl_base; /* base of TxCB list */ struct fxp_cb_tx *cbl_first; /* first active TxCB in list */ struct fxp_cb_tx *cbl_last; /* last active TxCB in list */ + int tx_queued; /* # of active TxCB's */ + int need_mcsetup; /* multicast filter needs programming */ struct mbuf *rfa_headm; /* first mbuf in receive frame area */ struct mbuf *rfa_tailm; /* last mbuf in receive frame area */ struct fxp_stats *fxp_stats; /* Pointer to interface stats */ + int rx_idle_secs; /* # of seconds RX has been idle */ struct callout_handle stat_ch; /* Handle for canceling our stat timeout */ - int tx_queued; /* # of active TxCB's */ + struct fxp_cb_mcs *mcsp; /* Pointer to mcast setup descriptor */ + int all_mcasts; /* receive all multicasts */ int promisc_mode; /* promiscuous mode enabled */ int phy_primary_addr; /* address of primary PHY */ int phy_primary_device; /* device type of primary PHY */ int phy_10Mbps_only; /* PHY is 10Mbps-only device */ - int rx_idle_secs; /* # of seconds RX has been idle */ - int need_mcsetup; /* multicast filter needs programming */ - int all_mcasts; /* receive all multicasts */ - struct fxp_cb_mcs *mcsp; /* Pointer to mcast setup descriptor */ }; /* Macros to ease CSR access. */ |