adapter.h (346875) | adapter.h (346876) |
---|---|
1/*- 2 * Copyright (c) 2011 Chelsio Communications, Inc. 3 * All rights reserved. 4 * Written by: Navdeep Parhar <np@FreeBSD.org> 5 * 6 * Redistribution and use in source and binary forms, with or without 7 * modification, are permitted provided that the following conditions 8 * are met: --- 10 unchanged lines hidden (view full) --- 19 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 20 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 21 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 22 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 23 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 24 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 25 * SUCH DAMAGE. 26 * | 1/*- 2 * Copyright (c) 2011 Chelsio Communications, Inc. 3 * All rights reserved. 4 * Written by: Navdeep Parhar <np@FreeBSD.org> 5 * 6 * Redistribution and use in source and binary forms, with or without 7 * modification, are permitted provided that the following conditions 8 * are met: --- 10 unchanged lines hidden (view full) --- 19 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 20 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 21 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 22 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 23 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 24 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 25 * SUCH DAMAGE. 26 * |
27 * $FreeBSD: stable/11/sys/dev/cxgbe/adapter.h 346875 2019-04-29 04:31:27Z np $ | 27 * $FreeBSD: stable/11/sys/dev/cxgbe/adapter.h 346876 2019-04-29 04:42:18Z np $ |
28 * 29 */ 30 31#ifndef __T4_ADAPTER_H__ 32#define __T4_ADAPTER_H__ 33 34#include <sys/kernel.h> 35#include <sys/bus.h> --- 60 unchanged lines hidden (view full) --- 96 /* Default queue sizes for all kinds of ingress queues */ 97 FW_IQ_QSIZE = 256, 98 RX_IQ_QSIZE = 1024, 99 100 /* All egress queues use this entry size */ 101 EQ_ESIZE = 64, 102 103 /* Default queue sizes for all kinds of egress queues */ | 28 * 29 */ 30 31#ifndef __T4_ADAPTER_H__ 32#define __T4_ADAPTER_H__ 33 34#include <sys/kernel.h> 35#include <sys/bus.h> --- 60 unchanged lines hidden (view full) --- 96 /* Default queue sizes for all kinds of ingress queues */ 97 FW_IQ_QSIZE = 256, 98 RX_IQ_QSIZE = 1024, 99 100 /* All egress queues use this entry size */ 101 EQ_ESIZE = 64, 102 103 /* Default queue sizes for all kinds of egress queues */ |
104 CTRL_EQ_QSIZE = 128, | 104 CTRL_EQ_QSIZE = 1024, |
105 TX_EQ_QSIZE = 1024, 106 107#if MJUMPAGESIZE != MCLBYTES 108 SW_ZONE_SIZES = 4, /* cluster, jumbop, jumbo9k, jumbo16k */ 109#else 110 SW_ZONE_SIZES = 3, /* cluster, jumbo9k, jumbo16k */ 111#endif 112 CL_METADATA_SIZE = CACHE_LINE_SIZE, --- 618 unchanged lines hidden (view full) --- 731 int nofldrxq; /* total # of TOE rx queues */ 732 int nofldtxq; /* total # of TOE tx queues */ 733 int nnmrxq; /* total # of netmap rx queues */ 734 int nnmtxq; /* total # of netmap tx queues */ 735 int niq; /* total # of ingress queues */ 736 int neq; /* total # of egress queues */ 737 738 struct sge_iq fwq; /* Firmware event queue */ | 105 TX_EQ_QSIZE = 1024, 106 107#if MJUMPAGESIZE != MCLBYTES 108 SW_ZONE_SIZES = 4, /* cluster, jumbop, jumbo9k, jumbo16k */ 109#else 110 SW_ZONE_SIZES = 3, /* cluster, jumbo9k, jumbo16k */ 111#endif 112 CL_METADATA_SIZE = CACHE_LINE_SIZE, --- 618 unchanged lines hidden (view full) --- 731 int nofldrxq; /* total # of TOE rx queues */ 732 int nofldtxq; /* total # of TOE tx queues */ 733 int nnmrxq; /* total # of netmap rx queues */ 734 int nnmtxq; /* total # of netmap tx queues */ 735 int niq; /* total # of ingress queues */ 736 int neq; /* total # of egress queues */ 737 738 struct sge_iq fwq; /* Firmware event queue */ |
739 struct sge_wrq mgmtq; /* Management queue (control queue) */ | |
740 struct sge_wrq *ctrlq; /* Control queues */ 741 struct sge_txq *txq; /* NIC tx queues */ 742 struct sge_rxq *rxq; /* NIC rx queues */ 743 struct sge_wrq *ofld_txq; /* TOE tx queues */ 744 struct sge_ofld_rxq *ofld_rxq; /* TOE rx queues */ 745 struct sge_nm_txq *nm_txq; /* netmap tx queues */ 746 struct sge_nm_rxq *nm_rxq; /* netmap rx queues */ 747 --- 518 unchanged lines hidden --- | 739 struct sge_wrq *ctrlq; /* Control queues */ 740 struct sge_txq *txq; /* NIC tx queues */ 741 struct sge_rxq *rxq; /* NIC rx queues */ 742 struct sge_wrq *ofld_txq; /* TOE tx queues */ 743 struct sge_ofld_rxq *ofld_rxq; /* TOE rx queues */ 744 struct sge_nm_txq *nm_txq; /* netmap tx queues */ 745 struct sge_nm_rxq *nm_rxq; /* netmap rx queues */ 746 --- 518 unchanged lines hidden --- |