Home
last modified time | relevance | path

Searched refs:scq (Results 1 – 2 of 2) sorted by relevance

/titanic_44/usr/src/uts/common/io/bnxe/577xx/drivers/common/lm/l4/
H A Dlm_l4tx.c289 lm_tcp_scq_t *scq = NULL; in lm_toe_is_tx_completion() local
293 scq = &pdev->toe_info.scqs[drv_toe_rss_id]; in lm_toe_is_tx_completion()
295 if ( scq->hw_con_idx_ptr && in lm_toe_is_tx_completion()
296 *scq->hw_con_idx_ptr != lm_bd_chain_cons_idx(&scq->bd_chain) ) in lm_toe_is_tx_completion()
454 lm_tcp_scq_t *scq; in lm_tcp_tx_process_cqes() local
467 scq = &pdev->toe_info.scqs[drv_toe_rss_id]; in lm_tcp_tx_process_cqes()
468 cq_new_idx = *(scq->hw_con_idx_ptr); in lm_tcp_tx_process_cqes()
469 cq_old_idx = lm_bd_chain_cons_idx(&scq->bd_chain); in lm_tcp_tx_process_cqes()
473 scq->num_cqes_last_dpc = S16_SUB(cq_new_idx, cq_old_idx); in lm_tcp_tx_process_cqes()
474 if (scq->num_cqes_last_dpc) { /* Exclude zeroed value from statistics*/ in lm_tcp_tx_process_cqes()
[all …]
H A Dlm_l4sp.c542 lm_tcp_scq_t *scq = &toe_info->scqs[i]; in lm_tcp_init_resc() local
543 bd_chain = &scq->bd_chain; in lm_tcp_init_resc()
556 scq->hw_con_idx_ptr = sb_indexes + HC_INDEX_TOE_TX_CQ_CONS; in lm_tcp_init_resc()
557 scq->hc_sb_info.hc_sb = STATUS_BLOCK_NORMAL_TYPE; in lm_tcp_init_resc()
558 scq->hc_sb_info.hc_index_value = HC_INDEX_TOE_TX_CQ_CONS; in lm_tcp_init_resc()
647 lm_tcp_scq_t *scq; in _lm_tcp_init_cstorm_intmem() local
658 scq = &toe_info->scqs[drv_toe_rss_id]; in _lm_tcp_init_cstorm_intmem()
661 phys_addr = lm_bd_chain_phys_addr(&scq->bd_chain, 0); in _lm_tcp_init_cstorm_intmem()
670 idx = lm_bd_chain_prod_idx(&scq->bd_chain); in _lm_tcp_init_cstorm_intmem()
676 idx = lm_bd_chain_cons_idx(&scq->bd_chain); in _lm_tcp_init_cstorm_intmem()
[all …]