Searched refs:wq_avail (Results 1 – 3 of 3) sorted by relevance
198 enic->wq_avail = vnic_dev_get_res_count(enic->vdev, RES_TYPE_WQ); in enic_get_res_counts()204 enic->wq_count = enic->wq_avail; in enic_get_res_counts()219 enic->wq_avail, enic->rq_avail, in enic_get_res_counts()
2437 unsigned int wq_avail; in enic_adjust_resources() local2439 if (enic->rq_avail < 1 || enic->wq_avail < 1 || enic->cq_avail < 2) { in enic_adjust_resources()2442 enic->rq_avail, enic->wq_avail, in enic_adjust_resources()2450 enic->wq_avail = 1; in enic_adjust_resources()2482 wq_avail = min(enic->wq_avail, ENIC_WQ_MAX); in enic_adjust_resources()2489 if (wq_avail + rq_avail <= max_queues) { in enic_adjust_resources()2491 enic->wq_count = wq_avail; in enic_adjust_resources()2494 if (rq_avail < wq_avail) { in enic_adjust_resources()2498 enic->wq_count = min(wq_avail, max_queues / 2); in enic_adjust_resources()2645 enic->wq = kzalloc_objs(struct enic_wq, enic->wq_avail); in enic_alloc_enic_resources()[all …]
275 unsigned int wq_avail; member