Home
last modified time | relevance | path

Searched refs:S16_SUB (Results 1 – 8 of 8) sorted by relevance

/titanic_41/usr/src/uts/common/io/bnxe/577xx/drivers/common/lm/l4/
H A Dlm_l4tx.c172 DbgBreakIf(S16_SUB(new_prod, old_prod) < tcp_buf->bd_used); in lm_tcp_tx_post_buf()
173 tx_con->db_more_bds += S16_SUB(new_prod, old_prod); in lm_tcp_tx_post_buf()
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()
494 DbgBreakIf(S16_SUB(cq_new_idx, cq_old_idx) <= 0); in lm_tcp_tx_process_cqes()
632 DbgBreakIf(S16_SUB(new_prod, old_prod) >= 3); in lm_tcp_graceful_disconnect()
633 DbgBreakIf(S16_SUB(new_prod, old_prod) <= 0); in lm_tcp_graceful_disconnect()
647 _lm_tcp_tx_write_db(pdev, tcp_con, tcp_state->cid, 0, (u16_t)S16_SUB(new_prod, old_prod), 1); in lm_tcp_graceful_disconnect()
H A Dlm_l4rx.c1444 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()
1484 DbgBreakIf(S16_SUB(cq_new_idx, cq_old_idx) <= 0); in lm_tcp_rx_process_cqes()
1983 DbgBreakIf(S16_SUB(new_prod, old_prod) < tcp_buf->bd_used); in _lm_tcp_rx_post_buf()
1984 rx_con->db_more_bds += S16_SUB(new_prod, old_prod); in _lm_tcp_rx_post_buf()
H A Dlm_l4sp.c5331 DbgBreakIf(S16_SUB(xag_toe->cmp_bd_cons, cst_toe->bd_cons) > 0); in lm_tcp_get_delegated()
5332 DbgBreakIf(S16_SUB(xst_toe->tx_bd_cons, xst_toe->bd_prod) > 0); in lm_tcp_get_delegated()
5333 DbgBreakIf(S16_SUB(xst_toe->bd_prod, tcp->tx_con->db_data.tx->bds_prod) > 0); in lm_tcp_get_delegated()
/titanic_41/usr/src/uts/common/io/bnxe/577xx/include/
H A Dbcmtype.h288 #define S16_SUB(_a, _b) ((s16_t) ((s16_t) (_a) - (s16_t) (_b))) macro
/titanic_41/usr/src/uts/common/io/bnxe/577xx/drivers/common/lm/device/
H A Dlm_send.c1055 S16_SUB(lm_bd_chain_prod_idx(&tx_chain->bd_chain), old_prod_idx); in lm_send_packet()
1093 u16_t pkt_num = S16_SUB(new_idx,tx_chain->pkt_idx); in lm_get_packets_sent()
1142 pkt_num = S16_SUB(new_idx,tx_chain->pkt_idx); in lm_get_packets_sent()
H A Dlm_recv.c976 DbgBreakIfFastPath(S16_SUB(cq_new_idx, cq_old_idx) <= 0); in lm_get_packets_rcvd()
H A Dlm_sp.c3361 DbgBreakIfFastPath(S16_SUB(cq_new_idx, cq_old_idx) <= 0); in lm_service_eq_intr()
/titanic_41/usr/src/uts/common/io/bnxe/577xx/drivers/common/lm/l5/
H A Dlm_l5.c1649 DbgBreakIf(S16_SUB(eq_new_idx, eq_old_idx) < 0); in lm_sc_service_eq_intr()
1653 DbgBreakIf(S16_SUB(eq_new_idx, eq_old_idx) <= 0); in lm_sc_service_eq_intr()
1767 DbgBreakIf(S16_SUB(eq_new_idx, eq_old_idx) < 0); in lm_fc_service_eq_intr()
1771 DbgBreakIf(S16_SUB(eq_new_idx, eq_old_idx) <= 0); in lm_fc_service_eq_intr()