Home
last modified time | relevance | path

Searched refs:rbsize (Results 1 – 6 of 6) sorted by relevance

/openbmc/linux/drivers/net/ethernet/marvell/octeontx2/nic/
H A Dotx2_txrx.h124 u16 rbsize; member
H A Dotx2_common.c530 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 Dotx2_txrx.c220 len - off, pfvf->rbsize); in otx2_skb_add_frag()
1243 otx2_free_bufs(pfvf, pool, iova, pfvf->rbsize); in otx2_cleanup_rx_cqes()
1421 xdp_init_buff(&xdp, pfvf->rbsize, &cq->xdp_rxq); in otx2_xdp_rcv_pkt_handler()
1441 otx2_dma_unmap_page(pfvf, iova, pfvf->rbsize, in otx2_xdp_rcv_pkt_handler()
1456 otx2_dma_unmap_page(pfvf, iova, pfvf->rbsize, in otx2_xdp_rcv_pkt_handler()
H A Dotx2_common.h449 u16 rbsize; /* Receive buffer size */ member
H A Dotx2_pf.c1486 pf->rbsize = otx2_get_rbuf_size(pf, pf->netdev->mtu); in otx2_init_hw_resources()
/openbmc/linux/drivers/net/wireless/intel/iwlwifi/pcie/
H A Drx.c365 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()