cxgb_sge.c (181653) | cxgb_sge.c (182679) |
---|---|
1/************************************************************************** 2 3Copyright (c) 2007, Chelsio Inc. 4All rights reserved. 5 6Redistribution and use in source and binary forms, with or without 7modification, are permitted provided that the following conditions are met: 8 --- 16 unchanged lines hidden (view full) --- 25ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 26POSSIBILITY OF SUCH DAMAGE. 27 28***************************************************************************/ 29#define DEBUG_BUFRING 30 31 32#include <sys/cdefs.h> | 1/************************************************************************** 2 3Copyright (c) 2007, Chelsio Inc. 4All rights reserved. 5 6Redistribution and use in source and binary forms, with or without 7modification, are permitted provided that the following conditions are met: 8 --- 16 unchanged lines hidden (view full) --- 25ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 26POSSIBILITY OF SUCH DAMAGE. 27 28***************************************************************************/ 29#define DEBUG_BUFRING 30 31 32#include <sys/cdefs.h> |
33__FBSDID("$FreeBSD: head/sys/dev/cxgb/cxgb_sge.c 181653 2008-08-13 01:32:32Z kmacy $"); | 33__FBSDID("$FreeBSD: head/sys/dev/cxgb/cxgb_sge.c 182679 2008-09-02 07:47:14Z kmacy $"); |
34 35#include <sys/param.h> 36#include <sys/systm.h> 37#include <sys/kernel.h> 38#include <sys/module.h> 39#include <sys/bus.h> 40#include <sys/conf.h> 41#include <machine/bus.h> --- 354 unchanged lines hidden (view full) --- 396 q->coalesce_usecs = 50; 397 } else { 398#ifdef INVARIANTS 399 q->coalesce_usecs = 10; 400#else 401 q->coalesce_usecs = 5; 402#endif 403 } | 34 35#include <sys/param.h> 36#include <sys/systm.h> 37#include <sys/kernel.h> 38#include <sys/module.h> 39#include <sys/bus.h> 40#include <sys/conf.h> 41#include <machine/bus.h> --- 354 unchanged lines hidden (view full) --- 396 q->coalesce_usecs = 50; 397 } else { 398#ifdef INVARIANTS 399 q->coalesce_usecs = 10; 400#else 401 q->coalesce_usecs = 5; 402#endif 403 } |
404 q->polling = adap->params.rev > 0; | 404 q->polling = 0; |
405 q->rspq_size = RSPQ_Q_SIZE; 406 q->fl_size = fl_q_size; 407 q->jumbo_size = jumbo_q_size; 408 q->txq_size[TXQ_ETH] = TX_ETH_Q_SIZE; 409 q->txq_size[TXQ_OFLD] = 1024; 410 q->txq_size[TXQ_CTRL] = 256; 411 q->cong_thres = 0; 412 } --- 3265 unchanged lines hidden --- | 405 q->rspq_size = RSPQ_Q_SIZE; 406 q->fl_size = fl_q_size; 407 q->jumbo_size = jumbo_q_size; 408 q->txq_size[TXQ_ETH] = TX_ETH_Q_SIZE; 409 q->txq_size[TXQ_OFLD] = 1024; 410 q->txq_size[TXQ_CTRL] = 256; 411 q->cong_thres = 0; 412 } --- 3265 unchanged lines hidden --- |