Searched refs:bds_per_page (Results 1 – 6 of 6) sorted by relevance
55 return bd_chain->bds_per_page; in lm_bd_chain_bds_per_page()227 bd_chain->bds_per_page = BD_PER_PAGE(bd_size); in lm_bd_chain_add_page()233 DbgBreakIf(bd_chain->bds_per_page != log2_align((u32_t)bd_chain->bds_per_page)); in lm_bd_chain_add_page()234 bd_chain->bds_per_page_mask = bd_chain->bds_per_page - 1; in lm_bd_chain_add_page()282 bd_chain->bds_per_page = BD_PER_PAGE(bd_size); in lm_bd_chain_setup()285 DbgBreakIf(bd_chain->bds_per_page != log2_align((u32_t)bd_chain->bds_per_page)); in lm_bd_chain_setup()286 bd_chain->bds_per_page_mask = bd_chain->bds_per_page - 1; in lm_bd_chain_setup()308 bd_chain->prod_idx = page_cnt * bd_chain->bds_per_page; in lm_bd_chain_setup()
27 u16_t bds_per_page; /* Number of bds per page */ member
460 IN u32_t const bds_per_page) in lm_alloc_tpa_chain() argument499 sge_chain->size = page_cnt * bds_per_page; in lm_alloc_tpa_chain()1002 u16_t bds_per_page = 0; in lm_alloc_chain_con_resc() local1055 bds_per_page = BD_PER_PAGE(LM_TPA_BD_ELEN_SIZE); in lm_alloc_chain_con_resc()1058 (!(POWER_OF_2(bds_per_page)))) in lm_alloc_chain_con_resc()1074 bds_per_page); in lm_alloc_chain_con_resc()
1584 pStats->rxqBdsPerPage.value.ui64 = pRxq->chain_arr[LM_RXQ_CHAIN_IDX_BD].bds_per_page; in BnxeKstatRxRingUpdate()1595 pStats->sgeBdsPerPage.value.ui64 = pRxq->chain_arr[LM_RXQ_CHAIN_IDX_SGE].bds_per_page; in BnxeKstatRxRingUpdate()1603 pStats->rcqBdsPerPage.value.ui64 = pRcq->bd_chain.bds_per_page; in BnxeKstatRxRingUpdate()1651 pStats->txBdsPerPage.value.ui64 = LM_TXQ(pLM, idx).bd_chain.bds_per_page; in BnxeKstatTxRingUpdate()
1599 …u16_t prod_idx_diff = lm_bd_chain_prod_idx(&rcq->bd_chain) - rcq->bd_chain.bds_per_page * rcq->bd_… in lm_tcp_rx_process_cqes()
829 …u16_t prod_idx_diff = lm_bd_chain_prod_idx(&rcq->bd_chain) - rcq->bd_chain.bds_per_page * rcq->bd_… in _lm_tcp_init_ustorm_intmem()