Home
last modified time | relevance | path

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

/src/sys/dev/cxgbe/tom/
H A Dt4_cpl_io.c91 struct ofld_tx_sdesc *txsd = &toep->txsd[toep->txsd_pidx]; in send_flowc_wr() local
155 txsd->tx_credits = howmany(flowclen, 16); in send_flowc_wr()
156 txsd->plen = 0; in send_flowc_wr()
157 KASSERT(toep->tx_credits >= txsd->tx_credits && toep->txsd_avail > 0, in send_flowc_wr()
159 toep->tx_credits -= txsd->tx_credits; in send_flowc_wr()
195 struct ofld_tx_sdesc *txsd = &toep->txsd[toep->txsd_pidx]; in update_tx_rate_limit() local
224 txsd->tx_credits = flowclen16; in update_tx_rate_limit()
225 txsd->plen = 0; in update_tx_rate_limit()
226 toep->tx_credits -= txsd->tx_credits; in update_tx_rate_limit()
631 struct ofld_tx_sdesc *txsd; in t4_push_raw_wr() local
[all …]
H A Dt4_tls.c512 struct ofld_tx_sdesc *txsd; in t4_push_ktls() local
551 txsd = &toep->txsd[toep->txsd_pidx]; in t4_push_ktls()
563 txsd = &toep->txsd[toep->txsd_pidx]; in t4_push_ktls()
733 txsd->plen = m->m_len; in t4_push_ktls()
734 txsd->tx_credits = credits; in t4_push_ktls()
735 txsd++; in t4_push_ktls()
738 txsd = &toep->txsd[0]; in t4_push_ktls()
H A Dt4_tom.c134 len = offsetof(struct toepcb, txsd) + in alloc_toepcb()
869 struct ofld_tx_sdesc *txsd; in send_mss_flowc_wr() local
891 txsd = &toep->txsd[toep->txsd_pidx]; in send_mss_flowc_wr()
894 txsd->tx_credits = flowclen16; in send_mss_flowc_wr()
895 txsd->plen = 0; in send_mss_flowc_wr()
896 toep->tx_credits -= txsd->tx_credits; in send_mss_flowc_wr()
2327 struct ofld_tx_sdesc *txsd = &toep->txsd[toep->txsd_pidx]; in send_txdataplen_max_flowc_wr() local
2351 txsd->tx_credits = howmany(flowclen, 16); in send_txdataplen_max_flowc_wr()
2352 txsd->plen = 0; in send_txdataplen_max_flowc_wr()
2353 KASSERT(toep->tx_credits >= txsd->tx_credits && toep->txsd_avail > 0, in send_txdataplen_max_flowc_wr()
[all …]
H A Dt4_tom.h255 struct ofld_tx_sdesc txsd[]; member
/src/sys/dev/cxgbe/crypto/
H A Dt6_kern_tls.c1112 struct tx_sdesc *txsd; in ktls_write_tcp_options() local
1196 txsd = &txq->sdesc[pidx]; in ktls_write_tcp_options()
1197 txsd->m = NULL; in ktls_write_tcp_options()
1198 txsd->desc_used = ndesc; in ktls_write_tcp_options()
1207 struct tx_sdesc *txsd; in ktls_write_tunnel_packet() local
1301 txsd = &txq->sdesc[pidx]; in ktls_write_tunnel_packet()
1302 txsd->m = m; in ktls_write_tunnel_packet()
1303 txsd->desc_used = ndesc; in ktls_write_tunnel_packet()
1319 struct tx_sdesc *txsd; in ktls_write_tls_wr() local
1595 txsd = &txq->sdesc[pidx]; in ktls_write_tls_wr()
[all …]
H A Dt7_kern_tls.c1152 struct tx_sdesc *txsd; in ktls_write_tunnel_packet() local
1230 txsd = &txq->sdesc[pidx]; in ktls_write_tunnel_packet()
1232 txsd->m = m; in ktls_write_tunnel_packet()
1234 txsd->m = NULL; in ktls_write_tunnel_packet()
1235 txsd->desc_used = ndesc; in ktls_write_tunnel_packet()
1247 struct tx_sdesc *txsd; in ktls_write_tls_wr() local
2009 txsd = &txq->sdesc[pidx]; in ktls_write_tls_wr()
2011 txsd->m = m; in ktls_write_tls_wr()
2013 txsd->m = NULL; in ktls_write_tls_wr()
2014 txsd->desc_used = ndesc; in ktls_write_tls_wr()
/src/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 …]
/src/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 …]
/src/sys/dev/cxgbe/
H A Dt4_sge.c5639 struct tx_sdesc *txsd; in write_txpkt_vm_wr() local
5719 txsd = &txq->sdesc[eq->pidx]; in write_txpkt_vm_wr()
5720 txsd->m = m0; in write_txpkt_vm_wr()
5721 txsd->desc_used = ndesc; in write_txpkt_vm_wr()
5737 struct tx_sdesc *txsd; in write_raw_wr() local
5752 txsd = &txq->sdesc[eq->pidx]; in write_raw_wr()
5753 txsd->m = m0; in write_raw_wr()
5754 txsd->desc_used = ndesc; in write_raw_wr()
5772 struct tx_sdesc *txsd; in write_txpkt_wr() local
5871 txsd = &txq->sdesc[eq->pidx]; in write_txpkt_wr()
[all …]
H A Dt4_main.c7386 struct tx_sdesc *txsd; in quiesce_txq() local
7388 txsd = &txq->sdesc[eq->cidx]; in quiesce_txq()
7389 for (m = txsd->m; m != NULL; m = nextpkt) { in quiesce_txq()
7394 IDXINCR(eq->cidx, txsd->desc_used, eq->sidx); in quiesce_txq()
/src/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()
1331 txsd->tx_credits = howmany(wrsize, 16); in creds()
1332 txsd->plen = 0; in creds()
1333 KASSERT(toep->tx_credits >= txsd->tx_credits && toep->txsd_avail > 0, in creds()
1335 toep->tx_credits -= txsd->tx_credits; in creds()
1341 txsd->tx_credits, toep->tx_credits, toep->txsd_pidx); in creds()