Home
last modified time | relevance | path

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

/illumos-gate/usr/src/uts/common/io/ib/adapters/hermon/
H A Dhermon_cq.c85 hermon_cq_sched_t *cq_schedp; in hermon_cq_alloc() local
266 cq_schedp = (hermon_cq_sched_t *)cq_attr->cq_sched; in hermon_cq_alloc()
267 if (cq_schedp == NULL) { in hermon_cq_alloc()
268 cq_schedp = &state->hs_cq_sched_default; in hermon_cq_alloc()
269 } else if (cq_schedp != &state->hs_cq_sched_default) { in hermon_cq_alloc()
275 if (cq_schedp == &tmp[i]) in hermon_cq_alloc()
280 cq_schedp = &state->hs_cq_sched_default; in hermon_cq_alloc()
284 HERMON_CQSCHED_NEXT_HID(cq_schedp)); in hermon_cq_alloc()
286 "eqn %d", cq_schedp->cqs_start_hid - 1, in hermon_cq_alloc()
287 cq_schedp->cqs_len, cq->cq_eqnum); in hermon_cq_alloc()
[all …]
/illumos-gate/usr/src/uts/common/sys/ib/adapters/hermon/
H A Dhermon_cq.h152 #define HERMON_CQSCHED_NEXT_HID(cq_schedp) \ argument
153 ((atomic_inc_uint_nv(&(cq_schedp)->cqs_next_alloc) % \
154 (cq_schedp)->cqs_len) + (cq_schedp)->cqs_start_hid)
282 int hermon_cq_sched_free(hermon_state_t *state, hermon_cq_sched_t *cq_schedp);