Home
last modified time | relevance | path

Searched refs:rspq (Results 1 – 25 of 29) sorted by relevance

12

/linux-6.3-rc2/drivers/net/ethernet/brocade/bna/
A Dbfa_msgq.c330 rspq->producer_index = 0; in rspq_sm_stopped_entry()
332 rspq->flags = 0; in rspq_sm_stopped_entry()
451 if (!bfa_nw_ioc_mbox_queue(rspq->msgq->ioc, &rspq->dbell_mb, in bfa_msgq_rspq_dbell()
468 while (rspq->consumer_index != rspq->producer_index) { in bfa_msgq_rspq_pi_update()
479 (rspq->rsphdlr[mc].cbfn)(rspq->rsphdlr[mc].cbarg, msghdr); in bfa_msgq_rspq_pi_update()
482 rspq->depth); in bfa_msgq_rspq_pi_update()
492 rspq->msgq = msgq; in bfa_msgq_rspq_attach()
517 bfa_dma_be_addr_set(msgq_cfg->rspq.addr, msgq->rspq.addr.pa); in bfa_msgq_init()
518 msgq_cfg->rspq.q_depth = htons(msgq->rspq.depth); in bfa_msgq_init()
597 msgq->rspq.addr.pa = pa; in bfa_msgq_memclaim()
[all …]
A Dbfa_msgq.h109 struct bfa_msgq_rspq rspq; member
A Dbfa_cs.h46 BFA_SM_TABLE(rspq, bfa_msgq_rspq, rspq_event, bfa_fsm_msgq_rspq_t)
A Dbfi.h421 struct bfi_msgq rspq; member
/linux-6.3-rc2/drivers/net/ethernet/chelsio/cxgb4vf/
A Dsge.c1733 rspq->cur_desc = (void *)rspq->cur_desc + rspq->iqe_len; in rspq_next()
1734 if (unlikely(++rspq->cidx == rspq->size)) { in rspq_next()
1737 rspq->cur_desc = rspq->desc; in rspq_next()
1835 ret = rspq->handler(rspq, rspq->cur_desc, &gl); in process_responses()
1841 ret = rspq->handler(rspq, rspq->cur_desc, NULL); in process_responses()
2232 rspq->size = roundup(rspq->size, 16); in t4vf_sge_alloc_rxq()
2233 rspq->desc = alloc_ring(adapter->pdev_dev, rspq->size, rspq->iqe_len, in t4vf_sge_alloc_rxq()
2340 rspq->cur_desc = rspq->desc; in t4vf_sge_alloc_rxq()
2343 rspq->next_intr_params = rspq->intr_params; in t4vf_sge_alloc_rxq()
2388 rspq->desc, rspq->phys_addr); in t4vf_sge_alloc_rxq()
[all …]
A Dcxgb4vf_main.c427 &s->ethrxq[rxq].rspq); in free_msix_queue_irqs()
435 napi_enable(&rspq->napi); in qenable()
649 rxq->rspq.idx = qs; in setup_sge_queues()
658 s->ingr_base = s->ethrxq[0].rspq.abs_id - s->ethrxq[0].rspq.cntxt_id; in setup_sge_queues()
668 IQ_MAP(s, rxq->rspq.abs_id) = &rxq->rspq; in setup_sge_queues()
737 rxq[0].rspq.abs_id; in setup_rss()
1098 if (rspq->desc && rspq->pktcnt_idx != pktcnt_idx) { in set_rxq_intr_params()
1660 const struct sge_rspq *rspq = &adapter->sge.ethrxq[pi->first_qset].rspq; in cxgb4vf_get_coalesce() local
2068 (rxq[qs].rspq.netdev in sge_qinfo_show()
2208 (rxq[qs].rspq.netdev in sge_qstats_show()
[all …]
A Dadapter.h213 struct sge_rspq rspq; /* Response Queue */ member
A Dt4vf_hw.c1248 int start, int n, const u16 *rspq, int nrspq) in t4vf_config_rss_range() argument
1250 const u16 *rsp = rspq; in t4vf_config_rss_range()
1251 const u16 *rsp_end = rspq+nrspq; in t4vf_config_rss_range()
1310 rsp = rspq; in t4vf_config_rss_range()
/linux-6.3-rc2/drivers/scsi/bfa/
A Dbfa_hw_cb.c46 bfa_hwcb_rspq_ack_msix(struct bfa_s *bfa, int rspq, u32 ci) in bfa_hwcb_rspq_ack_msix() argument
48 writel(__HFN_INT_RME_Q0 << RME_Q_NUM(bfa_ioc_pcifn(&bfa->ioc), rspq), in bfa_hwcb_rspq_ack_msix()
51 if (bfa_rspq_ci(bfa, rspq) == ci) in bfa_hwcb_rspq_ack_msix()
54 bfa_rspq_ci(bfa, rspq) = ci; in bfa_hwcb_rspq_ack_msix()
55 writel(ci, bfa->iocfc.bfa_regs.rme_q_ci[rspq]); in bfa_hwcb_rspq_ack_msix()
59 bfa_hwcb_rspq_ack(struct bfa_s *bfa, int rspq, u32 ci) in bfa_hwcb_rspq_ack() argument
61 if (bfa_rspq_ci(bfa, rspq) == ci) in bfa_hwcb_rspq_ack()
64 bfa_rspq_ci(bfa, rspq) = ci; in bfa_hwcb_rspq_ack()
65 writel(ci, bfa->iocfc.bfa_regs.rme_q_ci[rspq]); in bfa_hwcb_rspq_ack()
A Dbfa_hw_ct.c67 bfa_hwct_rspq_ack(struct bfa_s *bfa, int rspq, u32 ci) in bfa_hwct_rspq_ack() argument
71 r32 = readl(bfa->iocfc.bfa_regs.rme_q_ctrl[rspq]); in bfa_hwct_rspq_ack()
72 writel(r32, bfa->iocfc.bfa_regs.rme_q_ctrl[rspq]); in bfa_hwct_rspq_ack()
74 bfa_rspq_ci(bfa, rspq) = ci; in bfa_hwct_rspq_ack()
75 writel(ci, bfa->iocfc.bfa_regs.rme_q_ci[rspq]); in bfa_hwct_rspq_ack()
84 bfa_hwct2_rspq_ack(struct bfa_s *bfa, int rspq, u32 ci) in bfa_hwct2_rspq_ack() argument
86 bfa_rspq_ci(bfa, rspq) = ci; in bfa_hwct2_rspq_ack()
87 writel(ci, bfa->iocfc.bfa_regs.rme_q_ci[rspq]); in bfa_hwct2_rspq_ack()
A Dbfa.h179 void (*hw_rspq_ack)(struct bfa_s *bfa, int rspq, u32 ci);
313 void bfa_hwcb_rspq_ack(struct bfa_s *bfa, int rspq, u32 ci);
325 void bfa_hwct_reqq_ack(struct bfa_s *bfa, int rspq);
326 void bfa_hwct_rspq_ack(struct bfa_s *bfa, int rspq, u32 ci);
327 void bfa_hwct2_rspq_ack(struct bfa_s *bfa, int rspq, u32 ci);
/linux-6.3-rc2/drivers/net/ethernet/chelsio/cxgb4/
A Dcxgb4_debugfs.c2693 rx[i].rspq.netdev ? rx[i].rspq.netdev->name : "N/A"); in sge_qinfo_show()
2712 R("RspQ Gen:", rspq.gen); in sge_qinfo_show()
2766 rx[i].rspq.netdev ? rx[i].rspq.netdev->name : "N/A"); in sge_qinfo_show()
2771 R("RspQ Gen:", rspq.gen); in sge_qinfo_show()
2816 rx[i].rspq.netdev ? rx[i].rspq.netdev->name : "N/A"); in sge_qinfo_show()
2826 R("RspQ Gen:", rspq.gen); in sge_qinfo_show()
2944 rx[i].rspq.netdev ? rx[i].rspq.netdev->name : "N/A"); in sge_qinfo_show()
2949 R("RspQ Gen:", rspq.gen); in sge_qinfo_show()
2974 rx[i].rspq.netdev ? rx[i].rspq.netdev->name : "N/A"); in sge_qinfo_show()
2979 R("RspQ Gen:", rspq.gen); in sge_qinfo_show()
[all …]
A Dcxgb4_uld.c146 err = t4_sge_alloc_rxq(adap, &q->rspq, false, in alloc_uld_rxqs()
158 ids[i] = q->rspq.abs_id; in alloc_uld_rxqs()
164 if (q->rspq.desc) in alloc_uld_rxqs()
165 free_rspq_fl(adap, &q->rspq, in alloc_uld_rxqs()
191 cmplqid = rxq_info->uldrxq[i].rspq.cntxt_id; in setup_sge_queues_uld()
206 if (q->rspq.desc) in t4_free_uld_rxqs()
207 free_rspq_fl(adap, &q->rspq, in t4_free_uld_rxqs()
290 r->rspq.uld = uld_type; in cfg_queues_uld()
303 init_rspq(adap, &r->rspq, 5, 1, ciq_size, 64); in cfg_queues_uld()
304 r->rspq.uld = uld_type; in cfg_queues_uld()
[all …]
A Dcxgb4_tc_mqprio.c200 init_rspq(adap, &eorxq->rspq, in cxgb4_mqprio_alloc_hw_resources()
218 eorxq->rspq.cntxt_id); in cxgb4_mqprio_alloc_hw_resources()
225 eorxq->msix->desc, &eorxq->rspq); in cxgb4_mqprio_alloc_hw_resources()
234 cxgb4_enable_rx(adap, &eorxq->rspq); in cxgb4_mqprio_alloc_hw_resources()
244 cxgb4_quiesce_rx(&eorxq->rspq); in cxgb4_mqprio_alloc_hw_resources()
249 free_irq(eorxq->msix->vec, &eorxq->rspq); in cxgb4_mqprio_alloc_hw_resources()
258 if (eorxq->rspq.desc) in cxgb4_mqprio_alloc_hw_resources()
259 free_rspq_fl(adap, &eorxq->rspq, &eorxq->fl); in cxgb4_mqprio_alloc_hw_resources()
297 cxgb4_quiesce_rx(&eorxq->rspq); in cxgb4_mqprio_free_hw_resources()
302 free_irq(eorxq->msix->vec, &eorxq->rspq); in cxgb4_mqprio_free_hw_resources()
[all …]
A Dsge.c3452 skb = napi_get_frags(&rxq->rspq.napi); in do_gro()
3466 skb_record_rx_queue(skb, rxq->rspq.idx); in do_gro()
3479 ret = napi_gro_frags(&rxq->rspq.napi); in do_gro()
3596 struct adapter *adapter = rspq->adap; in t4_tx_completion_handler()
4264 if (napi_reschedule(&rxq->rspq.napi)) in sge_rx_timer_cb()
4902 if (q->rspq.desc) in t4_free_ofld_rxqs()
4903 free_rspq_fl(adap, &q->rspq, in t4_free_ofld_rxqs()
4933 if (eq->rspq.desc) in t4_free_sge_resources()
4936 eq->rspq.cntxt_id, in t4_free_sge_resources()
4944 if (eq->rspq.desc) in t4_free_sge_resources()
[all …]
A Dcxgb4_main.c739 &s->ethrxq[ethqidx].rspq); in request_msix_queue_irqs()
768 free_irq(minfo->vec, &s->ethrxq[i].rspq); in free_msix_queue_irqs()
874 rss[i] = rxq[*queues].rspq.abs_id; in cxgb4_write_rss()
1087 q->rspq.idx = j; in setup_sge_queues()
1095 q->rspq.cntxt_id, in setup_sge_queues()
1107 cmplqid = rxq_info->uldrxq[i].rspq.cntxt_id; in setup_sge_queues()
1306 cxgb4_quiesce_rx(&mirror_rxq->rspq); in cxgb4_port_mirror_free_rxq()
1360 init_rspq(adap, &mirror_rxq->rspq, in cxgb4_port_mirror_alloc_queues()
1379 &mirror_rxq->rspq); in cxgb4_port_mirror_alloc_queues()
1388 cxgb4_enable_rx(adap, &mirror_rxq->rspq); in cxgb4_port_mirror_alloc_queues()
[all …]
A Dcxgb4_ethtool.c906 e->rx_mini_pending = s->ethrxq[pi->first_qset].rspq.size; in get_sge_param()
933 s->ethrxq[pi->first_qset + i].rspq.size = e->rx_mini_pending; in set_sge_param()
955 err = cxgb4_set_rspq_intr_params(&q->rspq, us, cnt); in set_rx_intr_params()
970 q->rspq.adaptive_rx = adaptive_rx; in set_adaptive_rx_setting()
981 return q->rspq.adaptive_rx; in get_adaptive_rx_setting()
1178 const struct sge_rspq *rq = &adap->sge.ethrxq[pi->first_qset].rspq; in get_coalesce()
A Dcxgb4_ptp.c187 c.u.init.absid = cpu_to_be16(receive_q->rspq.abs_id); in cxgb4_ptp_redirect_rx_packet()
A Dcxgb4.h812 struct sge_rspq rspq; member
826 struct sge_rspq rspq; member
1896 int start, int n, const u16 *rspq, unsigned int nrspq);
/linux-6.3-rc2/drivers/net/ethernet/chelsio/cxgb3/
A Dsge.c657 memset(&q->rspq, 0, sizeof(q->rspq)); in t3_reset_qset()
712 if (q->rspq.desc) { in t3_free_qset()
718 q->rspq.desc, q->rspq.phys_addr); in t3_free_qset()
733 qs->rspq.cntxt_id = id; in init_qset_cntxt()
2975 &qs->rspq.lock : &adap->sge.qs[0].rspq.lock; in sge_timer_rx()
2987 qs->rspq.starved++; in sge_timer_rx()
2989 qs->rspq.credits--; in sge_timer_rx()
3069 if (!q->rspq.desc) in t3_sge_alloc_qset()
3099 q->rspq.gen = 1; in t3_sge_alloc_qset()
3131 q->rspq.phys_addr, q->rspq.size, in t3_sge_alloc_qset()
[all …]
A Dadapter.h202 struct sge_rspq rspq; member
A Dcommon.h697 const u8 * cpus, const u16 *rspq);
746 unsigned int size, int rspq, int ovfl_mode,
A Dcxgb3_main.c411 rspq.polling), 0, in request_msix_data_irqs()
447 while (adap->sge.qs[0].rspq.offload_pkts < init_cnt + n) { in await_mgmt_replies()
460 unsigned long cnt = adap->sge.qs[0].rspq.offload_pkts; in init_tp_parity()
1171 struct sge_rspq *q = &adap->sge.qs[i].rspq; in t3_synchronize_rx()
1277 t3_intr_handler(adap, adap->sge.qs[0].rspq.polling), in cxgb_up()
2629 t3_intr_handler(adapter, qs->rspq.polling) (0, source); in cxgb_netpoll()
A Dt3_hw.c2299 unsigned int size, int rspq, int ovfl_mode, in t3_sge_init_cqcntxt() argument
2312 V_CQ_BASE_HI((u32) base_addr) | V_CQ_RSPQ(rspq) | in t3_sge_init_cqcntxt()
2471 const u8 * cpus, const u16 *rspq) in t3_config_rss() argument
2487 if (rspq) in t3_config_rss()
2490 (i << 16) | rspq[q_idx++]); in t3_config_rss()
2491 if (rspq[q_idx] == 0xffff) in t3_config_rss()
A Dt3_cpl.h1441 __u8 rspq:3; member
1445 __u8 rspq:3; member

Completed in 130 milliseconds

12