Home
last modified time | relevance | path

Searched refs:p_ramrod (Results 1 – 11 of 11) sorted by relevance

/linux-5.19.10/drivers/net/ethernet/qlogic/qed/
Dqed_roce.c225 struct roce_create_qp_resp_ramrod_data *p_ramrod; in qed_roce_sp_create_responder() local
289 p_ramrod = &p_ent->ramrod.roce_create_qp_resp; in qed_roce_sp_create_responder()
290 p_ramrod->flags = cpu_to_le32(flags); in qed_roce_sp_create_responder()
291 p_ramrod->max_ird = qp->max_rd_atomic_resp; in qed_roce_sp_create_responder()
292 p_ramrod->traffic_class = qp->traffic_class_tos; in qed_roce_sp_create_responder()
293 p_ramrod->hop_limit = qp->hop_limit_ttl; in qed_roce_sp_create_responder()
294 p_ramrod->irq_num_pages = qp->irq_num_pages; in qed_roce_sp_create_responder()
295 p_ramrod->p_key = cpu_to_le16(qp->pkey); in qed_roce_sp_create_responder()
296 p_ramrod->flow_label = cpu_to_le32(qp->flow_label); in qed_roce_sp_create_responder()
297 p_ramrod->dst_qp_id = cpu_to_le32(qp->dest_qp); in qed_roce_sp_create_responder()
[all …]
Dqed_l2.c344 struct vport_start_ramrod_data *p_ramrod = NULL; in qed_sp_eth_vport_start() local
367 p_ramrod = &p_ent->ramrod.vport_start; in qed_sp_eth_vport_start()
368 p_ramrod->vport_id = abs_vport_id; in qed_sp_eth_vport_start()
370 p_ramrod->mtu = cpu_to_le16(p_params->mtu); in qed_sp_eth_vport_start()
371 p_ramrod->handle_ptp_pkts = p_params->handle_ptp_pkts; in qed_sp_eth_vport_start()
372 p_ramrod->inner_vlan_removal_en = p_params->remove_inner_vlan; in qed_sp_eth_vport_start()
373 p_ramrod->drop_ttl0_en = p_params->drop_ttl0; in qed_sp_eth_vport_start()
374 p_ramrod->untagged = p_params->only_untagged; in qed_sp_eth_vport_start()
379 p_ramrod->rx_mode.state = cpu_to_le16(rx_mode); in qed_sp_eth_vport_start()
382 tpa_param = &p_ramrod->tpa_param; in qed_sp_eth_vport_start()
[all …]
Dqed_sp_commands.c306 struct pf_start_ramrod_data *p_ramrod = NULL; in qed_sp_pf_start() local
329 p_ramrod = &p_ent->ramrod.pf_start; in qed_sp_pf_start()
331 p_ramrod->event_ring_sb_id = cpu_to_le16(sb); in qed_sp_pf_start()
332 p_ramrod->event_ring_sb_index = sb_index; in qed_sp_pf_start()
333 p_ramrod->path_id = QED_PATH_ID(p_hwfn); in qed_sp_pf_start()
334 p_ramrod->dont_log_ramrods = 0; in qed_sp_pf_start()
335 p_ramrod->log_type_mask = cpu_to_le16(0xf); in qed_sp_pf_start()
338 p_ramrod->mf_mode = MF_OVLAN; in qed_sp_pf_start()
340 p_ramrod->mf_mode = MF_NPAR; in qed_sp_pf_start()
342 outer_tag_config = &p_ramrod->outer_tag_config; in qed_sp_pf_start()
[all …]
Dqed_nvmetcp.c54 struct nvmetcp_init_ramrod_params *p_ramrod = NULL; in qed_sp_nvmetcp_func_start() local
75 p_ramrod = &p_ent->ramrod.nvmetcp_init; in qed_sp_nvmetcp_func_start()
76 p_init = &p_ramrod->nvmetcp_init_spe; in qed_sp_nvmetcp_func_start()
105 p_ramrod->tcp_init.two_msl_timer = cpu_to_le32(QED_TCP_TWO_MSL_TIMER); in qed_sp_nvmetcp_func_start()
106 p_ramrod->tcp_init.tx_sws_timer = cpu_to_le16(QED_TCP_SWS_TIMER); in qed_sp_nvmetcp_func_start()
108 p_ramrod->tcp_init.max_fin_rt = QED_TCP_MAX_FIN_RT; in qed_sp_nvmetcp_func_start()
109 SET_FIELD(p_ramrod->nvmetcp_init_spe.params, in qed_sp_nvmetcp_func_start()
271 struct nvmetcp_spe_conn_offload *p_ramrod = NULL; in qed_sp_nvmetcp_conn_offload() local
293 p_ramrod = &p_ent->ramrod.nvmetcp_conn_offload; in qed_sp_nvmetcp_conn_offload()
298 p_ramrod->nvmetcp.physical_q0 = cpu_to_le16(physical_q); in qed_sp_nvmetcp_conn_offload()
[all …]
Dqed_rdma.c555 struct rdma_init_func_ramrod_data *p_ramrod; in qed_rdma_start_fw() local
583 p_ramrod = &p_ent->ramrod.iwarp_init_func.rdma; in qed_rdma_start_fw()
585 p_ramrod = &p_ent->ramrod.roce_init_func.rdma; in qed_rdma_start_fw()
588 p_params_header = &p_ramrod->params_header; in qed_rdma_start_fw()
604 p_ramrod->cnq_params[cnq_id].sb_num = cpu_to_le16(igu_sb_id); in qed_rdma_start_fw()
605 p_cnq_params = &p_ramrod->cnq_params[cnq_id]; in qed_rdma_start_fw()
697 struct rdma_close_func_ramrod_data *p_ramrod; in qed_rdma_stop() local
746 p_ramrod = &p_ent->ramrod.rdma_close_func; in qed_rdma_stop()
748 p_ramrod->num_cnqs = p_hwfn->p_rdma_info->num_cnqs; in qed_rdma_stop()
749 p_ramrod->cnq_start_offset = (u8)RESC_START(p_hwfn, QED_RDMA_CNQ_RAM); in qed_rdma_stop()
[all …]
Dqed_iscsi.c142 struct iscsi_init_ramrod_params *p_ramrod = NULL; in qed_sp_iscsi_func_start() local
166 p_ramrod = &p_ent->ramrod.iscsi_init; in qed_sp_iscsi_func_start()
167 p_init = &p_ramrod->iscsi_init_spe; in qed_sp_iscsi_func_start()
246 p_ramrod->tcp_init.two_msl_timer = cpu_to_le32(p_params->two_msl_timer); in qed_sp_iscsi_func_start()
248 p_ramrod->tcp_init.tx_sws_timer = cpu_to_le16(val); in qed_sp_iscsi_func_start()
249 p_ramrod->tcp_init.max_fin_rt = p_params->max_fin_rt; in qed_sp_iscsi_func_start()
265 struct iscsi_spe_conn_offload *p_ramrod = NULL; in qed_sp_iscsi_conn_offload() local
294 p_ramrod = &p_ent->ramrod.iscsi_conn_offload; in qed_sp_iscsi_conn_offload()
299 p_ramrod->iscsi.physical_q0 = cpu_to_le16(physical_q); in qed_sp_iscsi_conn_offload()
304 p_ramrod->iscsi.physical_q1 = cpu_to_le16(physical_q); in qed_sp_iscsi_conn_offload()
[all …]
Dqed_ll2.c962 struct core_rx_start_ramrod_data *p_ramrod = NULL; in qed_sp_ll2_rx_queue_start() local
980 p_ramrod = &p_ent->ramrod.core_rx_queue_start; in qed_sp_ll2_rx_queue_start()
981 memset(p_ramrod, 0, sizeof(*p_ramrod)); in qed_sp_ll2_rx_queue_start()
982 p_ramrod->sb_id = cpu_to_le16(qed_int_get_sp_sb_id(p_hwfn)); in qed_sp_ll2_rx_queue_start()
983 p_ramrod->sb_index = p_rx->rx_sb_index; in qed_sp_ll2_rx_queue_start()
984 p_ramrod->complete_event_flg = 1; in qed_sp_ll2_rx_queue_start()
986 p_ramrod->mtu = cpu_to_le16(p_ll2_conn->input.mtu); in qed_sp_ll2_rx_queue_start()
987 DMA_REGPAIR_LE(p_ramrod->bd_base, p_rx->rxq_chain.p_phys_addr); in qed_sp_ll2_rx_queue_start()
989 p_ramrod->num_of_pbl_pages = cpu_to_le16(cqe_pbl_size); in qed_sp_ll2_rx_queue_start()
990 DMA_REGPAIR_LE(p_ramrod->cqe_pbl_addr, in qed_sp_ll2_rx_queue_start()
[all …]
Dqed_iwarp.c111 struct iwarp_init_func_ramrod_data *p_ramrod) in qed_iwarp_init_fw_ramrod() argument
113 p_ramrod->iwarp.ll2_ooo_q_index = in qed_iwarp_init_fw_ramrod()
117 p_ramrod->tcp.tx_sws_timer = cpu_to_le16(QED_TX_SWS_TIMER_DFLT); in qed_iwarp_init_fw_ramrod()
118 p_ramrod->tcp.two_msl_timer = cpu_to_le32(QED_TWO_MSL_TIMER_DFLT); in qed_iwarp_init_fw_ramrod()
119 p_ramrod->tcp.max_fin_rt = QED_IWARP_MAX_FIN_RT_DEFAULT; in qed_iwarp_init_fw_ramrod()
187 struct iwarp_create_qp_ramrod_data *p_ramrod; in qed_iwarp_create_qp() local
227 p_ramrod = &p_ent->ramrod.iwarp_create_qp; in qed_iwarp_create_qp()
229 SET_FIELD(p_ramrod->flags, in qed_iwarp_create_qp()
233 SET_FIELD(p_ramrod->flags, in qed_iwarp_create_qp()
236 SET_FIELD(p_ramrod->flags, in qed_iwarp_create_qp()
[all …]
Dqed_fcoe.c91 struct fcoe_init_ramrod_params *p_ramrod = NULL; in qed_sp_fcoe_func_start() local
115 p_ramrod = &p_ent->ramrod.fcoe_init; in qed_sp_fcoe_func_start()
116 p_data = &p_ramrod->init_ramrod_data; in qed_sp_fcoe_func_start()
229 struct fcoe_conn_offload_ramrod_params *p_ramrod = NULL; in qed_sp_fcoe_conn_offload() local
250 p_ramrod = &p_ent->ramrod.fcoe_conn_ofld; in qed_sp_fcoe_conn_offload()
251 p_data = &p_ramrod->offload_ramrod_data; in qed_sp_fcoe_conn_offload()
309 struct fcoe_conn_terminate_ramrod_params *p_ramrod = NULL; in qed_sp_fcoe_conn_destroy() local
327 p_ramrod = &p_ent->ramrod.fcoe_conn_terminate; in qed_sp_fcoe_conn_destroy()
328 DMA_REGPAIR_LE(p_ramrod->terminate_ramrod_data.terminate_params_addr, in qed_sp_fcoe_conn_destroy()
Dqed_iwarp.h165 struct iwarp_init_func_ramrod_data *p_ramrod);
Dqed_sriov.c48 struct vf_start_ramrod_data *p_ramrod = NULL; in qed_sp_vf_start() local
66 p_ramrod = &p_ent->ramrod.vf_start; in qed_sp_vf_start()
68 p_ramrod->vf_id = GET_FIELD(p_vf->concrete_fid, PXP_CONCRETE_FID_VFID); in qed_sp_vf_start()
69 p_ramrod->opaque_fid = cpu_to_le16(p_vf->opaque_fid); in qed_sp_vf_start()
73 p_ramrod->personality = PERSONALITY_ETH; in qed_sp_vf_start()
77 p_ramrod->personality = PERSONALITY_RDMA_AND_ETH; in qed_sp_vf_start()
98 p_ramrod->hsi_fp_ver.major_ver_arr[ETH_VER_KEY] = ETH_HSI_VER_MAJOR; in qed_sp_vf_start()
99 p_ramrod->hsi_fp_ver.minor_ver_arr[ETH_VER_KEY] = fp_minor; in qed_sp_vf_start()
111 struct vf_stop_ramrod_data *p_ramrod = NULL; in qed_sp_vf_stop() local
128 p_ramrod = &p_ent->ramrod.vf_stop; in qed_sp_vf_stop()
[all …]