Lines Matching refs:msix
735 minfo = s->ethrxq[ethqidx].msix; in request_msix_queue_irqs()
750 minfo = s->ethrxq[ethqidx].msix; in request_msix_queue_irqs()
766 minfo = s->ethrxq[i].msix; in free_msix_queue_irqs()
985 int msix; in setup_non_data_intr() local
992 msix = cxgb4_get_msix_idx_from_bmap(adap); in setup_non_data_intr()
993 if (msix < 0) in setup_non_data_intr()
996 snprintf(adap->msix_info[msix].desc, in setup_non_data_intr()
997 sizeof(adap->msix_info[msix].desc), in setup_non_data_intr()
1000 adap->sge.nd_msix_idx = msix; in setup_non_data_intr()
1007 int msix, err = 0; in setup_fw_sge_queues() local
1014 msix = cxgb4_get_msix_idx_from_bmap(adap); in setup_fw_sge_queues()
1015 if (msix < 0) in setup_fw_sge_queues()
1018 snprintf(adap->msix_info[msix].desc, in setup_fw_sge_queues()
1019 sizeof(adap->msix_info[msix].desc), in setup_fw_sge_queues()
1026 msix = -((int)s->intrq.abs_id + 1); in setup_fw_sge_queues()
1030 msix, NULL, fwevtq_handler, NULL, -1); in setup_fw_sge_queues()
1031 if (err && msix >= 0) in setup_fw_sge_queues()
1032 cxgb4_free_msix_idx_in_bmap(adap, msix); in setup_fw_sge_queues()
1034 s->fwevtq_msix_idx = msix; in setup_fw_sge_queues()
1051 int err, i, j, msix = 0; in setup_sge_queues() local
1057 msix = -((int)s->intrq.abs_id + 1); in setup_sge_queues()
1066 if (msix >= 0) { in setup_sge_queues()
1067 msix = cxgb4_get_msix_idx_from_bmap(adap); in setup_sge_queues()
1068 if (msix < 0) { in setup_sge_queues()
1069 err = msix; in setup_sge_queues()
1073 snprintf(adap->msix_info[msix].desc, in setup_sge_queues()
1074 sizeof(adap->msix_info[msix].desc), in setup_sge_queues()
1076 q->msix = &adap->msix_info[msix]; in setup_sge_queues()
1080 msix, &q->fl, in setup_sge_queues()
1309 cxgb4_clear_msix_aff(mirror_rxq->msix->vec, in cxgb4_port_mirror_free_rxq()
1310 mirror_rxq->msix->aff_mask); in cxgb4_port_mirror_free_rxq()
1311 free_irq(mirror_rxq->msix->vec, &mirror_rxq->rspq); in cxgb4_port_mirror_free_rxq()
1312 cxgb4_free_msix_idx_in_bmap(adap, mirror_rxq->msix->idx); in cxgb4_port_mirror_free_rxq()
1324 int ret = 0, msix = 0; in cxgb4_port_mirror_alloc_queues() local
1341 msix = -((int)adap->sge.intrq.abs_id + 1); in cxgb4_port_mirror_alloc_queues()
1347 if (msix >= 0) { in cxgb4_port_mirror_alloc_queues()
1348 msix = cxgb4_get_msix_idx_from_bmap(adap); in cxgb4_port_mirror_alloc_queues()
1349 if (msix < 0) { in cxgb4_port_mirror_alloc_queues()
1350 ret = msix; in cxgb4_port_mirror_alloc_queues()
1354 mirror_rxq->msix = &adap->msix_info[msix]; in cxgb4_port_mirror_alloc_queues()
1355 snprintf(mirror_rxq->msix->desc, in cxgb4_port_mirror_alloc_queues()
1356 sizeof(mirror_rxq->msix->desc), in cxgb4_port_mirror_alloc_queues()
1369 dev, msix, &mirror_rxq->fl, in cxgb4_port_mirror_alloc_queues()
1376 ret = request_irq(mirror_rxq->msix->vec, in cxgb4_port_mirror_alloc_queues()
1378 mirror_rxq->msix->desc, in cxgb4_port_mirror_alloc_queues()
1383 cxgb4_set_msix_aff(adap, mirror_rxq->msix->vec, in cxgb4_port_mirror_alloc_queues()
1384 &mirror_rxq->msix->aff_mask, i); in cxgb4_port_mirror_alloc_queues()
1413 cxgb4_free_msix_idx_in_bmap(adap, mirror_rxq->msix->idx); in cxgb4_port_mirror_alloc_queues()