Searched refs:credits (Results 1 - 20 of 20) sorted by path

/freebsd-11-stable/contrib/ofed/librdmacm/
H A Drsocket.c129 * bits [28-0]: receive credits granted
207 __be16 credits; member in struct:rs_conn_data
1046 conn->credits = htobe16(rs->rq_size);
1080 rs->sseq_comp = be16toh(conn->credits);
2017 * For example, rsend may need to wait for credits from the remote side,
/freebsd-11-stable/sys/dev/cxgb/common/
H A Dcxgb_common.h815 unsigned int credits, unsigned int credit_thres);
825 unsigned int credits);
H A Dcxgb_ctl_defs.h136 unsigned int credits; member in struct:rdma_cq_op
146 unsigned int credits; member in struct:rdma_cq_setup
H A Dcxgb_t3_cpl.h927 __be16 credits; member in struct:cpl_wr_ack
H A Dcxgb_t3_hw.c2568 unsigned int credits = type == SGE_CNTXT_OFLD ? 0 : FW_WR_NUM; local
2577 V_EC_CREDITS(credits) | V_EC_GTS(gts_enable));
2681 * @credits: completion queue credits
2690 unsigned int credits, unsigned int credit_thres)
2705 t3_write_reg(adapter, A_SG_CONTEXT_DATA3, V_CQ_CREDITS(credits) |
2812 * @credits: credits to return to the CQ
2822 unsigned int credits)
2829 t3_write_reg(adapter, A_SG_CONTEXT_DATA0, credits << 1
2688 t3_sge_init_cqcntxt(adapter_t *adapter, unsigned int id, u64 base_addr, unsigned int size, int rspq, int ovfl_mode, unsigned int credits, unsigned int credit_thres) argument
2821 t3_sge_cqcntxt_op(adapter_t *adapter, unsigned int id, unsigned int op, unsigned int credits) argument
[all...]
/freebsd-11-stable/sys/dev/cxgb/
H A Dcxgb_adapter.h173 uint32_t credits; member in struct:sge_rspq
206 uint32_t credits; member in struct:sge_fl
H A Dcxgb_sge.c766 q->credits++;
791 while (q->credits--) {
817 refill_fl(adap, fl, min(16U, fl->size - fl->credits));
823 uint32_t reclaimable = fl->size - fl->credits;
850 q->credits++;
948 * c) Return coalesced response queue credits in case a response queue is
975 refill_rx = ((qs->fl[0].credits < qs->fl[0].size) ||
976 (qs->fl[1].credits < qs->fl[1].size));
1033 * @credits: how many new responses to make available
1039 refill_rspq(adapter_t *sc, const struct sge_rspq *q, u_int credits) argument
2780 unsigned int credits; local
[all...]
/freebsd-11-stable/sys/dev/cxgb/ulp/iw_cxgb/
H A Diw_cxgb_hal.c95 unsigned size, unsigned ovfl_mode, unsigned credits, unsigned credit_thres)
102 ovfl_mode, credits, credit_thres);
1329 * T3A: compute credits.
94 cxio_rdma_cq_setup(struct cxio_rdev *rdev_p, unsigned id, uint64_t base_addr, unsigned size, unsigned ovfl_mode, unsigned credits, unsigned credit_thres) argument
/freebsd-11-stable/sys/dev/cxgb/ulp/tom/
H A Dcxgb_cpl_io.c568 send_rx_credits(struct adapter *sc, struct toepcb *toep, int credits) argument
581 req->credit_dack = htonl(dack | V_RX_CREDITS(credits));
583 return (credits);
607 int credits; local
609 credits = send_rx_credits(sc, toep, toep->tp_rx_credits);
610 toep->tp_rx_credits -= credits;
611 tp->rcv_wnd += credits;
612 tp->rcv_adv += credits;
1594 * If we were unable to send all rx credits via opt0, save the remainder
1708 unsigned int credits local
[all...]
/freebsd-11-stable/sys/netgraph/bluetooth/include/
H A Dng_btsocket_rfcomm.h178 u_int8_t credits; member in struct:rfcomm_mcc_pn
295 int16_t rx_cred; /* RX credits */
296 int16_t tx_cred; /* TX credits */
/freebsd-11-stable/sys/netgraph/bluetooth/socket/
H A Dng_btsocket_rfcomm.c159 u_int8_t credits, u_int16_t mtu);
165 u_int8_t credits, struct mbuf *data);
1321 * extra byte for credits.
1480 * one extra byte for credits.
1549 * for credits.
2345 /* Did we get any credits? */
2348 "%s: Got %d more credits for dlci=%d, state=%d, flags=%#x, " \
2364 /* Give remote peer more credits (if needed) */
2369 "%s: Remote side still has credits, dlci=%d, state=%d, flags=%#x, " \
2829 "ack_timer=%d, mtu=%d, max_retrans=%d, credits
2951 ng_btsocket_rfcomm_set_pn(ng_btsocket_rfcomm_pcb_p pcb, u_int8_t cr, u_int8_t flow_control, u_int8_t credits, u_int16_t mtu) argument
3039 ng_btsocket_rfcomm_send_uih(ng_btsocket_rfcomm_session_p s, u_int8_t address, u_int8_t pf, u_int8_t credits, struct mbuf *data) argument
3209 u_int8_t credits; local
[all...]
/freebsd-11-stable/sys/ofed/drivers/infiniband/ulp/sdp/
H A Dsdp.h321 atomic_t credits; member in struct:sdp_tx_ring
322 #define tx_credits(ssk) (atomic_read(&ssk->tx_ring.credits))
497 sdp_dbg_data(ssk->socket, "Arming TX cq. credits: %d, posted: %d\n",
504 * - tx credits
H A Dsdp_cma.c172 atomic_set(&ssk->tx_ring.credits, ssk->max_bufs);
204 atomic_set(&ssk->tx_ring.credits, ssk->max_bufs);
H A Dsdp_rx.c421 atomic_set(&ssk->tx_ring.credits, mseq_ack - ring_head(ssk->tx_ring) +
519 /* Wakeup writers if we now have credits. */
648 sdp_prf(ssk->socket, NULL, "credits: %d -> %d",
H A Dsdp_tx.c158 atomic_dec(&ssk->tx_ring.credits);
/freebsd-11-stable/sys/dev/cxgbe/common/
H A Dt4_msg.h1236 __be16 credits; member in struct:cpl_wr_ack
2738 u8 credits; member in struct:cpl_fw4_ack
/freebsd-11-stable/sys/dev/cxgbe/tom/
H A Dt4_cpl_io.c199 ("%s: not enough credits (%d)", __func__, toep->tx_credits));
443 send_rx_credits(struct adapter *sc, struct toepcb *toep, int credits) argument
449 KASSERT(credits >= 0, ("%s: %d credits", __func__, credits));
457 req->credit_dack = htobe32(dack | V_RX_CREDITS(credits));
460 return (credits);
579 ("%s: %d credits", __func__, tx_credits));
599 ("%s: %d credits", __func__, tx_credits));
613 unsigned int plen, uint8_t credits, in
612 write_tx_wr(void *dst, struct toepcb *toep, unsigned int immdlen, unsigned int plen, uint8_t credits, int shove, int ulp_submode, int txalign) argument
717 u_int plen, nsegs, credits, max_imm, max_nsegs, max_nsegs_1mbuf; local
976 u_int plen, nsegs, credits, max_imm, max_nsegs, max_nsegs_1mbuf; local
1700 uint8_t credits = cpl->credits; local
[all...]
H A Dt4_tls.c915 ("%s: %d credits", __func__, tx_credits));
952 unsigned int pdus, uint8_t credits, int shove, int imm_ivs)
961 V_FW_TLSTX_DATA_WR_LEN16(credits));
1095 u_int plen, nsegs, credits, space, max_nsegs_1mbuf, wr_len; local
1329 credits = howmany(wr_len, 16);
1332 tls_size, expn_size, pdus, credits, shove, imm_ivs ? 1 : 0);
1355 KASSERT(toep->tx_credits >= credits,
1356 ("%s: not enough credits", __func__));
1358 toep->tx_credits -= credits;
1374 txsd->tx_credits = credits;
950 write_tlstx_wr(struct fw_tlstx_data_wr *txwr, struct toepcb *toep, unsigned int immdlen, unsigned int plen, unsigned int expn, unsigned int pdus, uint8_t credits, int shove, int imm_ivs) argument
[all...]
/freebsd-11-stable/sys/dev/ixl/
H A Di40e_adminq_cmd.h1603 __le16 credits[8]; member in struct:i40e_aqc_query_vsi_ets_sla_config_resp
/freebsd-11-stable/sys/net/
H A Diflib.c1837 qidx_t credits; local
1844 credits = fl->ifl_credits;
1848 MPASS(credits + n <= fl->ifl_size);
1852 if (pidx == fl->ifl_cidx && (credits < fl->ifl_size))
1925 credits++;
1927 MPASS(credits <= fl->ifl_size);
1939 fl->ifl_credits = credits;
1949 fl->ifl_credits = credits;
5598 int credits; local
5606 if ((credits
[all...]

Completed in 310 milliseconds