/kernel/linux/linux-5.10/drivers/net/ethernet/marvell/octeontx2/nic/ |
H A D | otx2_txrx.h | 92 struct qmem *tso_hdrs; member
|
H A D | otx2_txrx.c | 740 hdr = sq->tso_hdrs->base + (sq->head * TSO_HEADER_SIZE); in otx2_sq_append_tso() 743 sq->tso_hdrs->iova + (sq->head * TSO_HEADER_SIZE); in otx2_sq_append_tso()
|
H A D | otx2_common.c | 754 err = qmem_alloc(pfvf->dev, &sq->tso_hdrs, qset->sqe_cnt, in otx2_sq_init()
|
H A D | otx2_pf.c | 1281 qmem_free(pf->dev, sq->tso_hdrs); in otx2_free_sq_res()
|
/kernel/linux/linux-6.6/drivers/net/ethernet/marvell/octeontx2/nic/ |
H A D | otx2_txrx.h | 95 struct qmem *tso_hdrs; member
|
H A D | qos_sq.c | 142 qmem_free(pfvf->dev, sq->tso_hdrs); in otx2_qos_sq_free_sqbs()
|
H A D | otx2_txrx.c | 916 hdr = sq->tso_hdrs->base + (sq->head * TSO_HEADER_SIZE); in otx2_sq_append_tso() 919 sq->tso_hdrs->iova + (sq->head * TSO_HEADER_SIZE); in otx2_sq_append_tso()
|
H A D | otx2_common.c | 940 err = qmem_alloc(pfvf->dev, &sq->tso_hdrs, qset->sqe_cnt, in otx2_sq_init()
|
H A D | otx2_pf.c | 1433 qmem_free(pf->dev, sq->tso_hdrs); in otx2_free_sq_res()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/cavium/thunder/ |
H A D | nicvf_queues.c | 542 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 D | nicvf_queues.h | 280 char *tso_hdrs; member
|
/kernel/linux/linux-6.6/drivers/net/ethernet/cavium/thunder/ |
H A D | nicvf_queues.c | 543 sq->tso_hdrs = dma_alloc_coherent(&nic->pdev->dev, in nicvf_init_snd_queue() 547 if (!sq->tso_hdrs) in nicvf_init_snd_queue() 584 if (sq->tso_hdrs) { in nicvf_free_snd_queue() 587 sq->tso_hdrs, sq->tso_hdrs_phys); in nicvf_free_snd_queue() 588 sq->tso_hdrs = NULL; in nicvf_free_snd_queue() 1509 hdr = sq->tso_hdrs + qentry * TSO_HEADER_SIZE; in nicvf_sq_append_tso()
|
H A D | nicvf_queues.h | 280 char *tso_hdrs; member
|
/kernel/linux/linux-5.10/drivers/net/ethernet/marvell/ |
H A D | mv643xx_eth.c | 351 char *tso_hdrs; member 744 memcpy(txq->tso_hdrs + tx_index * TSO_HEADER_SIZE, in txq_put_data_tso() 846 hdr = txq->tso_hdrs + txq->tx_curr_desc * TSO_HEADER_SIZE; in txq_submit_tso() 2089 txq->tso_hdrs = dma_alloc_coherent(mp->dev->dev.parent, in txq_init() 2092 if (txq->tso_hdrs == NULL) { in txq_init() 2128 if (txq->tso_hdrs) in txq_deinit() 2131 txq->tso_hdrs, txq->tso_hdrs_dma); in txq_deinit()
|
H A D | mvneta.c | 659 char *tso_hdrs; member 2668 hdr = txq->tso_hdrs + txq->txq_put_index * TSO_HEADER_SIZE; in mvneta_tx_tso() 3405 txq->tso_hdrs = dma_alloc_coherent(pp->dev->dev.parent, in mvneta_txq_sw_init() 3408 if (!txq->tso_hdrs) in mvneta_txq_sw_init() 3461 if (txq->tso_hdrs) in mvneta_txq_sw_deinit() 3464 txq->tso_hdrs, txq->tso_hdrs_phys); in mvneta_txq_sw_deinit()
|
/kernel/linux/linux-6.6/drivers/net/ethernet/marvell/ |
H A D | mv643xx_eth.c | 352 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() 2100 txq->tso_hdrs = dma_alloc_coherent(mp->dev->dev.parent, in txq_init() 2103 if (txq->tso_hdrs == NULL) { in txq_init() 2139 if (txq->tso_hdrs) in txq_deinit() 2142 txq->tso_hdrs, txq->tso_hdrs_dma); in txq_deinit()
|
H A D | mvneta.c | 699 char *tso_hdrs[MVNETA_MAX_TSO_PAGES]; member 2677 if (txq->tso_hdrs[i]) { in mvneta_free_tso_hdrs() 2679 txq->tso_hdrs[i], in mvneta_free_tso_hdrs() 2681 txq->tso_hdrs[i] = NULL; in mvneta_free_tso_hdrs() 2694 txq->tso_hdrs[i] = dma_alloc_coherent(dev, MVNETA_TSO_PAGE_SIZE, in mvneta_alloc_tso_hdrs() 2697 if (!txq->tso_hdrs[i]) { in mvneta_alloc_tso_hdrs() 2715 return txq->tso_hdrs[index] + offset; in mvneta_get_tso_hdr()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/freescale/ |
H A D | fec_main.c | 672 bufaddr = txq->tso_hdrs + index * TSO_HEADER_SIZE; in fec_enet_txq_put_hdr_tso() 745 hdr = txq->tso_hdrs + index * TSO_HEADER_SIZE; in fec_enet_txq_submit_tso() 2859 if (fep->tx_queue[i] && fep->tx_queue[i]->tso_hdrs) { in fec_enet_free_queue() 2863 txq->tso_hdrs, in fec_enet_free_queue() 2895 txq->tso_hdrs = dma_alloc_coherent(&fep->pdev->dev, in fec_enet_alloc_queue() 2899 if (!txq->tso_hdrs) { in fec_enet_alloc_queue()
|
H A D | fec.h | 490 char *tso_hdrs; member
|
/kernel/linux/linux-6.6/drivers/net/ethernet/freescale/ |
H A D | fec.h | 568 char *tso_hdrs; member
|
H A D | fec_main.c | 765 bufaddr = txq->tso_hdrs + index * TSO_HEADER_SIZE; in fec_enet_txq_put_hdr_tso() 838 hdr = txq->tso_hdrs + index * TSO_HEADER_SIZE; in fec_enet_txq_submit_tso() 3291 if (fep->tx_queue[i] && fep->tx_queue[i]->tso_hdrs) { in fec_enet_free_queue() 3295 txq->tso_hdrs, in fec_enet_free_queue() 3326 txq->tso_hdrs = dma_alloc_coherent(&fep->pdev->dev, in fec_enet_alloc_queue() 3330 if (!txq->tso_hdrs) { in fec_enet_alloc_queue()
|