rspq 311 drivers/net/ethernet/brocade/bna/bfa_msgq.c static void bfa_msgq_rspq_dbell(struct bfa_msgq_rspq *rspq); rspq 322 drivers/net/ethernet/brocade/bna/bfa_msgq.c bfa_fsm_state_decl(rspq, stopped, struct bfa_msgq_rspq, enum rspq_event); rspq 323 drivers/net/ethernet/brocade/bna/bfa_msgq.c bfa_fsm_state_decl(rspq, init_wait, struct bfa_msgq_rspq, rspq 325 drivers/net/ethernet/brocade/bna/bfa_msgq.c bfa_fsm_state_decl(rspq, ready, struct bfa_msgq_rspq, enum rspq_event); rspq 326 drivers/net/ethernet/brocade/bna/bfa_msgq.c bfa_fsm_state_decl(rspq, dbell_wait, struct bfa_msgq_rspq, rspq 330 drivers/net/ethernet/brocade/bna/bfa_msgq.c rspq_sm_stopped_entry(struct bfa_msgq_rspq *rspq) rspq 332 drivers/net/ethernet/brocade/bna/bfa_msgq.c rspq->producer_index = 0; rspq 333 drivers/net/ethernet/brocade/bna/bfa_msgq.c rspq->consumer_index = 0; rspq 334 drivers/net/ethernet/brocade/bna/bfa_msgq.c rspq->flags = 0; rspq 338 drivers/net/ethernet/brocade/bna/bfa_msgq.c rspq_sm_stopped(struct bfa_msgq_rspq *rspq, enum rspq_event event) rspq 342 drivers/net/ethernet/brocade/bna/bfa_msgq.c bfa_fsm_set_state(rspq, rspq_sm_init_wait); rspq 356 drivers/net/ethernet/brocade/bna/bfa_msgq.c rspq_sm_init_wait_entry(struct bfa_msgq_rspq *rspq) rspq 358 drivers/net/ethernet/brocade/bna/bfa_msgq.c bfa_wc_down(&rspq->msgq->init_wc); rspq 362 drivers/net/ethernet/brocade/bna/bfa_msgq.c rspq_sm_init_wait(struct bfa_msgq_rspq *rspq, enum rspq_event event) rspq 367 drivers/net/ethernet/brocade/bna/bfa_msgq.c bfa_fsm_set_state(rspq, rspq_sm_stopped); rspq 371 drivers/net/ethernet/brocade/bna/bfa_msgq.c bfa_fsm_set_state(rspq, rspq_sm_ready); rspq 380 drivers/net/ethernet/brocade/bna/bfa_msgq.c rspq_sm_ready_entry(struct bfa_msgq_rspq *rspq) rspq 385 drivers/net/ethernet/brocade/bna/bfa_msgq.c rspq_sm_ready(struct bfa_msgq_rspq *rspq, enum rspq_event event) rspq 390 drivers/net/ethernet/brocade/bna/bfa_msgq.c bfa_fsm_set_state(rspq, rspq_sm_stopped); rspq 394 drivers/net/ethernet/brocade/bna/bfa_msgq.c bfa_fsm_set_state(rspq, rspq_sm_dbell_wait); rspq 403 drivers/net/ethernet/brocade/bna/bfa_msgq.c rspq_sm_dbell_wait_entry(struct bfa_msgq_rspq *rspq) rspq 405 drivers/net/ethernet/brocade/bna/bfa_msgq.c if (!bfa_nw_ioc_is_disabled(rspq->msgq->ioc)) rspq 406 drivers/net/ethernet/brocade/bna/bfa_msgq.c bfa_msgq_rspq_dbell(rspq); rspq 410 drivers/net/ethernet/brocade/bna/bfa_msgq.c rspq_sm_dbell_wait(struct bfa_msgq_rspq *rspq, enum rspq_event event) rspq 415 drivers/net/ethernet/brocade/bna/bfa_msgq.c bfa_fsm_set_state(rspq, rspq_sm_stopped); rspq 419 drivers/net/ethernet/brocade/bna/bfa_msgq.c rspq->flags |= BFA_MSGQ_RSPQ_F_DB_UPDATE; rspq 423 drivers/net/ethernet/brocade/bna/bfa_msgq.c if (rspq->flags & BFA_MSGQ_RSPQ_F_DB_UPDATE) { rspq 424 drivers/net/ethernet/brocade/bna/bfa_msgq.c rspq->flags &= ~BFA_MSGQ_RSPQ_F_DB_UPDATE; rspq 425 drivers/net/ethernet/brocade/bna/bfa_msgq.c bfa_fsm_set_state(rspq, rspq_sm_dbell_wait); rspq 427 drivers/net/ethernet/brocade/bna/bfa_msgq.c bfa_fsm_set_state(rspq, rspq_sm_ready); rspq 438 drivers/net/ethernet/brocade/bna/bfa_msgq.c struct bfa_msgq_rspq *rspq = (struct bfa_msgq_rspq *)arg; rspq 439 drivers/net/ethernet/brocade/bna/bfa_msgq.c bfa_fsm_send_event(rspq, RSPQ_E_DB_READY); rspq 443 drivers/net/ethernet/brocade/bna/bfa_msgq.c bfa_msgq_rspq_dbell(struct bfa_msgq_rspq *rspq) rspq 446 drivers/net/ethernet/brocade/bna/bfa_msgq.c (struct bfi_msgq_h2i_db *)(&rspq->dbell_mb.msg[0]); rspq 451 drivers/net/ethernet/brocade/bna/bfa_msgq.c dbell->idx.rspq_ci = htons(rspq->consumer_index); rspq 453 drivers/net/ethernet/brocade/bna/bfa_msgq.c if (!bfa_nw_ioc_mbox_queue(rspq->msgq->ioc, &rspq->dbell_mb, rspq 454 drivers/net/ethernet/brocade/bna/bfa_msgq.c bfa_msgq_rspq_dbell_ready, rspq)) { rspq 455 drivers/net/ethernet/brocade/bna/bfa_msgq.c bfa_msgq_rspq_dbell_ready(rspq); rspq 460 drivers/net/ethernet/brocade/bna/bfa_msgq.c bfa_msgq_rspq_pi_update(struct bfa_msgq_rspq *rspq, struct bfi_mbmsg *mb) rspq 468 drivers/net/ethernet/brocade/bna/bfa_msgq.c rspq->producer_index = ntohs(dbell->idx.rspq_pi); rspq 470 drivers/net/ethernet/brocade/bna/bfa_msgq.c while (rspq->consumer_index != rspq->producer_index) { rspq 471 drivers/net/ethernet/brocade/bna/bfa_msgq.c rspq_qe = (u8 *)rspq->addr.kva; rspq 472 drivers/net/ethernet/brocade/bna/bfa_msgq.c rspq_qe += (rspq->consumer_index * BFI_MSGQ_RSP_ENTRY_SIZE); rspq 478 drivers/net/ethernet/brocade/bna/bfa_msgq.c if ((mc >= BFI_MC_MAX) || (rspq->rsphdlr[mc].cbfn == NULL)) rspq 481 drivers/net/ethernet/brocade/bna/bfa_msgq.c (rspq->rsphdlr[mc].cbfn)(rspq->rsphdlr[mc].cbarg, msghdr); rspq 483 drivers/net/ethernet/brocade/bna/bfa_msgq.c BFA_MSGQ_INDX_ADD(rspq->consumer_index, num_entries, rspq 484 drivers/net/ethernet/brocade/bna/bfa_msgq.c rspq->depth); rspq 487 drivers/net/ethernet/brocade/bna/bfa_msgq.c bfa_fsm_send_event(rspq, RSPQ_E_RESP); rspq 491 drivers/net/ethernet/brocade/bna/bfa_msgq.c bfa_msgq_rspq_attach(struct bfa_msgq_rspq *rspq, struct bfa_msgq *msgq) rspq 493 drivers/net/ethernet/brocade/bna/bfa_msgq.c rspq->depth = BFA_MSGQ_RSPQ_NUM_ENTRY; rspq 494 drivers/net/ethernet/brocade/bna/bfa_msgq.c rspq->msgq = msgq; rspq 495 drivers/net/ethernet/brocade/bna/bfa_msgq.c bfa_fsm_set_state(rspq, rspq_sm_stopped); rspq 503 drivers/net/ethernet/brocade/bna/bfa_msgq.c bfa_fsm_send_event(&msgq->rspq, RSPQ_E_INIT_RESP); rspq 519 drivers/net/ethernet/brocade/bna/bfa_msgq.c bfa_dma_be_addr_set(msgq_cfg->rspq.addr, msgq->rspq.addr.pa); rspq 520 drivers/net/ethernet/brocade/bna/bfa_msgq.c msgq_cfg->rspq.q_depth = htons(msgq->rspq.depth); rspq 536 drivers/net/ethernet/brocade/bna/bfa_msgq.c bfa_msgq_rspq_pi_update(&msgq->rspq, msg); rspq 563 drivers/net/ethernet/brocade/bna/bfa_msgq.c bfa_fsm_send_event(&msgq->rspq, RSPQ_E_START); rspq 569 drivers/net/ethernet/brocade/bna/bfa_msgq.c bfa_fsm_send_event(&msgq->rspq, RSPQ_E_STOP); rspq 574 drivers/net/ethernet/brocade/bna/bfa_msgq.c bfa_fsm_send_event(&msgq->rspq, RSPQ_E_FAIL); rspq 598 drivers/net/ethernet/brocade/bna/bfa_msgq.c msgq->rspq.addr.kva = kva; rspq 599 drivers/net/ethernet/brocade/bna/bfa_msgq.c msgq->rspq.addr.pa = pa; rspq 608 drivers/net/ethernet/brocade/bna/bfa_msgq.c bfa_msgq_rspq_attach(&msgq->rspq, msgq); rspq 619 drivers/net/ethernet/brocade/bna/bfa_msgq.c msgq->rspq.rsphdlr[mc].cbfn = cbfn; rspq 620 drivers/net/ethernet/brocade/bna/bfa_msgq.c msgq->rspq.rsphdlr[mc].cbarg = cbarg; rspq 639 drivers/net/ethernet/brocade/bna/bfa_msgq.c struct bfa_msgq_rspq *rspq = &msgq->rspq; rspq 645 drivers/net/ethernet/brocade/bna/bfa_msgq.c ci = rspq->consumer_index; rspq 646 drivers/net/ethernet/brocade/bna/bfa_msgq.c src = (u8 *)rspq->addr.kva; rspq 656 drivers/net/ethernet/brocade/bna/bfa_msgq.c BFA_MSGQ_INDX_ADD(ci, 1, rspq->depth); rspq 657 drivers/net/ethernet/brocade/bna/bfa_msgq.c src = (u8 *)rspq->addr.kva; rspq 105 drivers/net/ethernet/brocade/bna/bfa_msgq.h struct bfa_msgq_rspq rspq; rspq 421 drivers/net/ethernet/brocade/bna/bfi.h struct bfi_msgq rspq; rspq 202 drivers/net/ethernet/chelsio/cxgb3/adapter.h struct sge_rspq rspq; rspq 699 drivers/net/ethernet/chelsio/cxgb3/common.h const u8 * cpus, const u16 *rspq); rspq 748 drivers/net/ethernet/chelsio/cxgb3/common.h unsigned int size, int rspq, int ovfl_mode, rspq 412 drivers/net/ethernet/chelsio/cxgb3/cxgb3_main.c rspq.polling), 0, rspq 448 drivers/net/ethernet/chelsio/cxgb3/cxgb3_main.c while (adap->sge.qs[0].rspq.offload_pkts < init_cnt + n) { rspq 461 drivers/net/ethernet/chelsio/cxgb3/cxgb3_main.c unsigned long cnt = adap->sge.qs[0].rspq.offload_pkts; rspq 1173 drivers/net/ethernet/chelsio/cxgb3/cxgb3_main.c struct sge_rspq *q = &adap->sge.qs[i].rspq; rspq 1279 drivers/net/ethernet/chelsio/cxgb3/cxgb3_main.c adap->sge.qs[0].rspq. rspq 2631 drivers/net/ethernet/chelsio/cxgb3/cxgb3_main.c t3_intr_handler(adapter, qs->rspq.polling) (0, source); rspq 174 drivers/net/ethernet/chelsio/cxgb3/sge.c return container_of(q, struct sge_qset, rspq); rspq 656 drivers/net/ethernet/chelsio/cxgb3/sge.c memset(&q->rspq, 0, sizeof(q->rspq)); rspq 711 drivers/net/ethernet/chelsio/cxgb3/sge.c if (q->rspq.desc) { rspq 713 drivers/net/ethernet/chelsio/cxgb3/sge.c t3_sge_disable_rspcntxt(adapter, q->rspq.cntxt_id); rspq 716 drivers/net/ethernet/chelsio/cxgb3/sge.c q->rspq.size * sizeof(struct rsp_desc), rspq 717 drivers/net/ethernet/chelsio/cxgb3/sge.c q->rspq.desc, q->rspq.phys_addr); rspq 732 drivers/net/ethernet/chelsio/cxgb3/sge.c qs->rspq.cntxt_id = id; rspq 1898 drivers/net/ethernet/chelsio/cxgb3/sge.c struct sge_rspq *q = &qs->rspq; rspq 2323 drivers/net/ethernet/chelsio/cxgb3/sge.c struct sge_rspq *q = &qs->rspq; rspq 2498 drivers/net/ethernet/chelsio/cxgb3/sge.c t3_write_reg(adap, A_SG_GTS, V_RSPQ(qs->rspq.cntxt_id) | rspq 2499 drivers/net/ethernet/chelsio/cxgb3/sge.c V_NEWTIMER(qs->rspq.next_holdoff) | rspq 2500 drivers/net/ethernet/chelsio/cxgb3/sge.c V_NEWINDEX(qs->rspq.cidx)); rspq 2530 drivers/net/ethernet/chelsio/cxgb3/sge.c struct sge_rspq *q = &qs->rspq; rspq 2609 drivers/net/ethernet/chelsio/cxgb3/sge.c struct sge_rspq *q = &qs->rspq; rspq 2627 drivers/net/ethernet/chelsio/cxgb3/sge.c struct sge_rspq *q = &qs->rspq; rspq 2647 drivers/net/ethernet/chelsio/cxgb3/sge.c struct sge_rspq *q = &adap->sge.qs[0].rspq; rspq 2659 drivers/net/ethernet/chelsio/cxgb3/sge.c struct sge_rspq *q1 = &adap->sge.qs[1].rspq; rspq 2676 drivers/net/ethernet/chelsio/cxgb3/sge.c struct sge_rspq *q = &qs->rspq; rspq 2697 drivers/net/ethernet/chelsio/cxgb3/sge.c struct sge_rspq *q = &adap->sge.qs[0].rspq; rspq 2735 drivers/net/ethernet/chelsio/cxgb3/sge.c struct sge_rspq *q0 = &adap->sge.qs[0].rspq; rspq 2736 drivers/net/ethernet/chelsio/cxgb3/sge.c struct sge_rspq *q1 = &adap->sge.qs[1].rspq; rspq 2773 drivers/net/ethernet/chelsio/cxgb3/sge.c struct sge_rspq *q0 = &adap->sge.qs[0].rspq; rspq 2790 drivers/net/ethernet/chelsio/cxgb3/sge.c process_responses_gts(adap, &adap->sge.qs[1].rspq); rspq 2808 drivers/net/ethernet/chelsio/cxgb3/sge.c struct sge_rspq *q0 = &qs0->rspq; rspq 2970 drivers/net/ethernet/chelsio/cxgb3/sge.c &qs->rspq.lock : &adap->sge.qs[0].rspq.lock; rspq 2981 drivers/net/ethernet/chelsio/cxgb3/sge.c if (status & (1 << qs->rspq.cntxt_id)) { rspq 2982 drivers/net/ethernet/chelsio/cxgb3/sge.c qs->rspq.starved++; rspq 2983 drivers/net/ethernet/chelsio/cxgb3/sge.c if (qs->rspq.credits) { rspq 2984 drivers/net/ethernet/chelsio/cxgb3/sge.c qs->rspq.credits--; rspq 2985 drivers/net/ethernet/chelsio/cxgb3/sge.c refill_rspq(adap, &qs->rspq, 1); rspq 2986 drivers/net/ethernet/chelsio/cxgb3/sge.c qs->rspq.restarted++; rspq 2988 drivers/net/ethernet/chelsio/cxgb3/sge.c 1 << qs->rspq.cntxt_id); rspq 3014 drivers/net/ethernet/chelsio/cxgb3/sge.c qs->rspq.holdoff_tmr = max(p->coalesce_usecs * 10, 1U);/* can't be 0 */ rspq 3015 drivers/net/ethernet/chelsio/cxgb3/sge.c qs->rspq.polling = p->polling; rspq 3061 drivers/net/ethernet/chelsio/cxgb3/sge.c q->rspq.desc = alloc_ring(adapter->pdev, p->rspq_size, rspq 3063 drivers/net/ethernet/chelsio/cxgb3/sge.c &q->rspq.phys_addr, NULL); rspq 3064 drivers/net/ethernet/chelsio/cxgb3/sge.c if (!q->rspq.desc) rspq 3096 drivers/net/ethernet/chelsio/cxgb3/sge.c q->rspq.gen = 1; rspq 3097 drivers/net/ethernet/chelsio/cxgb3/sge.c q->rspq.size = p->rspq_size; rspq 3098 drivers/net/ethernet/chelsio/cxgb3/sge.c spin_lock_init(&q->rspq.lock); rspq 3099 drivers/net/ethernet/chelsio/cxgb3/sge.c skb_queue_head_init(&q->rspq.rx_queue); rspq 3127 drivers/net/ethernet/chelsio/cxgb3/sge.c ret = t3_sge_init_rspcntxt(adapter, q->rspq.cntxt_id, irq_vec_idx, rspq 3128 drivers/net/ethernet/chelsio/cxgb3/sge.c q->rspq.phys_addr, q->rspq.size, rspq 3190 drivers/net/ethernet/chelsio/cxgb3/sge.c refill_rspq(adapter, &q->rspq, q->rspq.size - 1); rspq 3192 drivers/net/ethernet/chelsio/cxgb3/sge.c t3_write_reg(adapter, A_SG_GTS, V_RSPQ(q->rspq.cntxt_id) | rspq 3193 drivers/net/ethernet/chelsio/cxgb3/sge.c V_NEWTIMER(q->rspq.holdoff_tmr)); rspq 1441 drivers/net/ethernet/chelsio/cxgb3/t3_cpl.h __u8 rspq:3; rspq 1445 drivers/net/ethernet/chelsio/cxgb3/t3_cpl.h __u8 rspq:3; rspq 2364 drivers/net/ethernet/chelsio/cxgb3/t3_hw.c unsigned int size, int rspq, int ovfl_mode, rspq 2377 drivers/net/ethernet/chelsio/cxgb3/t3_hw.c V_CQ_BASE_HI((u32) base_addr) | V_CQ_RSPQ(rspq) | rspq 2535 drivers/net/ethernet/chelsio/cxgb3/t3_hw.c const u8 * cpus, const u16 *rspq) rspq 2551 drivers/net/ethernet/chelsio/cxgb3/t3_hw.c if (rspq) rspq 2554 drivers/net/ethernet/chelsio/cxgb3/t3_hw.c (i << 16) | rspq[q_idx++]); rspq 2555 drivers/net/ethernet/chelsio/cxgb3/t3_hw.c if (rspq[q_idx] == 0xffff) rspq 3023 drivers/net/ethernet/chelsio/cxgb4/cudbg_lib.c QDESC_GET_RXQ(&s->ethrxq[i].rspq, CUDBG_QTYPE_NIC_RXQ, out); rspq 3072 drivers/net/ethernet/chelsio/cxgb4/cudbg_lib.c QDESC_GET_RXQ(&urxq->uldrxq[i].rspq, rspq 3097 drivers/net/ethernet/chelsio/cxgb4/cudbg_lib.c QDESC_GET_RXQ(&urxq->uldrxq[base + i].rspq, rspq 712 drivers/net/ethernet/chelsio/cxgb4/cxgb4.h struct sge_rspq rspq; rspq 725 drivers/net/ethernet/chelsio/cxgb4/cxgb4.h struct sge_rspq rspq; rspq 1688 drivers/net/ethernet/chelsio/cxgb4/cxgb4.h int start, int n, const u16 *rspq, unsigned int nrspq); rspq 2712 drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c rx[i].rspq.netdev ? rx[i].rspq.netdev->name : "N/A"); rspq 2727 drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c R("RspQ ID:", rspq.abs_id); rspq 2728 drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c R("RspQ size:", rspq.size); rspq 2729 drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c R("RspQE size:", rspq.iqe_len); rspq 2730 drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c R("RspQ CIDX:", rspq.cidx); rspq 2731 drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c R("RspQ Gen:", rspq.gen); rspq 2732 drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c S3("u", "Intr delay:", qtimer_val(adap, &rx[i].rspq)); rspq 2733 drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c S3("u", "Intr pktcnt:", s->counter_val[rx[i].rspq.pktcnt_idx]); rspq 2790 drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c rx[i].rspq.netdev ? rx[i].rspq.netdev->name : "N/A"); rspq 2791 drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c R("RspQ ID:", rspq.abs_id); rspq 2792 drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c R("RspQ size:", rspq.size); rspq 2793 drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c R("RspQE size:", rspq.iqe_len); rspq 2794 drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c R("RspQ CIDX:", rspq.cidx); rspq 2795 drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c R("RspQ Gen:", rspq.gen); rspq 2796 drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c S3("u", "Intr delay:", qtimer_val(adap, &rx[i].rspq)); rspq 2797 drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c S3("u", "Intr pktcnt:", s->counter_val[rx[i].rspq.pktcnt_idx]); rspq 2820 drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c rx[i].rspq.netdev ? rx[i].rspq.netdev->name : "N/A"); rspq 2821 drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c R("RspQ ID:", rspq.abs_id); rspq 2822 drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c R("RspQ size:", rspq.size); rspq 2823 drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c R("RspQE size:", rspq.iqe_len); rspq 2824 drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c R("RspQ CIDX:", rspq.cidx); rspq 2825 drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c R("RspQ Gen:", rspq.gen); rspq 2826 drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c S3("u", "Intr delay:", qtimer_val(adap, &rx[i].rspq)); rspq 2827 drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c S3("u", "Intr pktcnt:", s->counter_val[rx[i].rspq.pktcnt_idx]); rspq 2841 drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c R("RspQ ID:", rspq.abs_id); rspq 2842 drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c R("RspQ size:", rspq.size); rspq 2843 drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c R("RspQE size:", rspq.iqe_len); rspq 2844 drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c R("RspQ CIDX:", rspq.cidx); rspq 2845 drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c R("RspQ Gen:", rspq.gen); rspq 2846 drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c S3("u", "Intr delay:", qtimer_val(adap, &rx[i].rspq)); rspq 2847 drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c S3("u", "Intr pktcnt:", s->counter_val[rx[i].rspq.pktcnt_idx]); rspq 2867 drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c R("RspQ ID:", rspq.abs_id); rspq 2868 drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c R("RspQ size:", rspq.size); rspq 2869 drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c R("RspQE size:", rspq.iqe_len); rspq 2870 drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c R("RspQ CIDX:", rspq.cidx); rspq 2871 drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c R("RspQ Gen:", rspq.gen); rspq 2872 drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c S3("u", "Intr delay:", qtimer_val(adap, &rx[i].rspq)); rspq 2873 drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c S3("u", "Intr pktcnt:", s->counter_val[rx[i].rspq.pktcnt_idx]); rspq 2893 drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c R("RspQ ID:", rspq.abs_id); rspq 2894 drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c R("RspQ size:", rspq.size); rspq 2895 drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c R("RspQE size:", rspq.iqe_len); rspq 2896 drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c R("RspQ CIDX:", rspq.cidx); rspq 2897 drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c R("RspQ Gen:", rspq.gen); rspq 2898 drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c S3("u", "Intr delay:", qtimer_val(adap, &rx[i].rspq)); rspq 2899 drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c S3("u", "Intr pktcnt:", s->counter_val[rx[i].rspq.pktcnt_idx]); rspq 2927 drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c R("RspQ ID:", rspq.abs_id); rspq 2928 drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c R("RspQ size:", rspq.size); rspq 2929 drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c R("RspQE size:", rspq.iqe_len); rspq 2930 drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c R("RspQ CIDX:", rspq.cidx); rspq 2931 drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c R("RspQ Gen:", rspq.gen); rspq 2932 drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c S3("u", "Intr delay:", qtimer_val(adap, &rx[i].rspq)); rspq 2933 drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c S3("u", "Intr pktcnt:", s->counter_val[rx[i].rspq.pktcnt_idx]); rspq 834 drivers/net/ethernet/chelsio/cxgb4/cxgb4_ethtool.c e->rx_mini_pending = s->ethrxq[pi->first_qset].rspq.size; rspq 859 drivers/net/ethernet/chelsio/cxgb4/cxgb4_ethtool.c s->ethrxq[pi->first_qset + i].rspq.size = e->rx_mini_pending; rspq 881 drivers/net/ethernet/chelsio/cxgb4/cxgb4_ethtool.c err = cxgb4_set_rspq_intr_params(&q->rspq, us, cnt); rspq 896 drivers/net/ethernet/chelsio/cxgb4/cxgb4_ethtool.c q->rspq.adaptive_rx = adaptive_rx; rspq 907 drivers/net/ethernet/chelsio/cxgb4/cxgb4_ethtool.c return q->rspq.adaptive_rx; rspq 1100 drivers/net/ethernet/chelsio/cxgb4/cxgb4_ethtool.c const struct sge_rspq *rq = &adap->sge.ethrxq[pi->first_qset].rspq; rspq 345 drivers/net/ethernet/chelsio/cxgb4/cxgb4_filter.c fs->iq].rspq.abs_id; rspq 756 drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c &s->ethrxq[ethqidx].rspq); rspq 771 drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c free_irq(minfo->vec, &s->ethrxq[ethqidx].rspq); rspq 787 drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c free_irq(minfo->vec, &s->ethrxq[i].rspq); rspq 848 drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c rss[i] = rxq[*queues].rspq.abs_id; rspq 1005 drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c err = t4_sge_alloc_rxq(adap, &q->rspq, false, dev, rspq 1013 drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c q->rspq.idx = j; rspq 1021 drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c q->rspq.cntxt_id, rspq 1033 drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c cmplqid = rxq_info->uldrxq[i].rspq.cntxt_id; rspq 1053 drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c QUEUENUMBER_V(s->ethrxq[0].rspq.abs_id)); rspq 3049 drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c t4_sge_intr_msix(0, &rx->rspq); rspq 5185 drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c init_rspq(adap, &r->rspq, 5, 10, 1024, 64); rspq 187 drivers/net/ethernet/chelsio/cxgb4/cxgb4_ptp.c c.u.init.absid = cpu_to_be16(receive_q->rspq.abs_id); rspq 107 drivers/net/ethernet/chelsio/cxgb4/cxgb4_uld.c struct sge_ofld_rxq *rxq = container_of(q, struct sge_ofld_rxq, rspq); rspq 169 drivers/net/ethernet/chelsio/cxgb4/cxgb4_uld.c err = t4_sge_alloc_rxq(adap, &q->rspq, false, rspq 182 drivers/net/ethernet/chelsio/cxgb4/cxgb4_uld.c ids[i] = q->rspq.abs_id; rspq 188 drivers/net/ethernet/chelsio/cxgb4/cxgb4_uld.c if (q->rspq.desc) rspq 189 drivers/net/ethernet/chelsio/cxgb4/cxgb4_uld.c free_rspq_fl(adap, &q->rspq, rspq 220 drivers/net/ethernet/chelsio/cxgb4/cxgb4_uld.c cmplqid = rxq_info->uldrxq[i].rspq.cntxt_id; rspq 235 drivers/net/ethernet/chelsio/cxgb4/cxgb4_uld.c if (q->rspq.desc) rspq 236 drivers/net/ethernet/chelsio/cxgb4/cxgb4_uld.c free_rspq_fl(adap, &q->rspq, rspq 320 drivers/net/ethernet/chelsio/cxgb4/cxgb4_uld.c init_rspq(adap, &r->rspq, 5, 1, uld_info->rxq_size, 64); rspq 321 drivers/net/ethernet/chelsio/cxgb4/cxgb4_uld.c r->rspq.uld = uld_type; rspq 334 drivers/net/ethernet/chelsio/cxgb4/cxgb4_uld.c init_rspq(adap, &r->rspq, 5, 1, ciq_size, 64); rspq 335 drivers/net/ethernet/chelsio/cxgb4/cxgb4_uld.c r->rspq.uld = uld_type; rspq 368 drivers/net/ethernet/chelsio/cxgb4/cxgb4_uld.c &rxq_info->uldrxq[idx].rspq); rspq 383 drivers/net/ethernet/chelsio/cxgb4/cxgb4_uld.c free_irq(minfo->vec, &rxq_info->uldrxq[idx].rspq); rspq 401 drivers/net/ethernet/chelsio/cxgb4/cxgb4_uld.c free_irq(minfo->vec, &rxq_info->uldrxq[idx].rspq); rspq 445 drivers/net/ethernet/chelsio/cxgb4/cxgb4_uld.c enable_rx(adap, &rxq_info->uldrxq[idx].rspq); rspq 454 drivers/net/ethernet/chelsio/cxgb4/cxgb4_uld.c quiesce_rx(adap, &rxq_info->uldrxq[idx].rspq); rspq 2742 drivers/net/ethernet/chelsio/cxgb4/sge.c struct adapter *adapter = rxq->rspq.adap; rspq 2748 drivers/net/ethernet/chelsio/cxgb4/sge.c skb = napi_get_frags(&rxq->rspq.napi); rspq 2762 drivers/net/ethernet/chelsio/cxgb4/sge.c skb_record_rx_queue(skb, rxq->rspq.idx); rspq 2767 drivers/net/ethernet/chelsio/cxgb4/sge.c if (rxq->rspq.netdev->features & NETIF_F_RXHASH) rspq 2775 drivers/net/ethernet/chelsio/cxgb4/sge.c ret = napi_gro_frags(&rxq->rspq.napi); rspq 2885 drivers/net/ethernet/chelsio/cxgb4/sge.c static void t4_tx_completion_handler(struct sge_rspq *rspq, rspq 2890 drivers/net/ethernet/chelsio/cxgb4/sge.c struct port_info *pi = netdev_priv(rspq->netdev); rspq 2891 drivers/net/ethernet/chelsio/cxgb4/sge.c struct adapter *adapter = rspq->adap; rspq 2914 drivers/net/ethernet/chelsio/cxgb4/sge.c txq = &s->ethtxq[pi->first_qset + rspq->idx]; rspq 2932 drivers/net/ethernet/chelsio/cxgb4/sge.c struct sge_eth_rxq *rxq = container_of(q, struct sge_eth_rxq, rspq); rspq 3139 drivers/net/ethernet/chelsio/cxgb4/sge.c struct sge_eth_rxq *rxq = container_of(q, struct sge_eth_rxq, rspq); rspq 3402 drivers/net/ethernet/chelsio/cxgb4/sge.c if (napi_reschedule(&rxq->rspq.napi)) rspq 3997 drivers/net/ethernet/chelsio/cxgb4/sge.c if (q->rspq.desc) rspq 3998 drivers/net/ethernet/chelsio/cxgb4/sge.c free_rspq_fl(adap, &q->rspq, rspq 4017 drivers/net/ethernet/chelsio/cxgb4/sge.c if (eq->rspq.desc) rspq 4020 drivers/net/ethernet/chelsio/cxgb4/sge.c eq->rspq.cntxt_id, rspq 4028 drivers/net/ethernet/chelsio/cxgb4/sge.c if (eq->rspq.desc) rspq 4029 drivers/net/ethernet/chelsio/cxgb4/sge.c free_rspq_fl(adap, &eq->rspq, rspq 5158 drivers/net/ethernet/chelsio/cxgb4/t4_hw.c int start, int n, const u16 *rspq, unsigned int nrspq) rspq 5161 drivers/net/ethernet/chelsio/cxgb4/t4_hw.c const u16 *rsp = rspq; rspq 5162 drivers/net/ethernet/chelsio/cxgb4/t4_hw.c const u16 *rsp_end = rspq + nrspq; rspq 5187 drivers/net/ethernet/chelsio/cxgb4/t4_hw.c rsp = rspq; rspq 5190 drivers/net/ethernet/chelsio/cxgb4/t4_hw.c rsp = rspq; rspq 5193 drivers/net/ethernet/chelsio/cxgb4/t4_hw.c rsp = rspq; rspq 212 drivers/net/ethernet/chelsio/cxgb4vf/adapter.h struct sge_rspq rspq; /* Response Queue */ rspq 403 drivers/net/ethernet/chelsio/cxgb4vf/cxgb4vf_main.c &s->ethrxq[rxq].rspq); rspq 412 drivers/net/ethernet/chelsio/cxgb4vf/cxgb4vf_main.c free_irq(adapter->msix_info[--msi].vec, &s->ethrxq[rxq].rspq); rspq 429 drivers/net/ethernet/chelsio/cxgb4vf/cxgb4vf_main.c &s->ethrxq[rxq].rspq); rspq 435 drivers/net/ethernet/chelsio/cxgb4vf/cxgb4vf_main.c static void qenable(struct sge_rspq *rspq) rspq 437 drivers/net/ethernet/chelsio/cxgb4vf/cxgb4vf_main.c napi_enable(&rspq->napi); rspq 443 drivers/net/ethernet/chelsio/cxgb4vf/cxgb4vf_main.c t4_write_reg(rspq->adapter, T4VF_SGE_BASE_ADDR + SGE_VF_GTS, rspq 445 drivers/net/ethernet/chelsio/cxgb4vf/cxgb4vf_main.c SEINTARM_V(rspq->intr_params) | rspq 446 drivers/net/ethernet/chelsio/cxgb4vf/cxgb4vf_main.c INGRESSQID_V(rspq->cntxt_id)); rspq 458 drivers/net/ethernet/chelsio/cxgb4vf/cxgb4vf_main.c qenable(&s->ethrxq[rxq].rspq); rspq 482 drivers/net/ethernet/chelsio/cxgb4vf/cxgb4vf_main.c napi_disable(&s->ethrxq[rxq].rspq.napi); rspq 489 drivers/net/ethernet/chelsio/cxgb4vf/cxgb4vf_main.c static int fwevtq_handler(struct sge_rspq *rspq, const __be64 *rsp, rspq 495 drivers/net/ethernet/chelsio/cxgb4vf/cxgb4vf_main.c struct adapter *adapter = rspq->adapter; rspq 639 drivers/net/ethernet/chelsio/cxgb4vf/cxgb4vf_main.c err = t4vf_sge_alloc_rxq(adapter, &rxq->rspq, false, rspq 651 drivers/net/ethernet/chelsio/cxgb4vf/cxgb4vf_main.c rxq->rspq.idx = qs; rspq 660 drivers/net/ethernet/chelsio/cxgb4vf/cxgb4vf_main.c s->ingr_base = s->ethrxq[0].rspq.abs_id - s->ethrxq[0].rspq.cntxt_id; rspq 670 drivers/net/ethernet/chelsio/cxgb4vf/cxgb4vf_main.c IQ_MAP(s, rxq->rspq.abs_id) = &rxq->rspq; rspq 712 drivers/net/ethernet/chelsio/cxgb4vf/cxgb4vf_main.c rss[qs] = rxq[qs].rspq.abs_id; rspq 739 drivers/net/ethernet/chelsio/cxgb4vf/cxgb4vf_main.c rxq[0].rspq.abs_id; rspq 1057 drivers/net/ethernet/chelsio/cxgb4vf/cxgb4vf_main.c const struct sge_rspq *rspq) rspq 1059 drivers/net/ethernet/chelsio/cxgb4vf/cxgb4vf_main.c unsigned int timer_idx = QINTR_TIMER_IDX_G(rspq->intr_params); rspq 1077 drivers/net/ethernet/chelsio/cxgb4vf/cxgb4vf_main.c static int set_rxq_intr_params(struct adapter *adapter, struct sge_rspq *rspq, rspq 1100 drivers/net/ethernet/chelsio/cxgb4vf/cxgb4vf_main.c if (rspq->desc && rspq->pktcnt_idx != pktcnt_idx) { rspq 1104 drivers/net/ethernet/chelsio/cxgb4vf/cxgb4vf_main.c FW_PARAMS_PARAM_YZ_V(rspq->cntxt_id); rspq 1109 drivers/net/ethernet/chelsio/cxgb4vf/cxgb4vf_main.c rspq->pktcnt_idx = pktcnt_idx; rspq 1124 drivers/net/ethernet/chelsio/cxgb4vf/cxgb4vf_main.c rspq->intr_params = (QINTR_TIMER_IDX_V(timer_idx) | rspq 1243 drivers/net/ethernet/chelsio/cxgb4vf/cxgb4vf_main.c t4vf_sge_intr_msix(0, &rxq->rspq); rspq 1608 drivers/net/ethernet/chelsio/cxgb4vf/cxgb4vf_main.c rp->rx_mini_pending = s->ethrxq[pi->first_qset].rspq.size; rspq 1641 drivers/net/ethernet/chelsio/cxgb4vf/cxgb4vf_main.c s->ethrxq[qs].rspq.size = rp->rx_mini_pending; rspq 1657 drivers/net/ethernet/chelsio/cxgb4vf/cxgb4vf_main.c const struct sge_rspq *rspq = &adapter->sge.ethrxq[pi->first_qset].rspq; rspq 1659 drivers/net/ethernet/chelsio/cxgb4vf/cxgb4vf_main.c coalesce->rx_coalesce_usecs = qtimer_val(adapter, rspq); rspq 1661 drivers/net/ethernet/chelsio/cxgb4vf/cxgb4vf_main.c ((rspq->intr_params & QINTR_CNT_EN_F) rspq 1662 drivers/net/ethernet/chelsio/cxgb4vf/cxgb4vf_main.c ? adapter->sge.counter_val[rspq->pktcnt_idx] rspq 1679 drivers/net/ethernet/chelsio/cxgb4vf/cxgb4vf_main.c &adapter->sge.ethrxq[pi->first_qset].rspq, rspq 2080 drivers/net/ethernet/chelsio/cxgb4vf/cxgb4vf_main.c (rxq[qs].rspq.netdev rspq 2081 drivers/net/ethernet/chelsio/cxgb4vf/cxgb4vf_main.c ? rxq[qs].rspq.netdev->name rspq 2084 drivers/net/ethernet/chelsio/cxgb4vf/cxgb4vf_main.c (rxq[qs].rspq.netdev rspq 2086 drivers/net/ethernet/chelsio/cxgb4vf/cxgb4vf_main.c netdev_priv(rxq[qs].rspq.netdev))->port_id rspq 2093 drivers/net/ethernet/chelsio/cxgb4vf/cxgb4vf_main.c R("RspQ ID:", rspq.abs_id); rspq 2094 drivers/net/ethernet/chelsio/cxgb4vf/cxgb4vf_main.c R("RspQ size:", rspq.size); rspq 2095 drivers/net/ethernet/chelsio/cxgb4vf/cxgb4vf_main.c R("RspQE size:", rspq.iqe_len); rspq 2096 drivers/net/ethernet/chelsio/cxgb4vf/cxgb4vf_main.c S3("u", "Intr delay:", qtimer_val(adapter, &rxq[qs].rspq)); rspq 2098 drivers/net/ethernet/chelsio/cxgb4vf/cxgb4vf_main.c adapter->sge.counter_val[rxq[qs].rspq.pktcnt_idx]); rspq 2099 drivers/net/ethernet/chelsio/cxgb4vf/cxgb4vf_main.c R("RspQ CIdx:", rspq.cidx); rspq 2100 drivers/net/ethernet/chelsio/cxgb4vf/cxgb4vf_main.c R("RspQ Gen:", rspq.gen); rspq 2237 drivers/net/ethernet/chelsio/cxgb4vf/cxgb4vf_main.c (rxq[qs].rspq.netdev rspq 2238 drivers/net/ethernet/chelsio/cxgb4vf/cxgb4vf_main.c ? rxq[qs].rspq.netdev->name rspq 2240 drivers/net/ethernet/chelsio/cxgb4vf/cxgb4vf_main.c R3("u", "RspQNullInts:", rspq.unhandled_irqs); rspq 2711 drivers/net/ethernet/chelsio/cxgb4vf/cxgb4vf_main.c static inline void init_rspq(struct sge_rspq *rspq, u8 timer_idx, rspq 2715 drivers/net/ethernet/chelsio/cxgb4vf/cxgb4vf_main.c rspq->intr_params = (QINTR_TIMER_IDX_V(timer_idx) | rspq 2718 drivers/net/ethernet/chelsio/cxgb4vf/cxgb4vf_main.c rspq->pktcnt_idx = (pkt_cnt_idx < SGE_NCOUNTERS rspq 2721 drivers/net/ethernet/chelsio/cxgb4vf/cxgb4vf_main.c rspq->iqe_len = iqe_size; rspq 2722 drivers/net/ethernet/chelsio/cxgb4vf/cxgb4vf_main.c rspq->size = size; rspq 2795 drivers/net/ethernet/chelsio/cxgb4vf/cxgb4vf_main.c init_rspq(&rxq->rspq, 0, 0, 1024, iqe_size); rspq 1570 drivers/net/ethernet/chelsio/cxgb4vf/sge.c struct adapter *adapter = rxq->rspq.adapter; rspq 1576 drivers/net/ethernet/chelsio/cxgb4vf/sge.c skb = napi_get_frags(&rxq->rspq.napi); rspq 1588 drivers/net/ethernet/chelsio/cxgb4vf/sge.c skb_record_rx_queue(skb, rxq->rspq.idx); rspq 1596 drivers/net/ethernet/chelsio/cxgb4vf/sge.c ret = napi_gro_frags(&rxq->rspq.napi); rspq 1614 drivers/net/ethernet/chelsio/cxgb4vf/sge.c int t4vf_ethrx_handler(struct sge_rspq *rspq, const __be64 *rsp, rspq 1620 drivers/net/ethernet/chelsio/cxgb4vf/sge.c (rspq->netdev->features & NETIF_F_RXCSUM); rspq 1621 drivers/net/ethernet/chelsio/cxgb4vf/sge.c struct sge_eth_rxq *rxq = container_of(rspq, struct sge_eth_rxq, rspq); rspq 1622 drivers/net/ethernet/chelsio/cxgb4vf/sge.c struct adapter *adapter = rspq->adapter; rspq 1631 drivers/net/ethernet/chelsio/cxgb4vf/sge.c (rspq->netdev->features & NETIF_F_GRO) && csum_ok && rspq 1647 drivers/net/ethernet/chelsio/cxgb4vf/sge.c skb->protocol = eth_type_trans(skb, rspq->netdev); rspq 1648 drivers/net/ethernet/chelsio/cxgb4vf/sge.c skb_record_rx_queue(skb, rspq->idx); rspq 1686 drivers/net/ethernet/chelsio/cxgb4vf/sge.c const struct sge_rspq *rspq) rspq 1688 drivers/net/ethernet/chelsio/cxgb4vf/sge.c return ((rc->type_gen >> RSPD_GEN_S) & 0x1) == rspq->gen; rspq 1734 drivers/net/ethernet/chelsio/cxgb4vf/sge.c static inline void rspq_next(struct sge_rspq *rspq) rspq 1736 drivers/net/ethernet/chelsio/cxgb4vf/sge.c rspq->cur_desc = (void *)rspq->cur_desc + rspq->iqe_len; rspq 1737 drivers/net/ethernet/chelsio/cxgb4vf/sge.c if (unlikely(++rspq->cidx == rspq->size)) { rspq 1738 drivers/net/ethernet/chelsio/cxgb4vf/sge.c rspq->cidx = 0; rspq 1739 drivers/net/ethernet/chelsio/cxgb4vf/sge.c rspq->gen ^= 1; rspq 1740 drivers/net/ethernet/chelsio/cxgb4vf/sge.c rspq->cur_desc = rspq->desc; rspq 1757 drivers/net/ethernet/chelsio/cxgb4vf/sge.c static int process_responses(struct sge_rspq *rspq, int budget) rspq 1759 drivers/net/ethernet/chelsio/cxgb4vf/sge.c struct sge_eth_rxq *rxq = container_of(rspq, struct sge_eth_rxq, rspq); rspq 1760 drivers/net/ethernet/chelsio/cxgb4vf/sge.c struct adapter *adapter = rspq->adapter; rspq 1768 drivers/net/ethernet/chelsio/cxgb4vf/sge.c rc = (void *)rspq->cur_desc + (rspq->iqe_len - sizeof(*rc)); rspq 1769 drivers/net/ethernet/chelsio/cxgb4vf/sge.c if (!is_new_response(rc, rspq)) rspq 1795 drivers/net/ethernet/chelsio/cxgb4vf/sge.c if (likely(rspq->offset > 0)) { rspq 1796 drivers/net/ethernet/chelsio/cxgb4vf/sge.c free_rx_bufs(rspq->adapter, &rxq->fl, rspq 1798 drivers/net/ethernet/chelsio/cxgb4vf/sge.c rspq->offset = 0; rspq 1813 drivers/net/ethernet/chelsio/cxgb4vf/sge.c fp->offset = rspq->offset; rspq 1818 drivers/net/ethernet/chelsio/cxgb4vf/sge.c unmap_rx_buf(rspq->adapter, &rxq->fl); rspq 1827 drivers/net/ethernet/chelsio/cxgb4vf/sge.c dma_sync_single_for_cpu(rspq->adapter->pdev_dev, rspq 1838 drivers/net/ethernet/chelsio/cxgb4vf/sge.c ret = rspq->handler(rspq, rspq->cur_desc, &gl); rspq 1840 drivers/net/ethernet/chelsio/cxgb4vf/sge.c rspq->offset += ALIGN(fp->size, s->fl_align); rspq 1844 drivers/net/ethernet/chelsio/cxgb4vf/sge.c ret = rspq->handler(rspq, rspq->cur_desc, NULL); rspq 1857 drivers/net/ethernet/chelsio/cxgb4vf/sge.c rspq->next_intr_params = rspq 1862 drivers/net/ethernet/chelsio/cxgb4vf/sge.c rspq_next(rspq); rspq 1871 drivers/net/ethernet/chelsio/cxgb4vf/sge.c if (rspq->offset >= 0 && rspq 1873 drivers/net/ethernet/chelsio/cxgb4vf/sge.c __refill_fl(rspq->adapter, &rxq->fl); rspq 1891 drivers/net/ethernet/chelsio/cxgb4vf/sge.c struct sge_rspq *rspq = container_of(napi, struct sge_rspq, napi); rspq 1892 drivers/net/ethernet/chelsio/cxgb4vf/sge.c int work_done = process_responses(rspq, budget); rspq 1897 drivers/net/ethernet/chelsio/cxgb4vf/sge.c intr_params = rspq->next_intr_params; rspq 1898 drivers/net/ethernet/chelsio/cxgb4vf/sge.c rspq->next_intr_params = rspq->intr_params; rspq 1903 drivers/net/ethernet/chelsio/cxgb4vf/sge.c rspq->unhandled_irqs++; rspq 1909 drivers/net/ethernet/chelsio/cxgb4vf/sge.c if (unlikely(!rspq->bar2_addr)) { rspq 1910 drivers/net/ethernet/chelsio/cxgb4vf/sge.c t4_write_reg(rspq->adapter, rspq 1912 drivers/net/ethernet/chelsio/cxgb4vf/sge.c val | INGRESSQID_V((u32)rspq->cntxt_id)); rspq 1914 drivers/net/ethernet/chelsio/cxgb4vf/sge.c writel(val | INGRESSQID_V(rspq->bar2_qid), rspq 1915 drivers/net/ethernet/chelsio/cxgb4vf/sge.c rspq->bar2_addr + SGE_UDB_GTS); rspq 1927 drivers/net/ethernet/chelsio/cxgb4vf/sge.c struct sge_rspq *rspq = cookie; rspq 1929 drivers/net/ethernet/chelsio/cxgb4vf/sge.c napi_schedule(&rspq->napi); rspq 1948 drivers/net/ethernet/chelsio/cxgb4vf/sge.c struct sge_rspq *rspq; rspq 1986 drivers/net/ethernet/chelsio/cxgb4vf/sge.c rspq = s->ingr_map[iq_idx]; rspq 1987 drivers/net/ethernet/chelsio/cxgb4vf/sge.c if (unlikely(rspq == NULL)) { rspq 1992 drivers/net/ethernet/chelsio/cxgb4vf/sge.c if (unlikely(rspq->abs_id != qid)) { rspq 1995 drivers/net/ethernet/chelsio/cxgb4vf/sge.c qid, rspq->abs_id); rspq 2004 drivers/net/ethernet/chelsio/cxgb4vf/sge.c napi_schedule(&rspq->napi); rspq 2100 drivers/net/ethernet/chelsio/cxgb4vf/sge.c if (napi_reschedule(&rxq->rspq.napi)) rspq 2204 drivers/net/ethernet/chelsio/cxgb4vf/sge.c int t4vf_sge_alloc_rxq(struct adapter *adapter, struct sge_rspq *rspq, rspq 2223 drivers/net/ethernet/chelsio/cxgb4vf/sge.c rspq != &adapter->sge.intrq) { rspq 2235 drivers/net/ethernet/chelsio/cxgb4vf/sge.c rspq->size = roundup(rspq->size, 16); rspq 2236 drivers/net/ethernet/chelsio/cxgb4vf/sge.c rspq->desc = alloc_ring(adapter->pdev_dev, rspq->size, rspq->iqe_len, rspq 2237 drivers/net/ethernet/chelsio/cxgb4vf/sge.c 0, &rspq->phys_addr, NULL, 0); rspq 2238 drivers/net/ethernet/chelsio/cxgb4vf/sge.c if (!rspq->desc) rspq 2267 drivers/net/ethernet/chelsio/cxgb4vf/sge.c FW_IQ_CMD_IQINTCNTTHRESH_V(rspq->pktcnt_idx) | rspq 2268 drivers/net/ethernet/chelsio/cxgb4vf/sge.c FW_IQ_CMD_IQESIZE_V(ilog2(rspq->iqe_len) - 4)); rspq 2269 drivers/net/ethernet/chelsio/cxgb4vf/sge.c cmd.iqsize = cpu_to_be16(rspq->size); rspq 2270 drivers/net/ethernet/chelsio/cxgb4vf/sge.c cmd.iqaddr = cpu_to_be64(rspq->phys_addr); rspq 2342 drivers/net/ethernet/chelsio/cxgb4vf/sge.c netif_napi_add(dev, &rspq->napi, napi_rx_handler, 64); rspq 2343 drivers/net/ethernet/chelsio/cxgb4vf/sge.c rspq->cur_desc = rspq->desc; rspq 2344 drivers/net/ethernet/chelsio/cxgb4vf/sge.c rspq->cidx = 0; rspq 2345 drivers/net/ethernet/chelsio/cxgb4vf/sge.c rspq->gen = 1; rspq 2346 drivers/net/ethernet/chelsio/cxgb4vf/sge.c rspq->next_intr_params = rspq->intr_params; rspq 2347 drivers/net/ethernet/chelsio/cxgb4vf/sge.c rspq->cntxt_id = be16_to_cpu(rpl.iqid); rspq 2348 drivers/net/ethernet/chelsio/cxgb4vf/sge.c rspq->bar2_addr = bar2_address(adapter, rspq 2349 drivers/net/ethernet/chelsio/cxgb4vf/sge.c rspq->cntxt_id, rspq 2351 drivers/net/ethernet/chelsio/cxgb4vf/sge.c &rspq->bar2_qid); rspq 2352 drivers/net/ethernet/chelsio/cxgb4vf/sge.c rspq->abs_id = be16_to_cpu(rpl.physiqid); rspq 2353 drivers/net/ethernet/chelsio/cxgb4vf/sge.c rspq->size--; /* subtract status entry */ rspq 2354 drivers/net/ethernet/chelsio/cxgb4vf/sge.c rspq->adapter = adapter; rspq 2355 drivers/net/ethernet/chelsio/cxgb4vf/sge.c rspq->netdev = dev; rspq 2356 drivers/net/ethernet/chelsio/cxgb4vf/sge.c rspq->handler = hnd; rspq 2359 drivers/net/ethernet/chelsio/cxgb4vf/sge.c rspq->offset = fl ? 0 : -1; rspq 2389 drivers/net/ethernet/chelsio/cxgb4vf/sge.c if (rspq->desc) { rspq 2390 drivers/net/ethernet/chelsio/cxgb4vf/sge.c dma_free_coherent(adapter->pdev_dev, rspq->size * rspq->iqe_len, rspq 2391 drivers/net/ethernet/chelsio/cxgb4vf/sge.c rspq->desc, rspq->phys_addr); rspq 2392 drivers/net/ethernet/chelsio/cxgb4vf/sge.c rspq->desc = NULL; rspq 2529 drivers/net/ethernet/chelsio/cxgb4vf/sge.c static void free_rspq_fl(struct adapter *adapter, struct sge_rspq *rspq, rspq 2536 drivers/net/ethernet/chelsio/cxgb4vf/sge.c rspq->cntxt_id, flid, 0xffff); rspq 2537 drivers/net/ethernet/chelsio/cxgb4vf/sge.c dma_free_coherent(adapter->pdev_dev, (rspq->size + 1) * rspq->iqe_len, rspq 2538 drivers/net/ethernet/chelsio/cxgb4vf/sge.c rspq->desc, rspq->phys_addr); rspq 2539 drivers/net/ethernet/chelsio/cxgb4vf/sge.c netif_napi_del(&rspq->napi); rspq 2540 drivers/net/ethernet/chelsio/cxgb4vf/sge.c rspq->netdev = NULL; rspq 2541 drivers/net/ethernet/chelsio/cxgb4vf/sge.c rspq->cntxt_id = 0; rspq 2542 drivers/net/ethernet/chelsio/cxgb4vf/sge.c rspq->abs_id = 0; rspq 2543 drivers/net/ethernet/chelsio/cxgb4vf/sge.c rspq->desc = NULL; rspq 2573 drivers/net/ethernet/chelsio/cxgb4vf/sge.c if (rxq->rspq.desc) rspq 2574 drivers/net/ethernet/chelsio/cxgb4vf/sge.c free_rspq_fl(adapter, &rxq->rspq, &rxq->fl); rspq 1249 drivers/net/ethernet/chelsio/cxgb4vf/t4vf_hw.c int start, int n, const u16 *rspq, int nrspq) rspq 1251 drivers/net/ethernet/chelsio/cxgb4vf/t4vf_hw.c const u16 *rsp = rspq; rspq 1252 drivers/net/ethernet/chelsio/cxgb4vf/t4vf_hw.c const u16 *rsp_end = rspq+nrspq; rspq 1311 drivers/net/ethernet/chelsio/cxgb4vf/t4vf_hw.c rsp = rspq; rspq 179 drivers/scsi/bfa/bfa.h void (*hw_rspq_ack)(struct bfa_s *bfa, int rspq, u32 ci); rspq 313 drivers/scsi/bfa/bfa.h void bfa_hwcb_rspq_ack(struct bfa_s *bfa, int rspq, u32 ci); rspq 325 drivers/scsi/bfa/bfa.h void bfa_hwct_reqq_ack(struct bfa_s *bfa, int rspq); rspq 326 drivers/scsi/bfa/bfa.h void bfa_hwct_rspq_ack(struct bfa_s *bfa, int rspq, u32 ci); rspq 327 drivers/scsi/bfa/bfa.h void bfa_hwct2_rspq_ack(struct bfa_s *bfa, int rspq, u32 ci); rspq 46 drivers/scsi/bfa/bfa_hw_cb.c bfa_hwcb_rspq_ack_msix(struct bfa_s *bfa, int rspq, u32 ci) rspq 48 drivers/scsi/bfa/bfa_hw_cb.c writel(__HFN_INT_RME_Q0 << RME_Q_NUM(bfa_ioc_pcifn(&bfa->ioc), rspq), rspq 51 drivers/scsi/bfa/bfa_hw_cb.c if (bfa_rspq_ci(bfa, rspq) == ci) rspq 54 drivers/scsi/bfa/bfa_hw_cb.c bfa_rspq_ci(bfa, rspq) = ci; rspq 55 drivers/scsi/bfa/bfa_hw_cb.c writel(ci, bfa->iocfc.bfa_regs.rme_q_ci[rspq]); rspq 59 drivers/scsi/bfa/bfa_hw_cb.c bfa_hwcb_rspq_ack(struct bfa_s *bfa, int rspq, u32 ci) rspq 61 drivers/scsi/bfa/bfa_hw_cb.c if (bfa_rspq_ci(bfa, rspq) == ci) rspq 64 drivers/scsi/bfa/bfa_hw_cb.c bfa_rspq_ci(bfa, rspq) = ci; rspq 65 drivers/scsi/bfa/bfa_hw_cb.c writel(ci, bfa->iocfc.bfa_regs.rme_q_ci[rspq]); rspq 67 drivers/scsi/bfa/bfa_hw_ct.c bfa_hwct_rspq_ack(struct bfa_s *bfa, int rspq, u32 ci) rspq 71 drivers/scsi/bfa/bfa_hw_ct.c r32 = readl(bfa->iocfc.bfa_regs.rme_q_ctrl[rspq]); rspq 72 drivers/scsi/bfa/bfa_hw_ct.c writel(r32, bfa->iocfc.bfa_regs.rme_q_ctrl[rspq]); rspq 74 drivers/scsi/bfa/bfa_hw_ct.c bfa_rspq_ci(bfa, rspq) = ci; rspq 75 drivers/scsi/bfa/bfa_hw_ct.c writel(ci, bfa->iocfc.bfa_regs.rme_q_ci[rspq]); rspq 84 drivers/scsi/bfa/bfa_hw_ct.c bfa_hwct2_rspq_ack(struct bfa_s *bfa, int rspq, u32 ci) rspq 86 drivers/scsi/bfa/bfa_hw_ct.c bfa_rspq_ci(bfa, rspq) = ci; rspq 87 drivers/scsi/bfa/bfa_hw_ct.c writel(ci, bfa->iocfc.bfa_regs.rme_q_ci[rspq]); rspq 593 drivers/scsi/bfa/bfi.h struct bfi_msgq_s rspq;