Deleted Added
full compact
sfxge.h (277884) sfxge.h (277886)
1/*-
2 * Copyright (c) 2010-2011 Solarflare Communications, Inc.
3 * All rights reserved.
4 *
5 * This software was developed in part by Philip Paeps under contract for
6 * Solarflare Communications, Inc.
7 *
8 * Redistribution and use in source and binary forms, with or without

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

21 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
22 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
23 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
24 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
25 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
26 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
27 * SUCH DAMAGE.
28 *
1/*-
2 * Copyright (c) 2010-2011 Solarflare Communications, Inc.
3 * All rights reserved.
4 *
5 * This software was developed in part by Philip Paeps under contract for
6 * Solarflare Communications, Inc.
7 *
8 * Redistribution and use in source and binary forms, with or without

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

21 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
22 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
23 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
24 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
25 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
26 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
27 * SUCH DAMAGE.
28 *
29 * $FreeBSD: head/sys/dev/sfxge/sfxge.h 277884 2015-01-29 18:50:25Z arybchik $
29 * $FreeBSD: head/sys/dev/sfxge/sfxge.h 277886 2015-01-29 18:54:43Z arybchik $
30 */
31
32#ifndef _SFXGE_H
33#define _SFXGE_H
34
35#include <sys/param.h>
36#include <sys/kernel.h>
37#include <sys/condvar.h>

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

220
221 struct sfxge_intr intr;
222 struct sfxge_mcdi mcdi;
223 struct sfxge_port port;
224 uint32_t buffer_table_next;
225
226 struct sfxge_evq *evq[SFXGE_RX_SCALE_MAX];
227 unsigned int ev_moderation;
30 */
31
32#ifndef _SFXGE_H
33#define _SFXGE_H
34
35#include <sys/param.h>
36#include <sys/kernel.h>
37#include <sys/condvar.h>

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

220
221 struct sfxge_intr intr;
222 struct sfxge_mcdi mcdi;
223 struct sfxge_port port;
224 uint32_t buffer_table_next;
225
226 struct sfxge_evq *evq[SFXGE_RX_SCALE_MAX];
227 unsigned int ev_moderation;
228#if EFSYS_OPT_QSTATS
228 clock_t ev_stats_update_time;
229 uint64_t ev_stats[EV_NQSTATS];
229 clock_t ev_stats_update_time;
230 uint64_t ev_stats[EV_NQSTATS];
231#endif
230
231 uma_zone_t rxq_cache;
232 struct sfxge_rxq *rxq[SFXGE_RX_SCALE_MAX];
233 unsigned int rx_indir_table[SFXGE_RX_SCALE_MAX];
234
235#ifdef SFXGE_HAVE_MQ
236 struct sfxge_txq *txq[SFXGE_TXQ_NTYPES + SFXGE_RX_SCALE_MAX];
237#else

--- 77 unchanged lines hidden ---
232
233 uma_zone_t rxq_cache;
234 struct sfxge_rxq *rxq[SFXGE_RX_SCALE_MAX];
235 unsigned int rx_indir_table[SFXGE_RX_SCALE_MAX];
236
237#ifdef SFXGE_HAVE_MQ
238 struct sfxge_txq *txq[SFXGE_TXQ_NTYPES + SFXGE_RX_SCALE_MAX];
239#else

--- 77 unchanged lines hidden ---