Searched refs:bd_size (Results 1 - 4 of 4) sorted by relevance
/illumos-gate/usr/src/uts/common/io/bnxe/577xx/drivers/common/lm/device/ |
H A D | bd_chain.h | 10 #define BD_PER_PAGE(bd_size) (LM_PAGE_SIZE/(bd_size)) 14 * larger, we will use a full one (no partial bds...) The equation 1+((next_bd_size-1)/bd_size) gives us the number of bds 16 #define NUM_BDS_USED_FOR_NEXT_PTR(bd_size,is_chain_mode) ((is_chain_mode)? (1 + ((sizeof(lm_bd_chain_next)-1) / (bd_size))): 0) 19 #define USABLE_BDS_PER_PAGE(bd_size,is_chain_mode) ((u32_t) (BD_PER_PAGE(bd_size)-NUM_BDS_USED_FOR_NEXT_PTR(bd_size,is_chain_mode))) 167 next_bd = (lm_bd_chain_next *)(mem_virt + (bd_chain->bd_size) * (bd_chain->usable_bds_per_page)); 179 next_bd = (lm_bd_chain_next *)(mem_virt + (bd_chain->bd_size) * (bd_chai 191 lm_bd_chain_add_page( struct _lm_device_t *pdev, lm_bd_chain_t* bd_chain, void *mem_virt, lm_address_t mem_phys, u8_t bd_size, u8_t is_chain_mode) argument 263 lm_bd_chain_setup( struct _lm_device_t *pdev, lm_bd_chain_t* bd_chain, void *mem_virt, lm_address_t mem_phys, u16_t page_cnt, u8_t bd_size, u8_t is_full, u8_t is_chain_mode) argument 368 lm_bd_chain_pbl_setup( struct _lm_device_t *pdev, lm_bd_chain_t* bd_chain, void *mem_virt, lm_address_t mem_phys, void *pbl_virt_table, lm_address_t *pbl_phys_table, u16_t page_cnt, u8_t bd_size, u8_t is_full) argument [all...] |
H A D | bd_chain_st.h | 30 u8_t bd_size; /* currently 8 and 16 bytes are supported. ("next_bd" is always 18 bytes) */ member in struct:_lm_bd_chain_t
|
/illumos-gate/usr/src/uts/common/io/bnxe/ |
H A D | bnxe_kstat.c | 1585 pStats->rxqBdSize.value.ui64 = pRxq->chain_arr[LM_RXQ_CHAIN_IDX_BD].bd_size; 1596 pStats->sgeBdSize.value.ui64 = pRxq->chain_arr[LM_RXQ_CHAIN_IDX_SGE].bd_size; 1604 pStats->rcqBdSize.value.ui64 = pRcq->bd_chain.bd_size; 1652 pStats->txBdSize.value.ui64 = LM_TXQ(pLM, idx).bd_chain.bd_size;
|
/illumos-gate/usr/src/uts/common/io/bnxe/577xx/drivers/common/lm/l4/ |
H A D | lm_l4sp.c | 1625 u8_t bd_size; local 1636 bd_size = sizeof(struct toe_tx_bd); 1646 lm_bd_chain_add_page(pdev,&con->bd_chain,phy_mblk[block_idx].free, phy_mblk[block_idx].free_phy, bd_size, TRUE); 1654 bd_size = sizeof(struct toe_rx_bd);
|
Completed in 67 milliseconds