Home
last modified time | relevance | path

Searched refs:lm_bd_chain_prod_idx (Results 1 – 10 of 10) sorted by relevance

/titanic_44/usr/src/uts/common/io/bnxe/577xx/drivers/common/lm/device/
H A Dlm_recv.c43 u16_t val16_lo = lm_bd_chain_prod_idx(rcq_chain_bd); in lm_rx_set_prods()
44 u16_t val16_hi = lm_bd_chain_prod_idx(rx_chain_bd); in lm_rx_set_prods()
67 val64 = (((u64_t)lm_bd_chain_prod_idx(rx_chain_sge))<<32) | val32 ; in lm_rx_set_prods()
162 current_prod = lm_bd_chain_prod_idx(rx_chain_bd); in lm_post_buffers()
180 packet->u1.rx.next_bd_idx = lm_bd_chain_prod_idx(rx_chain_bd); in lm_post_buffers()
242 lm_bd_chain_cons_idx(rx_chain_bd),lm_bd_chain_prod_idx(rx_chain_bd)); in lm_post_buffers()
244 … lm_bd_chain_cons_idx(&rcq_chain->bd_chain) ,lm_bd_chain_prod_idx(&rcq_chain->bd_chain)); in lm_post_buffers()
267 … u16_t const prod_idx = lm_bd_chain_prod_idx(&LM_TPA_CHAIN_BD(pdev, chain_idx)); in lm_tpa_sge_update_last_max()
1227 … lm_bd_chain_cons_idx(rx_chain_bd), lm_bd_chain_prod_idx(rx_chain_bd)); in lm_get_packets_rcvd()
1229 … lm_bd_chain_cons_idx(&rcq_chain->bd_chain), lm_bd_chain_prod_idx(&rcq_chain->bd_chain)); in lm_get_packets_rcvd()
H A Dlm_send.c611 old_prod_idx = lm_bd_chain_prod_idx(&tx_chain->bd_chain); in lm_send_packet()
992 packet->u1.tx.next_bd_idx = lm_bd_chain_prod_idx(&tx_chain->bd_chain); in lm_send_packet()
1055 S16_SUB(lm_bd_chain_prod_idx(&tx_chain->bd_chain), old_prod_idx); in lm_send_packet()
1151 …FUNC_ID(pdev), chain_idx , lm_bd_chain_cons_idx(&tx_chain->bd_chain), lm_bd_chain_prod_idx(&tx_cha… in lm_get_packets_sent()
H A Dbd_chain.h29 __inline static u16_t lm_bd_chain_prod_idx(lm_bd_chain_t* bd_chain) in lm_bd_chain_prod_idx() function
H A Dlm_resc.c2600 for(i = lm_bd_chain_cons_idx(rx_chain_bd); i != lm_bd_chain_prod_idx(rx_chain_bd); i++ ) in lm_abort()
H A Dlm_sp.c3389 lm_bd_chain_prod_idx(&eq_chain->bd_chain), in lm_service_eq_intr()
H A Dlm_hw_init_reset.c4032 eq_data.producer = lm_bd_chain_prod_idx(&pdev->eq_info.eq_chain.bd_chain); in lm_init_intmem_eq()
/titanic_44/usr/src/uts/common/io/bnxe/577xx/drivers/common/lm/l4/
H A Dlm_l4tx.c135 old_prod = lm_bd_chain_prod_idx(tx_chain); in lm_tcp_tx_post_buf()
171 new_prod = lm_bd_chain_prod_idx(tx_chain); in lm_tcp_tx_post_buf()
544 lm_bd_chain_prod_idx(&scq->bd_chain), BAR_CSTRORM_INTMEM); in lm_tcp_tx_process_cqes()
616 old_prod = lm_bd_chain_prod_idx(&(tcp_con->bd_chain)); in lm_tcp_graceful_disconnect()
631 new_prod = lm_bd_chain_prod_idx(&(tcp_con->bd_chain)); in lm_tcp_graceful_disconnect()
H A Dlm_l4rx.c1595 lm_bd_chain_prod_idx(&rcq->bd_chain), BAR_USTRORM_INTMEM); in lm_tcp_rx_process_cqes()
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()
1624lm_bd_chain_prod_idx(&pdev->toe_info.grqs[drv_toe_rss_id].bd_chain), BAR_USTRORM_INTMEM); in lm_tcp_rx_compensate_grq()
1935 old_prod = lm_bd_chain_prod_idx(rx_chain); in _lm_tcp_rx_post_buf()
1982 new_prod = lm_bd_chain_prod_idx(rx_chain); in _lm_tcp_rx_post_buf()
H A Dlm_l4sp.c670 idx = lm_bd_chain_prod_idx(&scq->bd_chain); in _lm_tcp_init_cstorm_intmem()
777 idx = lm_bd_chain_prod_idx(&grq->bd_chain); in _lm_tcp_init_ustorm_intmem()
823 idx = lm_bd_chain_prod_idx(&rcq->bd_chain); in _lm_tcp_init_ustorm_intmem()
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()
1957 if (lm_bd_chain_prod_idx(&tx_con->bd_chain) == 0) { in lm_locate_snd_next_info()
1973 while ((*bd_idx < lm_bd_chain_prod_idx(&tx_con->bd_chain)) in lm_locate_snd_next_info()
2043 …xctx_st->toe.bd_prod = lm_bd_chain_prod_idx(&tcp->tx_con->bd_chain); /* Bd co… in _lm_tcp_init_xstorm_toe_context()
2131 …cctx_ag->bd_prod = lm_bd_chain_prod_idx(&tcp->tx_con->bd_chain); /* Bd containing the last byte th… in _lm_tcp_init_cstorm_toe_context()
6382lm_bd_chain_prod_idx(&pdev->toe_info.grqs[i].bd_chain), BAR_USTRORM_INTMEM); in lm_tcp_rx_gen_bufs_alloc_cb()
/titanic_44/usr/src/uts/common/io/bnxe/577xx/drivers/common/lm/l5/
H A Dlm_l5.c878 …LM_INTMEM_WRITE16(pdev, CSTORM_ISCSI_EQ_PROD_OFFSET(func, eq_idx), lm_bd_chain_prod_idx(&LM_SC_EQ(… in lm_sc_init()
1009 …ramrod_params->fcoe_init.eq_prod = mm_cpu_to_le16(lm_bd_chain_prod_idx(&LM_FC_EQ(pdev, pdev->fcoe_… in lm_fc_init()
1740 …WRITE16(pdev, CSTORM_ISCSI_EQ_PROD_OFFSET(FUNC_ID(pdev), eq_num), lm_bd_chain_prod_idx(&eq_chain->… in lm_sc_service_eq_intr()
1861 …LM_INTMEM_WRITE16(pdev, USTORM_FCOE_EQ_PROD_OFFSET(FUNC_ID(pdev)), lm_bd_chain_prod_idx(&eq_chain-… in lm_fc_service_eq_intr()