Home
last modified time | relevance | path

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

/linux/drivers/net/ethernet/marvell/octeontx2/nic/
H A Dotx2_txrx.h100 struct qmem *tso_hdrs; member
H A Dqos_sq.c142 qmem_free(pfvf->dev, sq->tso_hdrs); in otx2_qos_sq_free_sqbs()
H A Dotx2_txrx.c964 hdr = sq->tso_hdrs->base + (sq->head * TSO_HEADER_SIZE); in otx2_sq_append_tso()
967 sq->tso_hdrs->iova + (sq->head * TSO_HEADER_SIZE); in otx2_sq_append_tso()
H A Dotx2_common.c1001 err = qmem_alloc(pfvf->dev, &sq->tso_hdrs, qset->sqe_cnt, in otx2_sq_init()
H A Dotx2_pf.c1580 qmem_free(pf->dev, sq->tso_hdrs); in otx2_free_sq_res()
/linux/drivers/net/ethernet/cavium/thunder/
H A Dnicvf_queues.c542 sq->tso_hdrs = dma_alloc_coherent(&nic->pdev->dev, in nicvf_init_snd_queue()
546 if (!sq->tso_hdrs) in nicvf_init_snd_queue()
583 if (sq->tso_hdrs) { in nicvf_free_snd_queue()
586 sq->tso_hdrs, sq->tso_hdrs_phys); in nicvf_free_snd_queue()
587 sq->tso_hdrs = NULL; in nicvf_free_snd_queue()
1508 hdr = sq->tso_hdrs + qentry * TSO_HEADER_SIZE; in nicvf_sq_append_tso()
H A Dnicvf_queues.h280 char *tso_hdrs; member
/linux/drivers/net/ethernet/marvell/
H A Dmv643xx_eth.c352 char *tso_hdrs; member
746 memcpy(txq->tso_hdrs + tx_index * TSO_HEADER_SIZE, in txq_put_data_tso()
849 hdr = txq->tso_hdrs + txq->tx_curr_desc * TSO_HEADER_SIZE; in txq_submit_tso()
2096 txq->tso_hdrs = dma_alloc_coherent(mp->dev->dev.parent, in txq_init()
2099 if (txq->tso_hdrs == NULL) { in txq_init()
2135 if (txq->tso_hdrs) in txq_deinit()
2138 txq->tso_hdrs, txq->tso_hdrs_dma); in txq_deinit()
H A Dmvneta.c699 char *tso_hdrs[MVNETA_MAX_TSO_PAGES]; member
2679 if (txq->tso_hdrs[i]) { in mvneta_free_tso_hdrs()
2681 txq->tso_hdrs[i], in mvneta_free_tso_hdrs()
2683 txq->tso_hdrs[i] = NULL; in mvneta_free_tso_hdrs()
2696 txq->tso_hdrs[i] = dma_alloc_coherent(dev, MVNETA_TSO_PAGE_SIZE, in mvneta_alloc_tso_hdrs()
2699 if (!txq->tso_hdrs[i]) { in mvneta_alloc_tso_hdrs()
2717 return txq->tso_hdrs[index] + offset; in mvneta_get_tso_hdr()
/linux/drivers/net/ethernet/freescale/
H A Dfec.h551 char *tso_hdrs; member
H A Dfec_main.c798 bufaddr = txq->tso_hdrs + index * TSO_HEADER_SIZE; in fec_enet_txq_put_hdr_tso()
873 hdr = txq->tso_hdrs + index * TSO_HEADER_SIZE; in fec_enet_txq_submit_tso()
3934 if (fep->tx_queue[i] && fep->tx_queue[i]->tso_hdrs) { in fec_enet_free_queue()
3938 txq->tso_hdrs, txq->tso_hdrs_dma); in fec_enet_free_queue()
3968 txq->tso_hdrs = fec_dma_alloc(&fep->pdev->dev, in fec_enet_alloc_queue()
3971 if (!txq->tso_hdrs) { in fec_enet_alloc_queue()