Lines Matching refs:avail_queues
925 struct idpf_avail_queue_info *avail_queues = &adapter->avail_queues; in idpf_vport_alloc_max_qs() local
944 if (avail_queues->avail_rxq < max_q->max_rxq || in idpf_vport_alloc_max_qs()
945 avail_queues->avail_txq < max_q->max_txq || in idpf_vport_alloc_max_qs()
946 avail_queues->avail_bufq < max_q->max_bufq || in idpf_vport_alloc_max_qs()
947 avail_queues->avail_complq < max_q->max_complq) { in idpf_vport_alloc_max_qs()
953 avail_queues->avail_rxq -= max_q->max_rxq; in idpf_vport_alloc_max_qs()
954 avail_queues->avail_txq -= max_q->max_txq; in idpf_vport_alloc_max_qs()
955 avail_queues->avail_bufq -= max_q->max_bufq; in idpf_vport_alloc_max_qs()
956 avail_queues->avail_complq -= max_q->max_complq; in idpf_vport_alloc_max_qs()
971 struct idpf_avail_queue_info *avail_queues; in idpf_vport_dealloc_max_qs() local
974 avail_queues = &adapter->avail_queues; in idpf_vport_dealloc_max_qs()
976 avail_queues->avail_rxq += max_q->max_rxq; in idpf_vport_dealloc_max_qs()
977 avail_queues->avail_txq += max_q->max_txq; in idpf_vport_dealloc_max_qs()
978 avail_queues->avail_bufq += max_q->max_bufq; in idpf_vport_dealloc_max_qs()
979 avail_queues->avail_complq += max_q->max_complq; in idpf_vport_dealloc_max_qs()
990 struct idpf_avail_queue_info *avail_queues = &adapter->avail_queues; in idpf_init_avail_queues() local
993 avail_queues->avail_rxq = le16_to_cpu(caps->max_rx_q); in idpf_init_avail_queues()
994 avail_queues->avail_txq = le16_to_cpu(caps->max_tx_q); in idpf_init_avail_queues()
995 avail_queues->avail_bufq = le16_to_cpu(caps->max_rx_bufq); in idpf_init_avail_queues()
996 avail_queues->avail_complq = le16_to_cpu(caps->max_tx_complq); in idpf_init_avail_queues()