Deleted Added
full compact
adapter.h (256281) adapter.h (256794)
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/10/sys/dev/cxgbe/adapter.h 255050 2013-08-30 01:45:36Z np $
27 * $FreeBSD: stable/10/sys/dev/cxgbe/adapter.h 256794 2013-10-20 16:45:01Z 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>

--- 469 unchanged lines hidden (view full) ---

505
506 uint32_t no_desc; /* out of hardware descriptors */
507} __aligned(CACHE_LINE_SIZE);
508
509struct sge {
510 int timer_val[SGE_NTIMERS];
511 int counter_val[SGE_NCOUNTERS];
512 int fl_starve_threshold;
28 *
29 */
30
31#ifndef __T4_ADAPTER_H__
32#define __T4_ADAPTER_H__
33
34#include <sys/kernel.h>
35#include <sys/bus.h>

--- 469 unchanged lines hidden (view full) ---

505
506 uint32_t no_desc; /* out of hardware descriptors */
507} __aligned(CACHE_LINE_SIZE);
508
509struct sge {
510 int timer_val[SGE_NTIMERS];
511 int counter_val[SGE_NCOUNTERS];
512 int fl_starve_threshold;
513 int s_qpp;
513 int eq_s_qpp;
514 int iq_s_qpp;
514
515 int nrxq; /* total # of Ethernet rx queues */
516 int ntxq; /* total # of Ethernet tx tx queues */
517#ifdef TCP_OFFLOAD
518 int nofldrxq; /* total # of TOE rx queues */
519 int nofldtxq; /* total # of TOE tx queues */
520#endif
521 int niq; /* total # of ingress queues */

--- 368 unchanged lines hidden ---
515
516 int nrxq; /* total # of Ethernet rx queues */
517 int ntxq; /* total # of Ethernet tx tx queues */
518#ifdef TCP_OFFLOAD
519 int nofldrxq; /* total # of TOE rx queues */
520 int nofldtxq; /* total # of TOE tx queues */
521#endif
522 int niq; /* total # of ingress queues */

--- 368 unchanged lines hidden ---