Home
last modified time | relevance | path

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

/linux/drivers/net/ethernet/cisco/enic/
H A Denic_res.c199 enic->rq_avail = vnic_dev_get_res_count(enic->vdev, RES_TYPE_RQ); in enic_get_res_counts()
205 enic->rq_count = enic->rq_avail; in enic_get_res_counts()
219 enic->wq_avail, enic->rq_avail, in enic_get_res_counts()
H A Denic_main.c2436 unsigned int rq_avail; in enic_adjust_resources() local
2439 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()
2449 enic->rq_avail = 1; in enic_adjust_resources()
2458 enic->rq_avail = 1; in enic_adjust_resources()
2485 rq_avail = min3(enic->rq_avail, ENIC_RQ_MAX, rq_default); in enic_adjust_resources()
2489 if (wq_avail + rq_avail <= max_queues) { in enic_adjust_resources()
2490 enic->rq_count = rq_avail; in enic_adjust_resources()
2494 if (rq_avail < wq_avail) { in enic_adjust_resources()
2495 enic->rq_count = min(rq_avail, max_queues / 2); in enic_adjust_resources()
[all …]
H A Denic.h281 unsigned int rq_avail; member