Deleted Added
full compact
sfxge.h (277887) sfxge.h (277894)
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 277887 2015-01-29 18:57:27Z arybchik $
29 * $FreeBSD: head/sys/dev/sfxge/sfxge.h 277894 2015-01-29 19:09:14Z 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>

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

225
226 struct sfxge_evq *evq[SFXGE_RX_SCALE_MAX];
227 unsigned int ev_moderation;
228#if EFSYS_OPT_QSTATS
229 clock_t ev_stats_update_time;
230 uint64_t ev_stats[EV_NQSTATS];
231#endif
232
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>

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

225
226 struct sfxge_evq *evq[SFXGE_RX_SCALE_MAX];
227 unsigned int ev_moderation;
228#if EFSYS_OPT_QSTATS
229 clock_t ev_stats_update_time;
230 uint64_t ev_stats[EV_NQSTATS];
231#endif
232
233 unsigned int max_rss_channels;
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
240 struct sfxge_txq *txq[SFXGE_TXQ_NTYPES];

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

--- 76 unchanged lines hidden ---