Home
last modified time | relevance | path

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

/titanic_50/usr/src/uts/common/io/bnxe/577xx/drivers/common/lm/device/
H A Dbd_chain.h10 #define BD_PER_PAGE(bd_size) (LM_PAGE_SIZE/(bd_size)) argument
16 …define NUM_BDS_USED_FOR_NEXT_PTR(bd_size,is_chain_mode) ((is_chain_mode)? (1 + ((sizeof(lm_bd_chai… argument
19 #define USABLE_BDS_PER_PAGE(bd_size,is_chain_mode) ((u32_t) (BD_PER_PAGE(bd_size)-NUM_BDS_USED_F… argument
167 … next_bd = (lm_bd_chain_next *)(mem_virt + (bd_chain->bd_size) * (bd_chain->usable_bds_per_page)); in lm_bd_chain_set_next_ptrs()
179 … next_bd = (lm_bd_chain_next *)(mem_virt + (bd_chain->bd_size) * (bd_chain->usable_bds_per_page)); in lm_bd_chain_set_next_ptrs()
196 u8_t bd_size, /* currently only 8 and 16 bytes are possible */ in lm_bd_chain_add_page() argument
204 DbgBreakIf((bd_chain->page_cnt + 1) * BD_PER_PAGE(bd_size) > 0xffff); in lm_bd_chain_add_page()
209 DbgBreakIf(bd_chain->bd_size != bd_size); in lm_bd_chain_add_page()
210 …next_bd = (lm_bd_chain_next *)((u8_t*)bd_chain->bd_chain_virt + (bd_chain->bd_size) * (bd_chain->u… in lm_bd_chain_add_page()
212 …(lm_bd_chain_next *)((u8_t*)(*(void **)(next_bd->reserved)) + (bd_chain->bd_size) * (bd_chain->usa… in lm_bd_chain_add_page()
[all …]
H A Dbd_chain_st.h30 …u8_t bd_size; /* currently 8 and 16 bytes are supported. ("next_bd" is always… member
/titanic_50/usr/src/uts/common/io/bnxe/
H A Dbnxe_kstat.c1585 pStats->rxqBdSize.value.ui64 = pRxq->chain_arr[LM_RXQ_CHAIN_IDX_BD].bd_size; in BnxeKstatRxRingUpdate()
1596 pStats->sgeBdSize.value.ui64 = pRxq->chain_arr[LM_RXQ_CHAIN_IDX_SGE].bd_size; in BnxeKstatRxRingUpdate()
1604 pStats->rcqBdSize.value.ui64 = pRcq->bd_chain.bd_size; in BnxeKstatRxRingUpdate()
1652 pStats->txBdSize.value.ui64 = LM_TXQ(pLM, idx).bd_chain.bd_size; in BnxeKstatTxRingUpdate()
/titanic_50/usr/src/uts/common/io/bnxe/577xx/drivers/common/lm/l4/
H A Dlm_l4sp.c1625 u8_t bd_size; in lm_tcp_init_tcp_phys_mem() local
1636 bd_size = sizeof(struct toe_tx_bd); in lm_tcp_init_tcp_phys_mem()
1646 …dd_page(pdev,&con->bd_chain,phy_mblk[block_idx].free, phy_mblk[block_idx].free_phy, bd_size, TRUE); in lm_tcp_init_tcp_phys_mem()
1654 bd_size = sizeof(struct toe_rx_bd); in lm_tcp_init_tcp_phys_mem()