Searched refs:SGE_PAGE_SIZE (Results 1 – 3 of 3) sorted by relevance
814 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()
400 #define SGE_PAGE_SIZE (1 << SGE_PAGE_SHIFT) macro401 #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)
563 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()