Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F153499351
D41690.id127153.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
967 B
Referenced Files
None
Subscribers
None
D41690.id127153.diff
View Options
diff --git a/sys/dev/cxgbe/tom/t4_tls.c b/sys/dev/cxgbe/tom/t4_tls.c
--- a/sys/dev/cxgbe/tom/t4_tls.c
+++ b/sys/dev/cxgbe/tom/t4_tls.c
@@ -794,7 +794,7 @@
struct mbuf *tls_data;
struct tls_get_record *tgr;
struct mbuf *control;
- int pdu_length, rx_credits, trailer_len;
+ int pdu_length, trailer_len;
#if defined(KTR) || defined(INVARIANTS)
int len;
#endif
@@ -975,16 +975,7 @@
sbappendcontrol_locked(sb, m, control, 0);
else
sbappendstream_locked(sb, m, 0);
- rx_credits = sbspace(sb) > tp->rcv_wnd ? sbspace(sb) - tp->rcv_wnd : 0;
-#ifdef VERBOSE_TRACES
- CTR4(KTR_CXGBE, "%s: tid %u rx_credits %u rcv_wnd %u",
- __func__, tid, rx_credits, tp->rcv_wnd);
-#endif
- 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);
sorwakeup_locked(so);
SOCKBUF_UNLOCK_ASSERT(sb);
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Wed, Apr 22, 11:48 AM (12 h, 18 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
31976501
Default Alt Text
D41690.id127153.diff (967 B)
Attached To
Mode
D41690: cxgbe t4_tls: Call t4_rcvd_locked from do_rx_tls_cmp
Attached
Detach File
Event Timeline
Log In to Comment