Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F131779099
D41688.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
817 B
Referenced Files
None
Subscribers
None
D41688.diff
View Options
diff --git a/sys/dev/cxgbe/tom/t4_cpl_io.c b/sys/dev/cxgbe/tom/t4_cpl_io.c
--- a/sys/dev/cxgbe/tom/t4_cpl_io.c
+++ b/sys/dev/cxgbe/tom/t4_cpl_io.c
@@ -1647,7 +1647,7 @@
struct socket *so;
struct sockbuf *sb;
struct epoch_tracker et;
- int len, rx_credits;
+ int len;
uint32_t ddp_placed = 0;
if (__predict_false(toep->flags & TPF_SYNQE)) {
@@ -1779,12 +1779,7 @@
}
sbappendstream_locked(sb, m, 0);
- rx_credits = sbspace(sb) > tp->rcv_wnd ? sbspace(sb) - tp->rcv_wnd : 0;
- if (rx_credits > 0 && sbused(sb) + tp->rcv_wnd < sb->sb_lowat) {
- rx_credits = send_rx_credits(sc, toep, rx_credits);
- tp->rcv_wnd += rx_credits;
- tp->rcv_adv += rx_credits;
- }
+ t4_rcvd_locked(&toep->td->tod, tp);
if (ulp_mode(toep) == ULP_MODE_TCPDDP && toep->ddp.waiting_count > 0 &&
sbavail(sb) != 0) {
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sun, Oct 12, 2:33 AM (2 h, 8 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
23604195
Default Alt Text
D41688.diff (817 B)
Attached To
Mode
D41688: cxgbe tom: Call t4_rcvd_locked from do_rx_data to return RX credits
Attached
Detach File
Event Timeline
Log In to Comment