Home
last modified time | relevance | path

Searched refs:SGE_PAGE_SIZE (Results 1 – 3 of 3) sorted by relevance

/Linux-v5.4/drivers/net/ethernet/broadcom/bnx2x/
Dbnx2x_cmn.h816 SGE_PAGE_SIZE, DMA_FROM_DEVICE); in bnx2x_free_rx_sge()
1303 int fpp = SGE_PAGE_SIZE / (mtu - ETH_MAX_TPA_HEADER_SIZE); in bnx2x_mtu_allows_gro()
1309 return mtu <= SGE_PAGE_SIZE && (U_ETH_SGL_SIZE * fpp) <= MAX_SKB_FRAGS; in bnx2x_mtu_allows_gro()
Dbnx2x.h394 #define SGE_PAGE_SIZE (1 << SGE_PAGE_SHIFT) macro
395 #define SGE_PAGE_MASK (~(SGE_PAGE_SIZE - 1))
396 #define SGE_PAGE_ALIGN(addr) (((addr) + SGE_PAGE_SIZE - 1) & SGE_PAGE_MASK)
397 #define SGE_PAGES (SGE_PAGE_SIZE * PAGES_PER_SGE)
Dbnx2x_cmn.c563 pool->offset, SGE_PAGE_SIZE, DMA_FROM_DEVICE); in bnx2x_alloc_rx_sge()
577 pool->offset += SGE_PAGE_SIZE; in bnx2x_alloc_rx_sge()
578 if (PAGE_SIZE - pool->offset >= SGE_PAGE_SIZE) in bnx2x_alloc_rx_sge()
645 SGE_PAGE_SIZE, DMA_FROM_DEVICE); in bnx2x_fill_frag_skb()