Fix debug trace after removal of pdu_overhead.

MFC after:	1 week
Sponsored by:	Chelsio Communications
This commit is contained in:
John Baldwin 2019-06-07 21:30:11 +00:00
parent 35251e9c28
commit 5f37b74d5d
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=348791

View File

@ -1585,8 +1585,8 @@ do_rx_tls_cmp(struct sge_iq *iq, const struct rss_header *rss, struct mbuf *m)
sbappendstream_locked(sb, m, 0);
rx_credits = sbspace(sb) > tp->rcv_wnd ? sbspace(sb) - tp->rcv_wnd : 0;
#ifdef VERBOSE_TRACES
CTR5(KTR_CXGBE, "%s: tid %u PDU overhead %d rx_credits %u rcv_wnd %u",
__func__, tid, pdu_overhead, rx_credits, tp->rcv_wnd);
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);