Home
last modified time | relevance | path

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

/freebsd/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()
703 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()
551 txsd = &toep->txsd[toep->txsd_pidx]; in t4_push_ktls()
563 txsd = &toep->txsd[toep->txsd_pidx]; in t4_push_ktls()
730 KASSERT(toep->txsd_avail > 0, ("%s: no txsd", __func__));
733 txsd->plen = m->m_len;
734 txsd->tx_credits = credits;
735 txsd++;
738 txsd in do_tls_data()
499 struct ofld_tx_sdesc *txsd; t4_push_ktls() local
[all...]
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[];
254 struct ofld_tx_sdesc txsd[]; global() member
/freebsd/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 in ktls_write_tls_wr()
1858 struct tx_sdesc *txsd; ktls_write_tcp_fin() local
1954 struct tx_sdesc *txsd; t6_ktls_write_wr() local
[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()
/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]; send_iscsi_flowc_wr() local
/freebsd/sys/dev/cxgbe/
H A Dt4_sge.c5641 struct tx_sdesc *txsd; in write_txpkt_vm_wr() local
5721 txsd = &txq->sdesc[eq->pidx]; in write_txpkt_vm_wr()
5722 txsd->m = m0; in write_txpkt_vm_wr()
5723 txsd->desc_used = ndesc; in write_txpkt_vm_wr()
5739 struct tx_sdesc *txsd; in write_raw_wr() local
5754 txsd = &txq->sdesc[eq->pidx]; in write_raw_wr()
5755 txsd->m = m0; in write_raw_wr()
5756 txsd->desc_used = ndesc; in write_raw_wr()
5774 struct tx_sdesc *txsd; in write_txpkt_wr() local
5873 txsd = &txq->sdesc[eq->pidx]; in write_txpkt_wr()
[all …]
H A Dt4_main.c7384 struct tx_sdesc *txsd; in quiesce_txq() local
7386 txsd = &txq->sdesc[eq->cidx]; in quiesce_txq()
7387 for (m = txsd->m; m != NULL; m = nextpkt) { in quiesce_txq()
7392 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()
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()