Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/net/ethernet/broadcom/bnx2x/
Dbnx2x_cmn.h814 SGE_PAGE_SIZE, DMA_FROM_DEVICE); in bnx2x_free_rx_sge()
1301 int fpp = SGE_PAGE_SIZE / (mtu - ETH_MAX_TPA_HEADER_SIZE); in bnx2x_mtu_allows_gro()
1307 return mtu <= SGE_PAGE_SIZE && (U_ETH_SGL_SIZE * fpp) <= MAX_SKB_FRAGS; in bnx2x_mtu_allows_gro()
Dbnx2x.h400 #define SGE_PAGE_SIZE (1 << SGE_PAGE_SHIFT) macro
401 #define SGE_PAGE_MASK (~(SGE_PAGE_SIZE - 1))
402 #define SGE_PAGE_ALIGN(addr) (((addr) + SGE_PAGE_SIZE - 1) & SGE_PAGE_MASK)
403 #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()