Searched refs:rx_credits (Results 1 - 9 of 9) sorted by relevance

/freebsd-11.0-release/sys/dev/cxgbe/tom/
H A Dt4_cpl_io.c285 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
[all...]
H A Dt4_connect.c359 toep->rx_credits = min(select_rcv_wnd(so) >> 10, M_RCV_BUFSIZ);
408 toep->rx_credits, toep->ulp_mode);
428 toep->rx_credits, toep->ulp_mode);
H A Dt4_tom.h134 int rx_credits; /* rx credits (in bytes) to be returned to hw */ member in struct:toepcb
H A Dt4_listen.c1176 int rscale, mtu_idx, rx_credits, rxqid, ulp_mode; local
1311 rx_credits = min(select_rcv_wnd(so) >> 10, M_RCV_BUFSIZ);
1329 rpl->opt0 = calc_opt0(so, vi, e, mtu_idx, rscale, rx_credits, ulp_mode);
1338 synqe->rcv_bufsize = rx_credits;
1533 toep->rx_credits = synqe->rcv_bufsize;
H A Dt4_tom.c549 int mtu_idx, int rscale, int rx_credits, int ulp_mode)
553 KASSERT(rx_credits <= M_RCV_BUFSIZ,
557 V_ULP_MODE(ulp_mode) | V_RCV_BUFSIZ(rx_credits);
548 calc_opt0(struct socket *so, struct vi_info *vi, struct l2t_entry *e, int mtu_idx, int rscale, int rx_credits, int ulp_mode) argument
H A Dt4_ddp.c348 toep->rx_credits += n;
598 toep->rx_credits += newsize - hiwat;
604 toep->rx_credits += len;
748 toep->rx_credits += len;
/freebsd-11.0-release/sys/dev/cxgb/ulp/tom/
H A Dcxgb_tom.h119 int rx_credits; member in struct:synq_entry
H A Dcxgb_listen.c571 synqe->rx_credits = min(select_rcv_wnd(so) >> 10, M_RCV_BUFSIZ);
735 toep->tp_rx_credits = synqe->rx_credits;
979 calc_opt0l(NULL, synqe->rx_credits);
/freebsd-11.0-release/sys/dev/cxgbe/cxgbei/
H A Dcxgbei.c655 toep->rx_credits += pdu_len;

Completed in 109 milliseconds