p_queue 169 drivers/net/ethernet/qlogic/qed/qed_iscsi.c struct scsi_init_func_queues *p_queue = NULL; p_queue 195 drivers/net/ethernet/qlogic/qed/qed_iscsi.c p_queue = &p_init->q_params; p_queue 224 drivers/net/ethernet/qlogic/qed/qed_iscsi.c DMA_REGPAIR_LE(p_queue->glbl_q_params_addr, p_queue 228 drivers/net/ethernet/qlogic/qed/qed_iscsi.c p_queue->cq_num_entries = cpu_to_le16(val); p_queue 230 drivers/net/ethernet/qlogic/qed/qed_iscsi.c p_queue->cmdq_num_entries = cpu_to_le16(val); p_queue 231 drivers/net/ethernet/qlogic/qed/qed_iscsi.c p_queue->num_queues = p_params->num_queues; p_queue 233 drivers/net/ethernet/qlogic/qed/qed_iscsi.c p_queue->queue_relative_offset = (u8)dval; p_queue 234 drivers/net/ethernet/qlogic/qed/qed_iscsi.c p_queue->cq_sb_pi = p_params->gl_rq_pi; p_queue 235 drivers/net/ethernet/qlogic/qed/qed_iscsi.c p_queue->cmdq_sb_pi = p_params->gl_cmd_pi; p_queue 239 drivers/net/ethernet/qlogic/qed/qed_iscsi.c p_queue->cq_cmdq_sb_num_arr[i] = cpu_to_le16(val); p_queue 242 drivers/net/ethernet/qlogic/qed/qed_iscsi.c p_queue->bdq_resource_id = (u8)RESC_START(p_hwfn, QED_BDQ); p_queue 244 drivers/net/ethernet/qlogic/qed/qed_iscsi.c DMA_REGPAIR_LE(p_queue->bdq_pbl_base_address[BDQ_ID_RQ], p_queue 246 drivers/net/ethernet/qlogic/qed/qed_iscsi.c p_queue->bdq_pbl_num_entries[BDQ_ID_RQ] = p_queue 249 drivers/net/ethernet/qlogic/qed/qed_iscsi.c p_queue->bdq_xoff_threshold[BDQ_ID_RQ] = cpu_to_le16(val); p_queue 251 drivers/net/ethernet/qlogic/qed/qed_iscsi.c p_queue->bdq_xon_threshold[BDQ_ID_RQ] = cpu_to_le16(val); p_queue 253 drivers/net/ethernet/qlogic/qed/qed_iscsi.c DMA_REGPAIR_LE(p_queue->bdq_pbl_base_address[BDQ_ID_IMM_DATA], p_queue 255 drivers/net/ethernet/qlogic/qed/qed_iscsi.c p_queue->bdq_pbl_num_entries[BDQ_ID_IMM_DATA] = p_queue 258 drivers/net/ethernet/qlogic/qed/qed_iscsi.c p_queue->bdq_xoff_threshold[BDQ_ID_IMM_DATA] = cpu_to_le16(val); p_queue 260 drivers/net/ethernet/qlogic/qed/qed_iscsi.c p_queue->bdq_xon_threshold[BDQ_ID_IMM_DATA] = cpu_to_le16(val); p_queue 262 drivers/net/ethernet/qlogic/qed/qed_iscsi.c p_queue->rq_buffer_size = cpu_to_le16(val); p_queue 264 drivers/net/ethernet/qlogic/qed/qed_iscsi.c SET_FIELD(p_queue->q_validity, p_queue 266 drivers/net/ethernet/qlogic/qed/qed_iscsi.c if (p_queue->bdq_pbl_num_entries[BDQ_ID_IMM_DATA]) p_queue 267 drivers/net/ethernet/qlogic/qed/qed_iscsi.c SET_FIELD(p_queue->q_validity, p_queue 269 drivers/net/ethernet/qlogic/qed/qed_iscsi.c SET_FIELD(p_queue->q_validity, p_queue 272 drivers/net/ethernet/qlogic/qed/qed_iscsi.c SET_FIELD(p_queue->q_validity, p_queue 515 drivers/net/ethernet/qlogic/qed/qed_l2.c struct qed_queue_cid *p_queue = p_rss->rss_ind_table[i]; p_queue 517 drivers/net/ethernet/qlogic/qed/qed_l2.c if (!p_queue) p_queue 521 drivers/net/ethernet/qlogic/qed/qed_l2.c cpu_to_le16(p_queue->abs.queue_id); p_queue 203 drivers/net/ethernet/qlogic/qed/qed_sriov.c qed_iov_get_vf_rx_queue_cid(struct qed_vf_queue *p_queue) p_queue 208 drivers/net/ethernet/qlogic/qed/qed_sriov.c if (p_queue->cids[i].p_cid && !p_queue->cids[i].b_is_tx) p_queue 209 drivers/net/ethernet/qlogic/qed/qed_sriov.c return p_queue->cids[i].p_cid; p_queue 1074 drivers/net/ethernet/qlogic/qed/qed_sriov.c struct qed_vf_queue *p_queue = &vf->vf_queues[i]; p_queue 1076 drivers/net/ethernet/qlogic/qed/qed_sriov.c p_queue->fw_rx_qid = p_params->req_rx_queue[i]; p_queue 1077 drivers/net/ethernet/qlogic/qed/qed_sriov.c p_queue->fw_tx_qid = p_params->req_tx_queue[i]; p_queue 1082 drivers/net/ethernet/qlogic/qed/qed_sriov.c p_queue->fw_rx_qid, p_queue->fw_tx_qid); p_queue 1382 drivers/net/ethernet/qlogic/qed/qed_sriov.c struct qed_vf_queue *p_queue = &p_vf->vf_queues[i]; p_queue 1385 drivers/net/ethernet/qlogic/qed/qed_sriov.c if (!p_queue->cids[j].p_cid) p_queue 1389 drivers/net/ethernet/qlogic/qed/qed_sriov.c p_queue->cids[j].p_cid); p_queue 1390 drivers/net/ethernet/qlogic/qed/qed_sriov.c p_queue->cids[j].p_cid = NULL; p_queue 1871 drivers/net/ethernet/qlogic/qed/qed_sriov.c struct qed_vf_queue *p_queue = &p_vf->vf_queues[i]; p_queue 1875 drivers/net/ethernet/qlogic/qed/qed_sriov.c p_cid = qed_iov_get_vf_rx_queue_cid(p_queue); p_queue 2114 drivers/net/ethernet/qlogic/qed/qed_sriov.c struct qed_vf_queue *p_queue; p_queue 2130 drivers/net/ethernet/qlogic/qed/qed_sriov.c p_queue = &vf->vf_queues[req->rx_qid]; p_queue 2131 drivers/net/ethernet/qlogic/qed/qed_sriov.c if (p_queue->cids[qid_usage_idx].p_cid) p_queue 2138 drivers/net/ethernet/qlogic/qed/qed_sriov.c params.queue_id = p_queue->fw_rx_qid; p_queue 2174 drivers/net/ethernet/qlogic/qed/qed_sriov.c p_queue->cids[qid_usage_idx].p_cid = p_cid; p_queue 2175 drivers/net/ethernet/qlogic/qed/qed_sriov.c p_queue->cids[qid_usage_idx].b_is_tx = false; p_queue 2446 drivers/net/ethernet/qlogic/qed/qed_sriov.c struct qed_vf_queue *p_queue; p_queue 2466 drivers/net/ethernet/qlogic/qed/qed_sriov.c p_queue = &vf->vf_queues[req->tx_qid]; p_queue 2467 drivers/net/ethernet/qlogic/qed/qed_sriov.c if (p_queue->cids[qid_usage_idx].p_cid) p_queue 2473 drivers/net/ethernet/qlogic/qed/qed_sriov.c params.queue_id = p_queue->fw_tx_qid; p_queue 2502 drivers/net/ethernet/qlogic/qed/qed_sriov.c p_queue->cids[qid_usage_idx].p_cid = p_cid; p_queue 2503 drivers/net/ethernet/qlogic/qed/qed_sriov.c p_queue->cids[qid_usage_idx].b_is_tx = true; p_queue 2516 drivers/net/ethernet/qlogic/qed/qed_sriov.c struct qed_vf_queue *p_queue; p_queue 2527 drivers/net/ethernet/qlogic/qed/qed_sriov.c p_queue = &vf->vf_queues[rxq_id]; p_queue 2532 drivers/net/ethernet/qlogic/qed/qed_sriov.c if (!p_queue->cids[qid_usage_idx].p_cid || p_queue 2533 drivers/net/ethernet/qlogic/qed/qed_sriov.c p_queue->cids[qid_usage_idx].b_is_tx) { p_queue 2536 drivers/net/ethernet/qlogic/qed/qed_sriov.c p_cid = qed_iov_get_vf_rx_queue_cid(p_queue); p_queue 2547 drivers/net/ethernet/qlogic/qed/qed_sriov.c p_queue->cids[qid_usage_idx].p_cid, p_queue 2552 drivers/net/ethernet/qlogic/qed/qed_sriov.c p_queue->cids[qid_usage_idx].p_cid = NULL; p_queue 2562 drivers/net/ethernet/qlogic/qed/qed_sriov.c struct qed_vf_queue *p_queue; p_queue 2568 drivers/net/ethernet/qlogic/qed/qed_sriov.c p_queue = &vf->vf_queues[txq_id]; p_queue 2569 drivers/net/ethernet/qlogic/qed/qed_sriov.c if (!p_queue->cids[qid_usage_idx].p_cid || p_queue 2570 drivers/net/ethernet/qlogic/qed/qed_sriov.c !p_queue->cids[qid_usage_idx].b_is_tx) p_queue 2573 drivers/net/ethernet/qlogic/qed/qed_sriov.c rc = qed_eth_tx_queue_stop(p_hwfn, p_queue->cids[qid_usage_idx].p_cid); p_queue 2577 drivers/net/ethernet/qlogic/qed/qed_sriov.c p_queue->cids[qid_usage_idx].p_cid = NULL; p_queue 3432 drivers/net/ethernet/qlogic/qed/qed_sriov.c struct qed_vf_queue *p_queue; p_queue 3466 drivers/net/ethernet/qlogic/qed/qed_sriov.c p_queue = &p_vf->vf_queues[qid]; p_queue 3467 drivers/net/ethernet/qlogic/qed/qed_sriov.c if ((!p_queue->cids[i].p_cid) || p_queue 3468 drivers/net/ethernet/qlogic/qed/qed_sriov.c (!p_queue->cids[i].b_is_tx)) p_queue 3471 drivers/net/ethernet/qlogic/qed/qed_sriov.c p_cid = p_queue->cids[i].p_cid; p_queue 3547 drivers/net/ethernet/qlogic/qed/qed_sriov.c struct qed_vf_queue *p_queue = &vf->vf_queues[qid]; p_queue 3550 drivers/net/ethernet/qlogic/qed/qed_sriov.c if (!p_queue->cids[i].p_cid) p_queue 3553 drivers/net/ethernet/qlogic/qed/qed_sriov.c if (!p_queue->cids[i].b_is_tx) p_queue 3557 drivers/net/ethernet/qlogic/qed/qed_sriov.c p_queue->cids[i].p_cid); p_queue 1195 drivers/net/ethernet/qlogic/qed/qed_vf.c struct qed_queue_cid *p_queue; p_queue 1197 drivers/net/ethernet/qlogic/qed/qed_vf.c p_queue = rss_params->rss_ind_table[i]; p_queue 1198 drivers/net/ethernet/qlogic/qed/qed_vf.c p_rss_tlv->rss_ind_table[i] = p_queue->rel.queue_id;