Home
last modified time | relevance | path

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

/titanic_41/usr/src/uts/common/io/fibre-channel/fca/oce/
H A Doce_tx.c682 int32_t num_wqes; in oce_send_packet() local
836 num_wqes = wqed->frag_cnt + 1; in oce_send_packet()
839 if (num_wqes & 0x1) { in oce_send_packet()
840 bzero(&wqed->frag[num_wqes], sizeof (struct oce_nic_frag_wqe)); in oce_send_packet()
841 num_wqes++; in oce_send_packet()
843 wqed->wqe_cnt = (uint16_t)num_wqes; in oce_send_packet()
844 wqeh->u0.s.num_wqe = num_wqes; in oce_send_packet()
848 if (num_wqes > wq->wq_free) { in oce_send_packet()
853 atomic_add_32(&wq->wq_free, -num_wqes); in oce_send_packet()
868 reg_value = (num_wqes << 16) | wq->wq_id; in oce_send_packet()