diff options
author | davidch <davidch@FreeBSD.org> | 2011-05-12 23:26:53 +0000 |
---|---|---|
committer | davidch <davidch@FreeBSD.org> | 2011-05-12 23:26:53 +0000 |
commit | 4edd1b3cb1427a798db90ebc5d8b2e16fc9d1213 (patch) | |
tree | 4343c00080ba6f0a822e7122bb0737231ee46602 /sys/dev/bxe/if_bxe.h | |
parent | 24d9363753d66085a84ebea7638f5cafd1f4c30c (diff) | |
download | FreeBSD-src-4edd1b3cb1427a798db90ebc5d8b2e16fc9d1213.zip FreeBSD-src-4edd1b3cb1427a798db90ebc5d8b2e16fc9d1213.tar.gz |
- Use bus_describe_intr() to describe interrupt usage.
- Use bus_bind_intr() to bind interrupt to a CPU when RSS/TSS is used.
- Use M_DONTWAIT for RSS/TSS buffer allocation.
- Add statistic to track max DRBR queue depth.
- Fix problem in bxe_change_mtu() which referenced the old MTU size
in a debug print statement.
MFC after: Two weeks
Diffstat (limited to 'sys/dev/bxe/if_bxe.h')
-rw-r--r-- | sys/dev/bxe/if_bxe.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/dev/bxe/if_bxe.h b/sys/dev/bxe/if_bxe.h index 4f8528f..8da3db4 100644 --- a/sys/dev/bxe/if_bxe.h +++ b/sys/dev/bxe/if_bxe.h @@ -1110,6 +1110,8 @@ struct bxe_fastpath { int sge_mbuf_alloc; int tpa_mbuf_alloc; + int max_drbr_queue_depth; + uint64_t tpa_queue_used; unsigned long null_cqe_flags; @@ -1148,7 +1150,6 @@ struct bxe_fastpath { #define BXE_TX_CHAIN_PAGE_SZ BCM_PAGE_SIZE #define BXE_RX_CHAIN_PAGE_SZ BCM_PAGE_SIZE -/* ToDo: Audit this structure for unused varaibles. */ struct bxe_softc { struct ifnet *bxe_ifp; int media; |