Home
last modified time | relevance | path

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

/titanic_44/usr/src/uts/common/io/bnxe/577xx/drivers/common/lm/device/
H A Dlm_recv.c12 lm_rcq_chain_t *rcq_chain = &LM_RCQ(pdev, chain_idx); in lm_is_rx_completion() local
14 DbgBreakIf(!(pdev && rcq_chain)); in lm_is_rx_completion()
17 if (rcq_chain->hw_con_idx_ptr && in lm_is_rx_completion()
18 (mm_le16_to_cpu(*rcq_chain->hw_con_idx_ptr) != in lm_is_rx_completion()
19 lm_bd_chain_cons_idx(&rcq_chain->bd_chain))) in lm_is_rx_completion()
102 lm_rcq_chain_t* rcq_chain = &LM_RCQ(pdev, chain_idx); in lm_post_buffers() local
126 bd_chain_to_check = &rcq_chain->bd_chain; in lm_post_buffers()
157 rcq_prod_bseq = rcq_chain->prod_bseq; in lm_post_buffers()
177 lm_bd_chain_bd_produced(&rcq_chain->bd_chain); in lm_post_buffers()
226 rcq_chain->prod_bseq = rcq_prod_bseq; in lm_post_buffers()
[all …]
H A Dlm_resc.c405 lm_rcq_chain_t *rcq_chain = NULL; in lm_alloc_rcq() local
411 ERR_IF((ARRSIZE(pdev->rx_info.rcq_chain) <= cid) || !page_cnt)) in lm_alloc_rcq()
419 rcq_chain = &pdev->rx_info.rcq_chain[cid]; in lm_alloc_rcq()
428 rcq_chain->bd_chain.bd_chain_virt = in lm_alloc_rcq()
429 mm_alloc_phys_mem( pdev, mem_size, &rcq_chain->bd_chain.bd_chain_phy, 0, mm_cli_idx); in lm_alloc_rcq()
431 if(ERR_IF(!rcq_chain->bd_chain.bd_chain_virt)) in lm_alloc_rcq()
437 mm_mem_zero(rcq_chain->bd_chain.bd_chain_virt, mem_size); in lm_alloc_rcq()
438 rcq_chain->bd_chain.page_cnt = page_cnt; in lm_alloc_rcq()
745 lm_rcq_chain_t * rcq_chain = NULL; in lm_setup_rcq() local
752 ERR_IF((ARRSIZE(pdev->rx_info.rcq_chain) <= cid))) in lm_setup_rcq()
[all …]
H A Dlm_sp.c280 …rx->cqe_page_base.lo = mm_cpu_to_le32(lm_bd_chain_phys_addr(&pdev->rx_info.rcq_chain[cid].bd_chain… in lm_eth_init_client_init_rx_data()
281 …rx->cqe_page_base.hi = mm_cpu_to_le32(lm_bd_chain_phys_addr(&pdev->rx_info.rcq_chain[cid].bd_chain… in lm_eth_init_client_init_rx_data()
710 lm_rcq_chain_t* rcq_chain = NULL; in lm_establish_eth_con() local
757 rcq_chain = &LM_RCQ(pdev, cid); in lm_establish_eth_con()
760 lm_bd_chain_bds_produced(&rcq_chain->bd_chain, ETH_MIN_RX_CQES_WITH_TPA_E1H_E2); in lm_establish_eth_con()
/titanic_44/usr/src/uts/common/io/bnxe/577xx/drivers/common/lm/include/
H A Dlm5710.h2605 lm_rcq_chain_t rcq_chain[MAX_HW_CHAINS + MAX_NON_RSS_CHAINS]; member
2614 #define LM_RCQ(_pdev, _idx) (_pdev)->rx_info.rcq_chain[_idx]