Searched refs:p_ramrod (Results 1 – 10 of 10) sorted by relevance
/kernel/linux/linux-5.10/drivers/net/ethernet/qlogic/qed/ |
D | qed_roce.c | 225 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 …]
|
D | qed_l2.c | 344 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 …]
|
D | qed_sp_commands.c | 304 struct pf_start_ramrod_data *p_ramrod = NULL; in qed_sp_pf_start() local 327 p_ramrod = &p_ent->ramrod.pf_start; in qed_sp_pf_start() 329 p_ramrod->event_ring_sb_id = cpu_to_le16(sb); in qed_sp_pf_start() 330 p_ramrod->event_ring_sb_index = sb_index; in qed_sp_pf_start() 331 p_ramrod->path_id = QED_PATH_ID(p_hwfn); in qed_sp_pf_start() 332 p_ramrod->dont_log_ramrods = 0; in qed_sp_pf_start() 333 p_ramrod->log_type_mask = cpu_to_le16(0xf); in qed_sp_pf_start() 336 p_ramrod->mf_mode = MF_OVLAN; in qed_sp_pf_start() 338 p_ramrod->mf_mode = MF_NPAR; in qed_sp_pf_start() 340 outer_tag_config = &p_ramrod->outer_tag_config; in qed_sp_pf_start() [all …]
|
D | qed_rdma.c | 581 struct rdma_init_func_ramrod_data *p_ramrod; in qed_rdma_start_fw() local 609 p_ramrod = &p_ent->ramrod.iwarp_init_func.rdma; in qed_rdma_start_fw() 611 p_ramrod = &p_ent->ramrod.roce_init_func.rdma; in qed_rdma_start_fw() 614 p_params_header = &p_ramrod->params_header; in qed_rdma_start_fw() 630 p_ramrod->cnq_params[cnq_id].sb_num = cpu_to_le16(igu_sb_id); in qed_rdma_start_fw() 631 p_cnq_params = &p_ramrod->cnq_params[cnq_id]; in qed_rdma_start_fw() 723 struct rdma_close_func_ramrod_data *p_ramrod; in qed_rdma_stop() local 772 p_ramrod = &p_ent->ramrod.rdma_close_func; in qed_rdma_stop() 774 p_ramrod->num_cnqs = p_hwfn->p_rdma_info->num_cnqs; in qed_rdma_stop() 775 p_ramrod->cnq_start_offset = (u8)RESC_START(p_hwfn, QED_RDMA_CNQ_RAM); in qed_rdma_stop() [all …]
|
D | qed_iscsi.c | 141 struct iscsi_init_ramrod_params *p_ramrod = NULL; in qed_sp_iscsi_func_start() local 165 p_ramrod = &p_ent->ramrod.iscsi_init; in qed_sp_iscsi_func_start() 166 p_init = &p_ramrod->iscsi_init_spe; in qed_sp_iscsi_func_start() 245 p_ramrod->tcp_init.two_msl_timer = cpu_to_le32(p_params->two_msl_timer); in qed_sp_iscsi_func_start() 247 p_ramrod->tcp_init.tx_sws_timer = cpu_to_le16(val); in qed_sp_iscsi_func_start() 248 p_ramrod->tcp_init.max_fin_rt = p_params->max_fin_rt; in qed_sp_iscsi_func_start() 264 struct iscsi_spe_conn_offload *p_ramrod = NULL; in qed_sp_iscsi_conn_offload() local 293 p_ramrod = &p_ent->ramrod.iscsi_conn_offload; in qed_sp_iscsi_conn_offload() 298 p_ramrod->iscsi.physical_q0 = cpu_to_le16(physical_q); in qed_sp_iscsi_conn_offload() 303 p_ramrod->iscsi.physical_q1 = cpu_to_le16(physical_q); in qed_sp_iscsi_conn_offload() [all …]
|
D | qed_ll2.c | 938 struct core_rx_start_ramrod_data *p_ramrod = NULL; in qed_sp_ll2_rx_queue_start() local 956 p_ramrod = &p_ent->ramrod.core_rx_queue_start; in qed_sp_ll2_rx_queue_start() 957 memset(p_ramrod, 0, sizeof(*p_ramrod)); in qed_sp_ll2_rx_queue_start() 958 p_ramrod->sb_id = cpu_to_le16(qed_int_get_sp_sb_id(p_hwfn)); in qed_sp_ll2_rx_queue_start() 959 p_ramrod->sb_index = p_rx->rx_sb_index; in qed_sp_ll2_rx_queue_start() 960 p_ramrod->complete_event_flg = 1; in qed_sp_ll2_rx_queue_start() 962 p_ramrod->mtu = cpu_to_le16(p_ll2_conn->input.mtu); in qed_sp_ll2_rx_queue_start() 963 DMA_REGPAIR_LE(p_ramrod->bd_base, p_rx->rxq_chain.p_phys_addr); in qed_sp_ll2_rx_queue_start() 965 p_ramrod->num_of_pbl_pages = cpu_to_le16(cqe_pbl_size); in qed_sp_ll2_rx_queue_start() 966 DMA_REGPAIR_LE(p_ramrod->cqe_pbl_addr, in qed_sp_ll2_rx_queue_start() [all …]
|
D | qed_iwarp.c | 111 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.max_fin_rt = QED_IWARP_MAX_FIN_RT_DEFAULT; in qed_iwarp_init_fw_ramrod() 185 struct iwarp_create_qp_ramrod_data *p_ramrod; in qed_iwarp_create_qp() local 225 p_ramrod = &p_ent->ramrod.iwarp_create_qp; in qed_iwarp_create_qp() 227 SET_FIELD(p_ramrod->flags, in qed_iwarp_create_qp() 231 SET_FIELD(p_ramrod->flags, in qed_iwarp_create_qp() 234 SET_FIELD(p_ramrod->flags, in qed_iwarp_create_qp() 238 SET_FIELD(p_ramrod->flags, in qed_iwarp_create_qp() 242 SET_FIELD(p_ramrod->flags, in qed_iwarp_create_qp() [all …]
|
D | qed_fcoe.c | 90 struct fcoe_init_ramrod_params *p_ramrod = NULL; in qed_sp_fcoe_func_start() local 114 p_ramrod = &p_ent->ramrod.fcoe_init; in qed_sp_fcoe_func_start() 115 p_data = &p_ramrod->init_ramrod_data; in qed_sp_fcoe_func_start() 228 struct fcoe_conn_offload_ramrod_params *p_ramrod = NULL; in qed_sp_fcoe_conn_offload() local 249 p_ramrod = &p_ent->ramrod.fcoe_conn_ofld; in qed_sp_fcoe_conn_offload() 250 p_data = &p_ramrod->offload_ramrod_data; in qed_sp_fcoe_conn_offload() 308 struct fcoe_conn_terminate_ramrod_params *p_ramrod = NULL; in qed_sp_fcoe_conn_destroy() local 326 p_ramrod = &p_ent->ramrod.fcoe_conn_terminate; in qed_sp_fcoe_conn_destroy() 327 DMA_REGPAIR_LE(p_ramrod->terminate_ramrod_data.terminate_params_addr, in qed_sp_fcoe_conn_destroy()
|
D | qed_iwarp.h | 165 struct iwarp_init_func_ramrod_data *p_ramrod);
|
D | qed_sriov.c | 46 struct vf_start_ramrod_data *p_ramrod = NULL; in qed_sp_vf_start() local 64 p_ramrod = &p_ent->ramrod.vf_start; in qed_sp_vf_start() 66 p_ramrod->vf_id = GET_FIELD(p_vf->concrete_fid, PXP_CONCRETE_FID_VFID); in qed_sp_vf_start() 67 p_ramrod->opaque_fid = cpu_to_le16(p_vf->opaque_fid); in qed_sp_vf_start() 71 p_ramrod->personality = PERSONALITY_ETH; in qed_sp_vf_start() 75 p_ramrod->personality = PERSONALITY_RDMA_AND_ETH; in qed_sp_vf_start() 96 p_ramrod->hsi_fp_ver.major_ver_arr[ETH_VER_KEY] = ETH_HSI_VER_MAJOR; in qed_sp_vf_start() 97 p_ramrod->hsi_fp_ver.minor_ver_arr[ETH_VER_KEY] = fp_minor; in qed_sp_vf_start() 109 struct vf_stop_ramrod_data *p_ramrod = NULL; in qed_sp_vf_stop() local 126 p_ramrod = &p_ent->ramrod.vf_stop; in qed_sp_vf_stop() [all …]
|