t4_hw.h (252661) | t4_hw.h (253691) |
---|---|
1/*- 2 * Copyright (c) 2011 Chelsio Communications, Inc. 3 * All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions 7 * are met: 8 * 1. Redistributions of source code must retain the above copyright --- 9 unchanged lines hidden (view full) --- 18 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 19 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 20 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 21 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 22 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 23 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 24 * SUCH DAMAGE. 25 * | 1/*- 2 * Copyright (c) 2011 Chelsio Communications, Inc. 3 * All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions 7 * are met: 8 * 1. Redistributions of source code must retain the above copyright --- 9 unchanged lines hidden (view full) --- 18 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 19 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 20 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 21 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 22 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 23 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 24 * SUCH DAMAGE. 25 * |
26 * $FreeBSD: head/sys/dev/cxgbe/common/t4_hw.h 252661 2013-07-03 23:52:15Z np $ | 26 * $FreeBSD: head/sys/dev/cxgbe/common/t4_hw.h 253691 2013-07-26 22:04:11Z np $ |
27 * 28 */ 29 30#ifndef __T4_HW_H 31#define __T4_HW_H 32 33#include "osdep.h" 34 --- 5 unchanged lines hidden (view full) --- 40 EEPROMPFSIZE = 1024, /* EEPROM writable area size for PFn, n>0 */ 41 RSS_NENTRIES = 2048, /* # of entries in RSS mapping table */ 42 TCB_SIZE = 128, /* TCB size */ 43 NMTUS = 16, /* size of MTU table */ 44 NCCTRL_WIN = 32, /* # of congestion control windows */ 45 NTX_SCHED = 8, /* # of HW Tx scheduling queues */ 46 PM_NSTATS = 5, /* # of PM stats */ 47 MBOX_LEN = 64, /* mailbox size in bytes */ | 27 * 28 */ 29 30#ifndef __T4_HW_H 31#define __T4_HW_H 32 33#include "osdep.h" 34 --- 5 unchanged lines hidden (view full) --- 40 EEPROMPFSIZE = 1024, /* EEPROM writable area size for PFn, n>0 */ 41 RSS_NENTRIES = 2048, /* # of entries in RSS mapping table */ 42 TCB_SIZE = 128, /* TCB size */ 43 NMTUS = 16, /* size of MTU table */ 44 NCCTRL_WIN = 32, /* # of congestion control windows */ 45 NTX_SCHED = 8, /* # of HW Tx scheduling queues */ 46 PM_NSTATS = 5, /* # of PM stats */ 47 MBOX_LEN = 64, /* mailbox size in bytes */ |
48 NTRACE = 4, /* # of tracing filters */ |
|
48 TRACE_LEN = 112, /* length of trace data and mask */ 49 FILTER_OPT_LEN = 36, /* filter tuple width of optional components */ 50 NWOL_PAT = 8, /* # of WoL patterns */ 51 WOL_PAT_LEN = 128, /* length of WoL patterns */ 52 UDBS_SEG_SIZE = 128, /* Segment size of BAR2 doorbells */ 53 UDBS_SEG_SHIFT = 7, /* log2(UDBS_SEG_SIZE) */ 54 UDBS_DB_OFFSET = 8, /* offset of the 4B doorbell in a segment */ 55 UDBS_WR_OFFSET = 64, /* offset of the work request in a segment */ --- 219 unchanged lines hidden --- | 49 TRACE_LEN = 112, /* length of trace data and mask */ 50 FILTER_OPT_LEN = 36, /* filter tuple width of optional components */ 51 NWOL_PAT = 8, /* # of WoL patterns */ 52 WOL_PAT_LEN = 128, /* length of WoL patterns */ 53 UDBS_SEG_SIZE = 128, /* Segment size of BAR2 doorbells */ 54 UDBS_SEG_SHIFT = 7, /* log2(UDBS_SEG_SIZE) */ 55 UDBS_DB_OFFSET = 8, /* offset of the 4B doorbell in a segment */ 56 UDBS_WR_OFFSET = 64, /* offset of the work request in a segment */ --- 219 unchanged lines hidden --- |