Home
last modified time | relevance | path

Searched refs:wq_count (Results 1 – 13 of 13) sorted by relevance

/drivers/scsi/snic/
Dsnic_res.c122 snic->wq_count = svnic_dev_get_res_count(snic->vdev, RES_TYPE_WQ); in snic_get_res_counts()
123 SNIC_BUG_ON(snic->wq_count == 0); in snic_get_res_counts()
136 for (i = 0; i < snic->wq_count; i++) in snic_free_vnic_res()
170 SNIC_INFO("wq %d cq %d intr %d\n", snic->wq_count, in snic_alloc_vnic_res()
176 for (i = 0; i < snic->wq_count; i++) { in snic_alloc_vnic_res()
187 for (i = 0; i < snic->wq_count; i++) { in snic_alloc_vnic_res()
197 SNIC_BUG_ON(snic->cq_count != 2 * snic->wq_count); in snic_alloc_vnic_res()
199 for (i = snic->wq_count; i < snic->cq_count; i++) { in snic_alloc_vnic_res()
223 for (i = 0; i < snic->wq_count; i++) { in snic_alloc_vnic_res()
287 for (i = 0; i < snic->wq_count; i++) { in snic_log_q_error()
Dsnic_isr.c170 if (snic->wq_count < n || snic->cq_count < n + m) in snic_set_intr_mode()
176 snic->wq_count = n; in snic_set_intr_mode()
Dsnic_main.c237 for (i = 0; i < snic->wq_count; i++) { in snic_cleanup()
249 for (i = 0; i < snic->wq_count; i++) in snic_cleanup()
621 for (i = 0; i < snic->wq_count; i++) in snic_probe()
694 for (i = 0; i < snic->wq_count; i++) { in snic_probe()
Dsnic.h292 unsigned int wq_count; member
Dsnic_io.c86 for (i = 0; i < snic->wq_count; i++) { in snic_wq_cmpl_handler()
Dsnic_scsi.c1288 for (cq_idx = snic->wq_count; cq_idx < snic->cq_count; cq_idx++) { in snic_fwcq_cmpl_handler()
/drivers/net/ethernet/cisco/enic/
Denic_res.c191 for (i = 0; i < enic->wq_count; i++) in enic_free_vnic_resources()
203 enic->wq_count = vnic_dev_get_res_count(enic->vdev, RES_TYPE_WQ); in enic_get_res_counts()
211 enic->wq_count, enic->rq_count, in enic_get_res_counts()
255 for (i = 0; i < enic->wq_count; i++) { in enic_init_vnic_resources()
327 enic->wq_count, enic->rq_count, in enic_alloc_vnic_resources()
337 for (i = 0; i < enic->wq_count; i++) { in enic_alloc_vnic_resources()
Denic_main.c160 for (i = 0; i < enic->wq_count; i++) { in enic_set_affinity_hint()
372 for (i = 0; i < enic->wq_count; i++) { in enic_log_q_error()
834 txq_map = skb_get_queue_mapping(skb) % enic->wq_count; in enic_hard_start_xmit()
1755 for (i = 0; i < enic->wq_count; i++) { in enic_request_intr()
1921 for (i = 0; i < enic->wq_count; i++) in enic_open()
1935 for (i = 0; i < enic->wq_count; i++) in enic_open()
1985 for (i = 0; i < enic->wq_count; i++) in enic_stop()
1992 for (i = 0; i < enic->wq_count; i++) { in enic_stop()
2007 for (i = 0; i < enic->wq_count; i++) in enic_stop()
2085 for (i = 0; i < enic->wq_count; i++) { in enic_poll_controller()
[all …]
Denic.h178 unsigned int wq_count; member
271 return enic->rq_count + enic->wq_count; in enic_msix_err_intr()
276 return enic->rq_count + enic->wq_count + 1; in enic_msix_notify_intr()
Denic_ethtool.c373 for (i = 0; i < enic->wq_count; i++) { in enic_set_coalesce()
/drivers/scsi/fnic/
Dfnic_res.c201 fnic->wq_count = vnic_dev_get_res_count(fnic->vdev, RES_TYPE_WQ); in fnic_get_res_counts()
202 fnic->raw_wq_count = fnic->wq_count - 1; in fnic_get_res_counts()
203 fnic->wq_copy_count = fnic->wq_count - fnic->raw_wq_count; in fnic_get_res_counts()
251 fnic->wq_count, fnic->wq_copy_count, fnic->raw_wq_count, in fnic_alloc_vnic_resources()
Dfnic_isr.c261 fnic->wq_count = m + o; in fnic_set_intr_mode()
287 fnic->wq_count = 2; in fnic_set_intr_mode()
Dfnic.h235 unsigned int wq_count; member