summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorkmacy <kmacy@FreeBSD.org>2007-12-17 10:02:29 +0000
committerkmacy <kmacy@FreeBSD.org>2007-12-17 10:02:29 +0000
commitf0dbf05ef2e00eed8a58f6f58a1fcf68dd018264 (patch)
treee240147fb595d9bd709bf3468c6e288a50ad9705
parent41d59439f83322b0bb95a3ae4e5ddb1d9886f5c1 (diff)
downloadFreeBSD-src-f0dbf05ef2e00eed8a58f6f58a1fcf68dd018264.zip
FreeBSD-src-f0dbf05ef2e00eed8a58f6f58a1fcf68dd018264.tar.gz
disable update in place on transmit
-rw-r--r--sys/dev/cxgb/ulp/tom/cxgb_cpl_io.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/sys/dev/cxgb/ulp/tom/cxgb_cpl_io.c b/sys/dev/cxgb/ulp/tom/cxgb_cpl_io.c
index 4b17f8e..0f2f2ee 100644
--- a/sys/dev/cxgb/ulp/tom/cxgb_cpl_io.c
+++ b/sys/dev/cxgb/ulp/tom/cxgb_cpl_io.c
@@ -1012,14 +1012,12 @@ init_offload_socket(struct socket *so, struct toedev *dev, unsigned int tid,
SOCK_LOCK_ASSERT(so);
printf("initializing offload socket\n");
-#ifdef notyet
/*
* We either need to fix push frames to work with sbcompress
* or we need to add this
*/
- so->so_rcv.sb_flags |= SB_TOE;
- so->so_snd.sb_flags |= SB_TOE;
-#endif
+ so->so_snd.sb_flags |= SB_NOCOALESCE;
+
tp->t_toe = toep;
toep->tp_tp = tp;
toep->tp_toedev = dev;
OpenPOWER on IntegriCloud