aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/cxgbe/tom/t4_ddp.c
diff options
context:
space:
mode:
authorGleb Smirnoff <glebius@FreeBSD.org>2014-11-30 13:24:21 +0000
committerGleb Smirnoff <glebius@FreeBSD.org>2014-11-30 13:24:21 +0000
commit651e4e6a307776b3f5201639e10c4b4d0949dcb0 (patch)
treefcd9e335b091a7447c168c321acc47998ebd38d2 /sys/dev/cxgbe/tom/t4_ddp.c
parentdcf58f92e2c19a32fc171f763698e711c719badc (diff)
downloadsrc-651e4e6a307776b3f5201639e10c4b4d0949dcb0.tar.gz
src-651e4e6a307776b3f5201639e10c4b4d0949dcb0.zip
Merge from projects/sendfile: extend protocols API to support
sending not ready data: o Add new flag to pru_send() flags - PRUS_NOTREADY. o Add new protocol method pru_ready(). Sponsored by: Nginx, Inc. Sponsored by: Netflix
Notes
Notes: svn path=/head/; revision=275329
Diffstat (limited to 'sys/dev/cxgbe/tom/t4_ddp.c')
-rw-r--r--sys/dev/cxgbe/tom/t4_ddp.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/cxgbe/tom/t4_ddp.c b/sys/dev/cxgbe/tom/t4_ddp.c
index bf0889963306..17eb071b3cb7 100644
--- a/sys/dev/cxgbe/tom/t4_ddp.c
+++ b/sys/dev/cxgbe/tom/t4_ddp.c
@@ -231,7 +231,7 @@ insert_ddp_data(struct toepcb *toep, uint32_t n)
#ifdef USE_DDP_RX_FLOW_CONTROL
toep->rx_credits -= n; /* adjust for F_RX_FC_DDP */
#endif
- sbappendstream_locked(sb, m);
+ sbappendstream_locked(sb, m, 0);
toep->sb_cc = sbused(sb);
}
@@ -466,7 +466,7 @@ handle_ddp_data(struct toepcb *toep, __be32 ddp_report, __be32 rcv_nxt, int len)
#ifdef USE_DDP_RX_FLOW_CONTROL
toep->rx_credits -= len; /* adjust for F_RX_FC_DDP */
#endif
- sbappendstream_locked(sb, m);
+ sbappendstream_locked(sb, m, 0);
toep->sb_cc = sbused(sb);
wakeup:
KASSERT(toep->ddp_flags & db_flag,