Home
last modified time | relevance | path

Searched refs:qidx (Results 1 – 8 of 8) sorted by relevance

/linux-2.6.39/drivers/net/cxgb3/
Dcxgb3_main.c399 int i, j, err, qidx = 0; in request_msix_data_irqs() local
405 err = request_irq(adap->msix_info[qidx + 1].vec, in request_msix_data_irqs()
407 adap->sge.qs[qidx]. in request_msix_data_irqs()
409 adap->msix_info[qidx + 1].desc, in request_msix_data_irqs()
410 &adap->sge.qs[qidx]); in request_msix_data_irqs()
412 while (--qidx >= 0) in request_msix_data_irqs()
413 free_irq(adap->msix_info[qidx + 1].vec, in request_msix_data_irqs()
414 &adap->sge.qs[qidx]); in request_msix_data_irqs()
417 qidx++; in request_msix_data_irqs()
956 static int send_pktsched_cmd(struct adapter *adap, int sched, int qidx, int lo, in send_pktsched_cmd() argument
[all …]
Dsge.c166 static inline struct sge_qset *fl_to_qset(const struct sge_fl *q, int qidx) in fl_to_qset() argument
168 return container_of(q, struct sge_qset, fl[qidx]); in fl_to_qset()
176 static inline struct sge_qset *txq_to_qset(const struct sge_txq *q, int qidx) in txq_to_qset() argument
178 return container_of(q, struct sge_qset, txq[qidx]); in txq_to_qset()
1222 int qidx; in t3_eth_xmit() local
1239 qidx = skb_get_queue_mapping(skb); in t3_eth_xmit()
1240 qs = &pi->qs[qidx]; in t3_eth_xmit()
1242 txq = netdev_get_tx_queue(dev, qidx); in t3_eth_xmit()
/linux-2.6.39/drivers/net/cxgb4vf/
Dsge.c1076 int qidx, credits; in t4vf_eth_xmit() local
1104 qidx = skb_get_queue_mapping(skb); in t4vf_eth_xmit()
1105 BUG_ON(qidx >= pi->nqsets); in t4vf_eth_xmit()
1106 txq = &adapter->sge.ethtxq[pi->first_qset + qidx]; in t4vf_eth_xmit()
1133 dev->name, qidx); in t4vf_eth_xmit()
Dcxgb4vf_main.c2285 int q10g, n10g, qidx, pidx, qs; in cfg_queues() local
2320 qidx = 0; in cfg_queues()
2324 pi->first_qset = qidx; in cfg_queues()
2326 qidx += pi->nqsets; in cfg_queues()
2328 s->ethqsets = qidx; in cfg_queues()
/linux-2.6.39/drivers/net/cxgb4/
Dsge.c879 int qidx, credits; in t4_eth_xmit() local
900 qidx = skb_get_queue_mapping(skb); in t4_eth_xmit()
901 q = &adap->sge.ethtxq[qidx + pi->first_qset]; in t4_eth_xmit()
913 dev->name, qidx); in t4_eth_xmit()
Dcxgb4_main.c3315 int i, q10g = 0, n10g = 0, qidx = 0; in cfg_queues() local
3332 pi->first_qset = qidx; in cfg_queues()
3334 qidx += pi->nqsets; in cfg_queues()
3337 s->ethqsets = qidx; in cfg_queues()
3338 s->max_ethqsets = qidx; /* MSI-X may lower it later */ in cfg_queues()
/linux-2.6.39/drivers/scsi/sym53c8xx_2/
Dsym_hipd.c1482 u_short qidx; local
1515 qidx = np->squeueput + 2;
1516 if (qidx >= MAX_QUEUE*2) qidx = 0;
1518 np->squeue [qidx] = cpu_to_scr(np->idletask_ba);
1522 np->squeueput = qidx;
/linux-2.6.39/drivers/scsi/
Dncr53c8xx.c4452 u16 qidx; in ncr_put_start_queue() local
4458 qidx = np->squeueput + 2; in ncr_put_start_queue()
4459 if (qidx >= MAX_START + MAX_START) qidx = 1; in ncr_put_start_queue()
4461 np->scripth->tryloop [qidx] = cpu_to_scr(NCB_SCRIPT_PHYS (np, idle)); in ncr_put_start_queue()
4465 np->squeueput = qidx; in ncr_put_start_queue()