Home
last modified time | relevance | path

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

/linux-5.19.10/drivers/net/ethernet/broadcom/bnx2x/
Dbnx2x_vfpf.c642 req->rxq.sge_buf_sz = BCM_PAGE_SIZE * PAGES_PER_SGE; in bnx2x_vfpf_setup_q()
645 req->rxq.max_sge_pkt = ((req->rxq.max_sge_pkt + PAGES_PER_SGE - 1) & in bnx2x_vfpf_setup_q()
646 (~(PAGES_PER_SGE-1))) >> PAGES_PER_SGE_SHIFT; in bnx2x_vfpf_setup_q()
Dbnx2x.h398 #define PAGES_PER_SGE (1 << PAGES_PER_SGE_SHIFT) macro
403 #define SGE_PAGES (SGE_PAGE_SIZE * PAGES_PER_SGE)
Dbnx2x_cmn.c624 for (i = 0, j = 0; i < pages; i += PAGES_PER_SGE, j++) { in bnx2x_fill_frag_skb()
Dbnx2x_main.c3212 max_sge = ((max_sge + PAGES_PER_SGE - 1) & in bnx2x_pf_rx_q_prep()
3213 (~(PAGES_PER_SGE-1))) >> PAGES_PER_SGE_SHIFT; in bnx2x_pf_rx_q_prep()