Searched refs:rbsize (Results 1 - 12 of 12) sorted by relevance
/kernel/linux/linux-5.10/drivers/net/ethernet/marvell/octeontx2/nic/ |
H A D | otx2_txrx.h | 117 u16 rbsize; member
|
H A D | otx2_txrx.c | 160 va - page_address(page) + off, len - off, pfvf->rbsize); in otx2_skb_add_frag() 163 pfvf->rbsize, DMA_FROM_DEVICE); in otx2_skb_add_frag() 922 otx2_dma_unmap_page(pfvf, iova, pfvf->rbsize, DMA_FROM_DEVICE); in otx2_cleanup_rx_cqes()
|
H A D | otx2_common.c | 476 buf = napi_alloc_frag(pool->rbsize + OTX2_ALIGN); in __otx2_alloc_rbuf() 481 iova = dma_map_single_attrs(pfvf->dev, buf, pool->rbsize, in __otx2_alloc_rbuf() 718 aq->rq.lpb_sizem1 = (DMA_BUFFER_LEN(pfvf->rbsize) / 8) - 1; in otx2_rq_init() 1049 size = pfvf->rbsize; in otx2_free_aura_ptr() 1173 pool->rbsize = buf_size; in otx2_pool_init() 1298 num_ptrs, pfvf->rbsize); in otx2_rq_aura_pool_init()
|
H A D | otx2_common.h | 234 u16 rbsize; /* Receive buffer size */ member
|
H A D | otx2_pf.c | 1303 pf->rbsize = RCV_FRAG_LEN(OTX2_HW_TIMESTAMP_LEN + pf->netdev->mtu + in otx2_init_hw_resources()
|
/kernel/linux/linux-6.6/drivers/net/ethernet/marvell/octeontx2/nic/ |
H A D | otx2_txrx.h | 124 u16 rbsize; member
|
H A D | otx2_common.c | 530 sz = SKB_DATA_ALIGN(pool->rbsize); in otx2_alloc_pool_buf() 549 buf = napi_alloc_frag_align(pool->rbsize, OTX2_ALIGN); in __otx2_alloc_rbuf() 553 *dma = dma_map_single_attrs(pfvf->dev, buf, pool->rbsize, in __otx2_alloc_rbuf() 867 aq->rq.lpb_sizem1 = (DMA_BUFFER_LEN(pfvf->rbsize) / 8) - 1; in otx2_rq_init() 1245 size = pfvf->rbsize; in otx2_free_aura_ptr() 1374 pool->rbsize = buf_size; in otx2_pool_init() 1520 num_ptrs, pfvf->rbsize, AURA_NIX_RQ); in otx2_rq_aura_pool_init()
|
H A D | otx2_txrx.c | 220 len - off, pfvf->rbsize); in otx2_skb_add_frag() 1240 otx2_free_bufs(pfvf, pool, iova, pfvf->rbsize); in otx2_cleanup_rx_cqes() 1418 xdp_init_buff(&xdp, pfvf->rbsize, &cq->xdp_rxq); in otx2_xdp_rcv_pkt_handler() 1438 otx2_dma_unmap_page(pfvf, iova, pfvf->rbsize, in otx2_xdp_rcv_pkt_handler() 1453 otx2_dma_unmap_page(pfvf, iova, pfvf->rbsize, in otx2_xdp_rcv_pkt_handler()
|
H A D | otx2_common.h | 449 u16 rbsize; /* Receive buffer size */ member
|
H A D | otx2_pf.c | 1486 pf->rbsize = otx2_get_rbuf_size(pf, pf->netdev->mtu); in otx2_init_hw_resources()
|
/kernel/linux/linux-5.10/drivers/net/wireless/intel/iwlwifi/pcie/ |
H A D | rx.c | 419 unsigned int rbsize = iwl_trans_get_rb_size(trans_pcie->rx_buf_size); in iwl_pcie_rx_alloc_page() local 433 trans_pcie->alloc_page_used += rbsize; in iwl_pcie_rx_alloc_page() 460 if (2 * rbsize <= allocsize) { in iwl_pcie_rx_alloc_page() 465 trans_pcie->alloc_page_used = rbsize; in iwl_pcie_rx_alloc_page()
|
/kernel/linux/linux-6.6/drivers/net/wireless/intel/iwlwifi/pcie/ |
H A D | rx.c | 365 unsigned int rbsize = iwl_trans_get_rb_size(trans_pcie->rx_buf_size); in iwl_pcie_rx_alloc_page() local 379 trans_pcie->alloc_page_used += rbsize; in iwl_pcie_rx_alloc_page() 406 if (2 * rbsize <= allocsize) { in iwl_pcie_rx_alloc_page() 411 trans_pcie->alloc_page_used = rbsize; in iwl_pcie_rx_alloc_page()
|
Completed in 24 milliseconds