Lines Matching refs:rx_credits
285 tp->rcv_wnd = toep->rx_credits << 10;
291 * in rx_credits so that they can be handed over with the next credit
297 toep->rx_credits = bufsize - tp->rcv_wnd;
362 toep->rx_credits += toep->sb_cc - sbused(sb);
365 if (toep->rx_credits > 0 &&
366 (tp->rcv_wnd <= 32 * 1024 || toep->rx_credits >= 64 * 1024 ||
367 (toep->rx_credits >= 16 * 1024 && tp->rcv_wnd <= 128 * 1024) ||
370 credits = send_rx_credits(sc, toep, toep->rx_credits);
371 toep->rx_credits -= credits;
1464 toep->rx_credits += newsize - hiwat;
1505 toep->rx_credits += toep->sb_cc - sbused(sb);
1508 if (toep->rx_credits > 0 && toep->sb_cc + tp->rcv_wnd < sb->sb_lowat) {
1511 credits = send_rx_credits(sc, toep, toep->rx_credits);
1512 toep->rx_credits -= credits;