Searched refs:p_ramrod (Results 1 – 10 of 10) sorted by relevance
/Linux-v5.4/drivers/net/ethernet/qlogic/qed/ |
D | qed_roce.c | 248 struct roce_create_qp_resp_ramrod_data *p_ramrod; in qed_roce_sp_create_responder() local 283 p_ramrod = &p_ent->ramrod.roce_create_qp_resp; in qed_roce_sp_create_responder() 285 p_ramrod->flags = 0; in qed_roce_sp_create_responder() 288 SET_FIELD(p_ramrod->flags, in qed_roce_sp_create_responder() 291 SET_FIELD(p_ramrod->flags, in qed_roce_sp_create_responder() 295 SET_FIELD(p_ramrod->flags, in qed_roce_sp_create_responder() 299 SET_FIELD(p_ramrod->flags, in qed_roce_sp_create_responder() 303 SET_FIELD(p_ramrod->flags, in qed_roce_sp_create_responder() 307 SET_FIELD(p_ramrod->flags, in qed_roce_sp_create_responder() 310 SET_FIELD(p_ramrod->flags, in qed_roce_sp_create_responder() [all …]
|
D | qed_sp_commands.c | 329 struct pf_start_ramrod_data *p_ramrod = NULL; in qed_sp_pf_start() local 352 p_ramrod = &p_ent->ramrod.pf_start; in qed_sp_pf_start() 354 p_ramrod->event_ring_sb_id = cpu_to_le16(sb); in qed_sp_pf_start() 355 p_ramrod->event_ring_sb_index = sb_index; in qed_sp_pf_start() 356 p_ramrod->path_id = QED_PATH_ID(p_hwfn); in qed_sp_pf_start() 357 p_ramrod->dont_log_ramrods = 0; in qed_sp_pf_start() 358 p_ramrod->log_type_mask = cpu_to_le16(0xf); in qed_sp_pf_start() 361 p_ramrod->mf_mode = MF_OVLAN; in qed_sp_pf_start() 363 p_ramrod->mf_mode = MF_NPAR; in qed_sp_pf_start() 365 p_ramrod->outer_tag_config.outer_tag.tci = in qed_sp_pf_start() [all …]
|
D | qed_l2.c | 368 struct vport_start_ramrod_data *p_ramrod = NULL; in qed_sp_eth_vport_start() local 390 p_ramrod = &p_ent->ramrod.vport_start; in qed_sp_eth_vport_start() 391 p_ramrod->vport_id = abs_vport_id; in qed_sp_eth_vport_start() 393 p_ramrod->mtu = cpu_to_le16(p_params->mtu); in qed_sp_eth_vport_start() 394 p_ramrod->handle_ptp_pkts = p_params->handle_ptp_pkts; in qed_sp_eth_vport_start() 395 p_ramrod->inner_vlan_removal_en = p_params->remove_inner_vlan; in qed_sp_eth_vport_start() 396 p_ramrod->drop_ttl0_en = p_params->drop_ttl0; in qed_sp_eth_vport_start() 397 p_ramrod->untagged = p_params->only_untagged; in qed_sp_eth_vport_start() 402 p_ramrod->rx_mode.state = cpu_to_le16(rx_mode); in qed_sp_eth_vport_start() 405 memset(&p_ramrod->tpa_param, 0, sizeof(struct eth_vport_tpa_param)); in qed_sp_eth_vport_start() [all …]
|
D | qed_iscsi.c | 168 struct iscsi_init_ramrod_params *p_ramrod = NULL; in qed_sp_iscsi_func_start() local 192 p_ramrod = &p_ent->ramrod.iscsi_init; in qed_sp_iscsi_func_start() 193 p_init = &p_ramrod->iscsi_init_spe; in qed_sp_iscsi_func_start() 275 p_ramrod->tcp_init.two_msl_timer = cpu_to_le32(p_params->two_msl_timer); in qed_sp_iscsi_func_start() 277 p_ramrod->tcp_init.tx_sws_timer = cpu_to_le16(val); in qed_sp_iscsi_func_start() 278 p_ramrod->tcp_init.max_fin_rt = p_params->max_fin_rt; in qed_sp_iscsi_func_start() 294 struct iscsi_spe_conn_offload *p_ramrod = NULL; in qed_sp_iscsi_conn_offload() local 322 p_ramrod = &p_ent->ramrod.iscsi_conn_offload; in qed_sp_iscsi_conn_offload() 327 p_ramrod->iscsi.physical_q0 = cpu_to_le16(physical_q); in qed_sp_iscsi_conn_offload() 332 p_ramrod->iscsi.physical_q1 = cpu_to_le16(physical_q); in qed_sp_iscsi_conn_offload() [all …]
|
D | qed_rdma.c | 578 struct rdma_init_func_ramrod_data *p_ramrod; in qed_rdma_start_fw() local 606 p_ramrod = &p_ent->ramrod.iwarp_init_func.rdma; in qed_rdma_start_fw() 608 p_ramrod = &p_ent->ramrod.roce_init_func.rdma; in qed_rdma_start_fw() 611 p_params_header = &p_ramrod->params_header; in qed_rdma_start_fw() 624 p_ramrod->cnq_params[cnq_id].sb_num = cpu_to_le16(igu_sb_id); in qed_rdma_start_fw() 625 p_cnq_params = &p_ramrod->cnq_params[cnq_id]; in qed_rdma_start_fw() 717 struct rdma_close_func_ramrod_data *p_ramrod; in qed_rdma_stop() local 766 p_ramrod = &p_ent->ramrod.rdma_close_func; in qed_rdma_stop() 768 p_ramrod->num_cnqs = p_hwfn->p_rdma_info->num_cnqs; in qed_rdma_stop() 769 p_ramrod->cnq_start_offset = (u8)RESC_START(p_hwfn, QED_RDMA_CNQ_RAM); in qed_rdma_stop() [all …]
|
D | qed_ll2.c | 946 struct core_rx_start_ramrod_data *p_ramrod = NULL; in qed_sp_ll2_rx_queue_start() local 964 p_ramrod = &p_ent->ramrod.core_rx_queue_start; in qed_sp_ll2_rx_queue_start() 966 p_ramrod->sb_id = cpu_to_le16(qed_int_get_sp_sb_id(p_hwfn)); in qed_sp_ll2_rx_queue_start() 967 p_ramrod->sb_index = p_rx->rx_sb_index; in qed_sp_ll2_rx_queue_start() 968 p_ramrod->complete_event_flg = 1; in qed_sp_ll2_rx_queue_start() 970 p_ramrod->mtu = cpu_to_le16(p_ll2_conn->input.mtu); in qed_sp_ll2_rx_queue_start() 971 DMA_REGPAIR_LE(p_ramrod->bd_base, p_rx->rxq_chain.p_phys_addr); in qed_sp_ll2_rx_queue_start() 973 p_ramrod->num_of_pbl_pages = cpu_to_le16(cqe_pbl_size); in qed_sp_ll2_rx_queue_start() 974 DMA_REGPAIR_LE(p_ramrod->cqe_pbl_addr, in qed_sp_ll2_rx_queue_start() 977 p_ramrod->drop_ttl0_flg = p_ll2_conn->input.rx_drop_ttl0_flg; in qed_sp_ll2_rx_queue_start() [all …]
|
D | qed_iwarp.c | 137 struct iwarp_init_func_ramrod_data *p_ramrod) in qed_iwarp_init_fw_ramrod() argument 139 p_ramrod->iwarp.ll2_ooo_q_index = in qed_iwarp_init_fw_ramrod() 143 p_ramrod->tcp.max_fin_rt = QED_IWARP_MAX_FIN_RT_DEFAULT; in qed_iwarp_init_fw_ramrod() 211 struct iwarp_create_qp_ramrod_data *p_ramrod; in qed_iwarp_create_qp() local 251 p_ramrod = &p_ent->ramrod.iwarp_create_qp; in qed_iwarp_create_qp() 253 SET_FIELD(p_ramrod->flags, in qed_iwarp_create_qp() 257 SET_FIELD(p_ramrod->flags, in qed_iwarp_create_qp() 260 SET_FIELD(p_ramrod->flags, in qed_iwarp_create_qp() 264 SET_FIELD(p_ramrod->flags, in qed_iwarp_create_qp() 268 SET_FIELD(p_ramrod->flags, in qed_iwarp_create_qp() [all …]
|
D | qed_fcoe.c | 116 struct fcoe_init_ramrod_params *p_ramrod = NULL; in qed_sp_fcoe_func_start() local 140 p_ramrod = &p_ent->ramrod.fcoe_init; in qed_sp_fcoe_func_start() 141 p_data = &p_ramrod->init_ramrod_data; in qed_sp_fcoe_func_start() 256 struct fcoe_conn_offload_ramrod_params *p_ramrod = NULL; in qed_sp_fcoe_conn_offload() local 276 p_ramrod = &p_ent->ramrod.fcoe_conn_ofld; in qed_sp_fcoe_conn_offload() 277 p_data = &p_ramrod->offload_ramrod_data; in qed_sp_fcoe_conn_offload() 335 struct fcoe_conn_terminate_ramrod_params *p_ramrod = NULL; in qed_sp_fcoe_conn_destroy() local 353 p_ramrod = &p_ent->ramrod.fcoe_conn_terminate; in qed_sp_fcoe_conn_destroy() 354 DMA_REGPAIR_LE(p_ramrod->terminate_ramrod_data.terminate_params_addr, in qed_sp_fcoe_conn_destroy()
|
D | qed_iwarp.h | 190 struct iwarp_init_func_ramrod_data *p_ramrod);
|
D | qed_sriov.c | 71 struct vf_start_ramrod_data *p_ramrod = NULL; in qed_sp_vf_start() local 89 p_ramrod = &p_ent->ramrod.vf_start; in qed_sp_vf_start() 91 p_ramrod->vf_id = GET_FIELD(p_vf->concrete_fid, PXP_CONCRETE_FID_VFID); in qed_sp_vf_start() 92 p_ramrod->opaque_fid = cpu_to_le16(p_vf->opaque_fid); in qed_sp_vf_start() 96 p_ramrod->personality = PERSONALITY_ETH; in qed_sp_vf_start() 99 p_ramrod->personality = PERSONALITY_RDMA_AND_ETH; in qed_sp_vf_start() 120 p_ramrod->hsi_fp_ver.major_ver_arr[ETH_VER_KEY] = ETH_HSI_VER_MAJOR; in qed_sp_vf_start() 121 p_ramrod->hsi_fp_ver.minor_ver_arr[ETH_VER_KEY] = fp_minor; in qed_sp_vf_start() 133 struct vf_stop_ramrod_data *p_ramrod = NULL; in qed_sp_vf_stop() local 150 p_ramrod = &p_ent->ramrod.vf_stop; in qed_sp_vf_stop() [all …]
|