Home
last modified time | relevance | path

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

/linux-3.4.99/drivers/net/ethernet/broadcom/bnx2x/
Dbnx2x_cmn.h816 SGE_PAGE_SIZE*PAGES_PER_SGE, DMA_FROM_DEVICE); in bnx2x_free_rx_sge()
900 SGE_PAGE_SIZE*PAGES_PER_SGE, DMA_FROM_DEVICE); in bnx2x_alloc_rx_sge()
1507 int fpp = SGE_PAGE_SIZE / (mtu - ETH_MAX_TPA_HEADER_SIZE); in bnx2x_mtu_allows_gro()
1513 return mtu <= SGE_PAGE_SIZE && (U_ETH_SGL_SIZE * fpp) <= MAX_SKB_FRAGS; in bnx2x_mtu_allows_gro()
Dbnx2x_cmn.c336 SGE_PAGE_SIZE * PAGES_PER_SGE / gro_size * gro_size; in bnx2x_tpa_start()
345 if (!(SGE_PAGE_SIZE * PAGES_PER_SGE % gro_size)) in bnx2x_tpa_start()
440 if (pages > min_t(u32, 8, MAX_SKB_FRAGS)*SGE_PAGE_SIZE*PAGES_PER_SGE) { in bnx2x_fill_frag_skb()
459 (u32)(SGE_PAGE_SIZE * PAGES_PER_SGE)); in bnx2x_fill_frag_skb()
475 SGE_PAGE_SIZE*PAGES_PER_SGE, DMA_FROM_DEVICE); in bnx2x_fill_frag_skb()
493 skb->truesize += SGE_PAGE_SIZE * PAGES_PER_SGE; in bnx2x_fill_frag_skb()
Dbnx2x.h345 #define SGE_PAGE_SIZE PAGE_SIZE macro
348 #define SGE_PAGES (SGE_PAGE_SIZE * PAGES_PER_SGE)
Dbnx2x_main.c2740 SGE_PAGE_SIZE * PAGES_PER_SGE), 0xffff); in bnx2x_pf_rx_q_prep()
2745 sge_sz = (u16)min_t(u32, SGE_PAGE_SIZE * PAGES_PER_SGE, in bnx2x_pf_rx_q_prep()