Lines Matching defs:rx_credits
1462 int len, pdu_length, rx_credits;
1585 rx_credits = sbspace(sb) > tp->rcv_wnd ? sbspace(sb) - tp->rcv_wnd : 0;
1587 CTR4(KTR_CXGBE, "%s: tid %u rx_credits %u rcv_wnd %u",
1588 __func__, tid, rx_credits, tp->rcv_wnd);
1590 if (rx_credits > 0 && sbused(sb) + tp->rcv_wnd < sb->sb_lowat) {
1591 rx_credits = send_rx_credits(sc, toep, rx_credits);
1592 tp->rcv_wnd += rx_credits;
1593 tp->rcv_adv += rx_credits;
1614 int error, len, rx_credits;
1712 rx_credits = sbspace(sb) > tp->rcv_wnd ? sbspace(sb) - tp->rcv_wnd : 0;
1714 CTR4(KTR_CXGBE, "%s: tid %u rx_credits %u rcv_wnd %u",
1715 __func__, toep->tid, rx_credits, tp->rcv_wnd);
1717 if (rx_credits > 0 && sbused(sb) + tp->rcv_wnd < sb->sb_lowat) {
1718 rx_credits = send_rx_credits(toep->vi->adapter, toep,
1719 rx_credits);
1720 tp->rcv_wnd += rx_credits;
1721 tp->rcv_adv += rx_credits;