White space cleanups to bring closer to RELENG_7
This commit is contained in:
parent
612ed6bb13
commit
00a3b87a5a
@ -1,6 +1,6 @@
|
||||
/**************************************************************************
|
||||
|
||||
Copyright (c) 2007, Chelsio Inc.
|
||||
Copyright (c) 2007-2008, Chelsio Inc.
|
||||
All rights reserved.
|
||||
|
||||
Redistribution and use in source and binary forms, with or without
|
||||
|
@ -25,7 +25,6 @@ CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
|
||||
ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
|
||||
POSSIBILITY OF SUCH DAMAGE.
|
||||
|
||||
|
||||
$FreeBSD$
|
||||
|
||||
***************************************************************************/
|
||||
@ -149,7 +148,6 @@ enum { /* adapter flags */
|
||||
};
|
||||
|
||||
#define FL_Q_SIZE 4096
|
||||
|
||||
#define JUMBO_Q_SIZE 1024
|
||||
#define RSPQ_Q_SIZE 1024
|
||||
#define TX_ETH_Q_SIZE 1024
|
||||
|
@ -2,7 +2,6 @@
|
||||
* $FreeBSD$
|
||||
*/
|
||||
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
#include <sys/param.h>
|
||||
#include <sys/types.h>
|
||||
@ -29,7 +28,6 @@
|
||||
#include <dev/cxgb/common/cxgb_ctl_defs.h>
|
||||
#include <dev/cxgb/common/cxgb_sge_defs.h>
|
||||
#include <dev/cxgb/common/cxgb_firmware_exports.h>
|
||||
|
||||
#include <dev/cxgb/common/jhash.h>
|
||||
#include <dev/cxgb/ulp/toecore/cxgb_toedev.h>
|
||||
#endif
|
||||
|
@ -1033,7 +1033,7 @@ void
|
||||
t3_fatal_err(struct adapter *sc)
|
||||
{
|
||||
u_int fw_status[4];
|
||||
|
||||
|
||||
if (sc->flags & FULL_INIT_DONE) {
|
||||
t3_sge_stop(sc);
|
||||
t3_write_reg(sc, A_XGM_TX_CTRL, 0);
|
||||
@ -1733,11 +1733,9 @@ offload_open(struct port_info *pi)
|
||||
adapter->params.rev == 0 ?
|
||||
adapter->port[0].ifp->if_mtu : 0xffff);
|
||||
init_smt(adapter);
|
||||
|
||||
/* Call back all registered clients */
|
||||
cxgb_add_clients(tdev);
|
||||
|
||||
|
||||
/* restore them in case the offload module has changed them */
|
||||
if (err) {
|
||||
t3_tp_set_offload_mode(adapter, 0);
|
||||
|
@ -1389,7 +1389,7 @@ t3_encap(struct sge_qset *qs, struct mbuf **m, int count)
|
||||
|
||||
if (__predict_false(mlen <= PIO_LEN)) {
|
||||
/* pkt not undersized but fits in PIO_LEN
|
||||
* Indicates a TSO bug
|
||||
* Indicates a TSO bug at the higher levels.
|
||||
*
|
||||
*/
|
||||
DPRINTF("**5592 Fix** mbuf=%p,len=%d,tso_segsz=%d,csum_flags=%#x,flags=%#x",
|
||||
|
@ -53,12 +53,7 @@ __FBSDID("$FreeBSD$");
|
||||
#endif
|
||||
|
||||
extern int cxgb_use_16k_clusters;
|
||||
|
||||
#ifdef _i386__
|
||||
int cxgb_pcpu_cache_enable = 0;
|
||||
#else
|
||||
int cxgb_pcpu_cache_enable = 1;
|
||||
#endif
|
||||
|
||||
struct buf_stack {
|
||||
caddr_t *bs_stack;
|
||||
|
@ -1,6 +1,6 @@
|
||||
/**************************************************************************
|
||||
|
||||
Copyright (c) 2007, Chelsio Inc.
|
||||
Copyright (c) 2007-2008, Chelsio Inc.
|
||||
All rights reserved.
|
||||
|
||||
Redistribution and use in source and binary forms, with or without
|
||||
|
@ -31,9 +31,10 @@ POSSIBILITY OF SUCH DAMAGE.
|
||||
***************************************************************************/
|
||||
|
||||
#ifndef _CXGB_TOEDEV_H_
|
||||
#define _CXGB_TOEDEV_H_
|
||||
#define _CXGB_TOEDEV_H_
|
||||
#include <netinet/toedev.h>
|
||||
|
||||
|
||||
/* offload type ids */
|
||||
enum {
|
||||
TOE_ID_CHELSIO_T1 = 1,
|
||||
|
Loading…
Reference in New Issue
Block a user