diff options
author | kmacy <kmacy@FreeBSD.org> | 2007-12-17 08:17:51 +0000 |
---|---|---|
committer | kmacy <kmacy@FreeBSD.org> | 2007-12-17 08:17:51 +0000 |
commit | a541ef6e7d7fe0d86656da7cb59e16001490c75d (patch) | |
tree | f9b5d406a9741ca821495d3f36a570d2d0fdae9b /sys/dev/cxgb/common | |
parent | 496a3a2c524be0d8fb834ef5bad45f4611b82969 (diff) | |
download | FreeBSD-src-a541ef6e7d7fe0d86656da7cb59e16001490c75d.zip FreeBSD-src-a541ef6e7d7fe0d86656da7cb59e16001490c75d.tar.gz |
Make TCP offload work on HEAD (modulo negative interaction between sbcompress
and t3_push_frames).
- Import latest changes to cxgb_main.c and cxgb_sge.c from toestack p4 branch
- make driver local copy of tcp_subr.c and tcp_usrreq.c and override tcp_usrreqs so
TOE can also functions on versions with unmodified TCP
- add cxgb back to the build
Diffstat (limited to 'sys/dev/cxgb/common')
-rw-r--r-- | sys/dev/cxgb/common/cxgb_t3_cpl.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/sys/dev/cxgb/common/cxgb_t3_cpl.h b/sys/dev/cxgb/common/cxgb_t3_cpl.h index e1b4030..672823c 100644 --- a/sys/dev/cxgb/common/cxgb_t3_cpl.h +++ b/sys/dev/cxgb/common/cxgb_t3_cpl.h @@ -1131,6 +1131,18 @@ struct cpl_tx_pkt_lso { __be32 lso_info; }; +struct cpl_tx_pkt_batch_entry { + __be32 cntrl; + __be32 len; + __be64 addr; +}; + +struct cpl_tx_pkt_batch { + WR_HDR; + struct cpl_tx_pkt_batch_entry pkt_entry[7]; +}; + + /* cpl_tx_pkt*.cntrl fields */ #define S_TXPKT_VLAN 0 #define M_TXPKT_VLAN 0xFFFF |