Home
last modified time | relevance | path

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

/linux/drivers/net/ethernet/cisco/enic/
H A Denic_res.c198 enic->rq_avail = vnic_dev_get_res_count(enic->vdev, RES_TYPE_RQ); in enic_get_res_counts()
204 enic->rq_count = enic->rq_avail; in enic_get_res_counts()
210 enic->wq_avail, enic->rq_avail, in enic_get_res_counts()
H A Denic_main.c2262 unsigned int rq_avail; in enic_adjust_resources() local
2265 if (enic->rq_avail < 1 || enic->wq_avail < 1 || enic->cq_avail < 2) { in enic_adjust_resources()
2268 enic->rq_avail, enic->wq_avail, in enic_adjust_resources()
2275 enic->rq_avail = 1; in enic_adjust_resources()
2284 enic->rq_avail = 1; in enic_adjust_resources()
2301 rq_avail = min3(enic->rq_avail, ENIC_RQ_MAX, rq_default); in enic_adjust_resources()
2304 if (wq_avail + rq_avail <= max_queues) { in enic_adjust_resources()
2305 enic->rq_count = rq_avail; in enic_adjust_resources()
2309 if (rq_avail < wq_avail) { in enic_adjust_resources()
2310 enic->rq_count = min(rq_avail, max_queues / 2); in enic_adjust_resources()
[all …]
H A Denic.h227 unsigned int rq_avail; member
H A Denic_ethtool.c664 channels->max_rx = min(enic->rq_avail, ENIC_RQ_MAX); in enic_get_channels()