Home
last modified time | relevance | path

Searched refs:txsd (Results 1 – 11 of 11) sorted by relevance

/freebsd/sys/dev/cxgbe/tom/
H A Dt4_cpl_io.c90 struct ofld_tx_sdesc *txsd = &toep->txsd[toep->txsd_pidx]; in send_flowc_wr() local
151 txsd->tx_credits = howmany(flowclen, 16); in send_flowc_wr()
152 txsd->plen = 0; in send_flowc_wr()
153 KASSERT(toep->tx_credits >= txsd->tx_credits && toep->txsd_avail > 0, in send_flowc_wr()
155 toep->tx_credits -= txsd->tx_credits; in send_flowc_wr()
191 struct ofld_tx_sdesc *txsd = &toep->txsd[toep->txsd_pidx]; in update_tx_rate_limit() local
218 txsd->tx_credits = flowclen16; in update_tx_rate_limit()
219 txsd->plen = 0; in update_tx_rate_limit()
220 toep->tx_credits -= txsd->tx_credits; in update_tx_rate_limit()
648 struct ofld_tx_sdesc *txsd; in t4_push_frames() local
[all …]
H A Dt4_tls.c155 struct ofld_tx_sdesc *txsd; in tls_program_key_id() local
193 txsd = &toep->txsd[toep->txsd_pidx]; in tls_program_key_id()
194 txsd->tx_credits = DIV_ROUND_UP(TLS_KEY_WR_SZ, 16); in tls_program_key_id()
195 txsd->plen = 0; in tls_program_key_id()
196 toep->tx_credits -= txsd->tx_credits; in tls_program_key_id()
498 struct ofld_tx_sdesc *txsd; in t4_push_ktls() local
535 txsd = &toep->txsd[toep->txsd_pidx]; in t4_push_ktls()
696 KASSERT(toep->txsd_avail > 0, ("%s: no txsd", __func_ in t4_push_ktls()
[all...]
H A Dt4_tom.c134 len = offsetof(struct toepcb, txsd) + in alloc_toepcb()
862 struct ofld_tx_sdesc *txsd; in send_mss_flowc_wr() local
884 txsd = &toep->txsd[toep->txsd_pidx]; in send_mss_flowc_wr()
885 txsd->tx_credits = flowclen16; in send_mss_flowc_wr()
886 txsd->plen = 0; in send_mss_flowc_wr()
887 toep->tx_credits -= txsd->tx_credits; in send_mss_flowc_wr()
H A Dt4_tom.h251 struct ofld_tx_sdesc txsd[]; member
/freebsd/sys/dev/cxgbe/crypto/
H A Dt6_kern_tls.c1112 struct tx_sdesc *txsd; in ktls_write_tcp_options() local
1195 txsd = &txq->sdesc[pidx]; in ktls_write_tcp_options()
1196 txsd->m = NULL; in ktls_write_tcp_options()
1197 txsd->desc_used = ndesc; in ktls_write_tcp_options()
1206 struct tx_sdesc *txsd; in ktls_write_tunnel_packet() local
1299 txsd = &txq->sdesc[pidx]; in ktls_write_tunnel_packet()
1300 txsd->m = m; in ktls_write_tunnel_packet()
1301 txsd->desc_used = ndesc; in ktls_write_tunnel_packet()
1317 struct tx_sdesc *txsd; in ktls_write_tls_wr() local
1593 txsd = &txq->sdesc[pidx]; in ktls_write_tls_wr()
[all …]
/freebsd/sys/dev/et/
H A Dif_et.c863 struct et_txstatus_data *txsd; in et_dma_alloc() local
884 txsd = &sc->sc_tx_status; in et_dma_alloc()
886 &txsd->txsd_dtag, (uint8_t **)&txsd->txsd_status, &txsd->txsd_dmap, in et_dma_alloc()
887 &txsd->txsd_paddr, "TX status block"); in et_dma_alloc()
1038 struct et_txstatus_data *txsd; in et_dma_free() local
1114 txsd = &sc->sc_tx_status; in et_dma_free()
1115 et_dma_ring_free(sc, &txsd->txsd_dtag, (void *)&txsd->txsd_status, in et_dma_free()
1116 txsd->txsd_dmap, &txsd->txsd_paddr); in et_dma_free()
1671 struct et_txstatus_data *txsd; in et_init_tx_ring() local
1683 txsd = &sc->sc_tx_status; in et_init_tx_ring()
[all …]
/freebsd/sys/dev/cxgb/
H A Dcxgb_sge.c1363 struct tx_sw_desc *txsd; in t3_encap() local
1374 txsd = &txq->sdesc[txq->pidx]; in t3_encap()
1389 busdma_map_sg_vec(txq->entry_tag, txsd->map, m0, segs, &nsegs); in t3_encap()
1393 if ((err = busdma_map_sg_collapse(txq->entry_tag, txsd->map, in t3_encap()
1405 txsd->m = m0; in t3_encap()
1520 txsd->m = NULL; in t3_encap()
1551 txsd->m = NULL; in t3_encap()
2120 struct tx_sw_desc *txsd; in t3_free_tx_desc() local
2130 txsd = &q->sdesc[cidx]; in t3_free_tx_desc()
2137 if (txsd->m != NULL) { in t3_free_tx_desc()
[all …]
/freebsd/sys/dev/cxgbe/cxgbei/
H A Dicl_cxgbei.c1036 struct ofld_tx_sdesc *txsd = &toep->txsd[toep->txsd_pidx]; in send_iscsi_flowc_wr() local
1056 txsd->tx_credits = howmany(flowclen, 16); in send_iscsi_flowc_wr()
1057 txsd->plen = 0; in send_iscsi_flowc_wr()
1058 KASSERT(toep->tx_credits >= txsd->tx_credits && toep->txsd_avail > 0, in send_iscsi_flowc_wr()
1060 toep->tx_credits -= txsd->tx_credits; in send_iscsi_flowc_wr()
/freebsd/sys/dev/cxgbe/
H A Dt4_sge.c5447 struct tx_sdesc *txsd; in write_txpkt_vm_wr() local
5527 txsd = &txq->sdesc[eq->pidx]; in write_txpkt_vm_wr()
5528 txsd->m = m0; in write_txpkt_vm_wr()
5529 txsd->desc_used = ndesc; in write_txpkt_vm_wr()
5545 struct tx_sdesc *txsd; in write_raw_wr() local
5560 txsd = &txq->sdesc[eq->pidx]; in write_raw_wr()
5561 txsd->m = m0; in write_raw_wr()
5562 txsd->desc_used = ndesc; in write_raw_wr()
5580 struct tx_sdesc *txsd; in write_txpkt_wr() local
5679 txsd = &txq->sdesc[eq->pidx]; in write_txpkt_wr()
[all …]
H A Dt4_main.c7171 struct tx_sdesc *txsd; in quiesce_txq() local
7173 txsd = &txq->sdesc[eq->cidx]; in quiesce_txq()
7174 for (m = txsd->m; m != NULL; m = nextpkt) { in quiesce_txq()
7179 IDXINCR(eq->cidx, txsd->desc_used, eq->sidx); in quiesce_txq()
/freebsd/sys/dev/cxgbe/iw_cxgbe/
H A Dqp.c1320 struct ofld_tx_sdesc *txsd; in creds() local
1328 txsd = &toep->txsd[toep->txsd_pidx]; in creds()
1329 txsd->tx_credits = howmany(wrsize, 16); in creds()
1330 txsd->plen = 0; in creds()
1331 KASSERT(toep->tx_credits >= txsd->tx_credits && toep->txsd_avail > 0, in creds()
1333 toep->tx_credits -= txsd->tx_credits; in creds()
1339 txsd->tx_credits, toep->tx_credits, toep->txsd_pidx); in creds()