t4_hw.h (256281) | t4_hw.h (265425) |
---|---|
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: stable/10/sys/dev/cxgbe/common/t4_hw.h 253691 2013-07-26 22:04:11Z np $ | 26 * $FreeBSD: stable/10/sys/dev/cxgbe/common/t4_hw.h 265425 2014-05-06 06:49:39Z np $ |
27 * 28 */ 29 30#ifndef __T4_HW_H 31#define __T4_HW_H 32 33#include "osdep.h" 34 --- 47 unchanged lines hidden (view full) --- 82enum { MBOX_OWNER_NONE, MBOX_OWNER_FW, MBOX_OWNER_DRV }; /* mailbox owners */ 83 84enum { 85 SGE_MAX_WR_LEN = 512, /* max WR size in bytes */ 86 SGE_CTXT_SIZE = 24, /* size of SGE context */ 87 SGE_NTIMERS = 6, /* # of interrupt holdoff timer values */ 88 SGE_NCOUNTERS = 4, /* # of interrupt packet counter values */ 89 SGE_MAX_IQ_SIZE = 65520, | 27 * 28 */ 29 30#ifndef __T4_HW_H 31#define __T4_HW_H 32 33#include "osdep.h" 34 --- 47 unchanged lines hidden (view full) --- 82enum { MBOX_OWNER_NONE, MBOX_OWNER_FW, MBOX_OWNER_DRV }; /* mailbox owners */ 83 84enum { 85 SGE_MAX_WR_LEN = 512, /* max WR size in bytes */ 86 SGE_CTXT_SIZE = 24, /* size of SGE context */ 87 SGE_NTIMERS = 6, /* # of interrupt holdoff timer values */ 88 SGE_NCOUNTERS = 4, /* # of interrupt packet counter values */ 89 SGE_MAX_IQ_SIZE = 65520, |
90 SGE_FLBUF_SIZES = 16, |
|
90}; 91 92struct sge_qstat { /* data written to SGE queue status entries */ 93 volatile __be32 qid; 94 volatile __be16 cidx; 95 volatile __be16 pidx; 96}; 97 --- 178 unchanged lines hidden --- | 91}; 92 93struct sge_qstat { /* data written to SGE queue status entries */ 94 volatile __be32 qid; 95 volatile __be16 cidx; 96 volatile __be16 pidx; 97}; 98 --- 178 unchanged lines hidden --- |