Home
last modified time | relevance | path

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

/illumos-gate/usr/src/uts/common/io/bnxe/577xx/drivers/common/lm/l4/
H A Dlm_l4tx.c459 u16_t cq_new_idx; in lm_tcp_tx_process_cqes() local
468 cq_new_idx = *(scq->hw_con_idx_ptr); in lm_tcp_tx_process_cqes()
470 DbgBreakIf(S16_SUB(cq_new_idx, cq_old_idx) <= 0); 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()
493 while(cq_old_idx != cq_new_idx) { in lm_tcp_tx_process_cqes()
494 DbgBreakIf(S16_SUB(cq_new_idx, cq_old_idx) <= 0); in lm_tcp_tx_process_cqes()
H A Dlm_l4rx.c1431 u16_t cq_new_idx; in lm_tcp_rx_process_cqes() local
1442 cq_new_idx = *(rcq->hw_con_idx_ptr); in lm_tcp_rx_process_cqes()
1444 DbgBreakIf(S16_SUB(cq_new_idx, cq_old_idx) < 0); in lm_tcp_rx_process_cqes()
1447 rcq->num_cqes_last_dpc = S16_SUB(cq_new_idx, cq_old_idx); in lm_tcp_rx_process_cqes()
1475 cq_new_idx = cq_old_idx; in lm_tcp_rx_process_cqes()
1480 while(cq_old_idx != cq_new_idx) { in lm_tcp_rx_process_cqes()
1484 DbgBreakIf(S16_SUB(cq_new_idx, cq_old_idx) <= 0); in lm_tcp_rx_process_cqes()
1524 DbgBreakIf(cq_old_idx != cq_new_idx); in lm_tcp_rx_process_cqes()
/illumos-gate/usr/src/uts/common/io/bnxe/577xx/drivers/common/lm/device/
H A Dlm_recv.c937 u16_t cq_new_idx = 0; in lm_get_packets_rcvd() local
949 cq_new_idx = mm_le16_to_cpu(*(rcq_chain->hw_con_idx_ptr)); in lm_get_packets_rcvd()
957 …if((cq_new_idx & lm_bd_chain_usable_bds_per_page(&rcq_chain->bd_chain)) == lm_bd_chain_usable_bds_… in lm_get_packets_rcvd()
959 cq_new_idx+= lm_bd_chain_bds_skip_eop(&rcq_chain->bd_chain); in lm_get_packets_rcvd()
968 if (cq_old_idx == cq_new_idx) in lm_get_packets_rcvd()
974 while(cq_old_idx != cq_new_idx) in lm_get_packets_rcvd()
976 DbgBreakIfFastPath(S16_SUB(cq_new_idx, cq_old_idx) <= 0); in lm_get_packets_rcvd()
H A Dlm_sp.c3339 u16_t cq_new_idx = 0; in lm_service_eq_intr() local
3342 cq_new_idx = mm_le16_to_cpu(*(eq_chain->hw_con_idx_ptr)); in lm_service_eq_intr()
3343 if((cq_new_idx & lm_bd_chain_usable_bds_per_page(&eq_chain->bd_chain)) in lm_service_eq_intr()
3346 cq_new_idx+=lm_bd_chain_bds_skip_eop(&eq_chain->bd_chain); in lm_service_eq_intr()
3351 if (cq_old_idx == cq_new_idx) in lm_service_eq_intr()
3356 …e(pdev, INFORMeq , "EQ consumer index: cq_old_idx=0x%x, cq_new_idx=0x%x!\n",cq_old_idx,cq_new_idx); in lm_service_eq_intr()
3359 while(cq_old_idx != cq_new_idx) in lm_service_eq_intr()
3361 DbgBreakIfFastPath(S16_SUB(cq_new_idx, cq_old_idx) <= 0); in lm_service_eq_intr()