Lines Matching defs:pool
463 /* move empty data from pool to prod */
470 /* move partial skb from cons to pool (don't unmap yet) */
552 struct bnx2x_alloc_pool *pool = &fp->page_pool;
555 if (!pool->page) {
556 pool->page = alloc_pages(gfp_mask, PAGES_PER_SGE_SHIFT);
557 if (unlikely(!pool->page))
560 pool->offset = 0;
563 mapping = dma_map_page(&bp->pdev->dev, pool->page,
564 pool->offset, SGE_PAGE_SIZE, DMA_FROM_DEVICE);
570 sw_buf->page = pool->page;
571 sw_buf->offset = pool->offset;
578 pool->offset += SGE_PAGE_SIZE;
579 if (PAGE_SIZE - pool->offset >= SGE_PAGE_SIZE)
580 get_page(pool->page);
582 pool->page = NULL;
789 /* Unmap skb in the pool anyway, as we are going to change
790 pool entry status to BNX2X_TPA_STOP even if new skb allocation
1425 /* Fill the per-aggregation pool */
1435 BNX2X_ERR("Failed to allocate TPA skb pool for queue[%d] - disabling TPA on this queue!\n",
2948 /* Free SKBs, SGEs, TPA pool and driver internals */
3133 /* Free SKBs, SGEs, TPA pool and driver internals */