/freebsd-12-stable/sys/dev/qlnx/qlnxe/ |
H A D | ecore_dcbx.c | 550 struct ecore_dcbx_params *p_params, bool ieee) 556 p_params->app_willing = GET_MFW_FIELD(p_app->flags, DCBX_APP_WILLING); 557 p_params->app_valid = GET_MFW_FIELD(p_app->flags, DCBX_APP_ENABLED); 558 p_params->app_error = GET_MFW_FIELD(p_app->flags, DCBX_APP_ERROR); 559 p_params->num_app_entries = GET_MFW_FIELD(p_app->flags, 561 for (i = 0; i < p_params->num_app_entries; i++) { 562 entry = &p_params->app_entry[i]; 607 p_params->app_willing, p_params->app_valid, 608 p_params 547 ecore_dcbx_get_app_data(struct ecore_hwfn *p_hwfn, struct dcbx_app_priority_feature *p_app, struct dcbx_app_priority_entry *p_tbl, struct ecore_dcbx_params *p_params, bool ieee) argument 612 ecore_dcbx_get_pfc_data(struct ecore_hwfn *p_hwfn, u32 pfc, struct ecore_dcbx_params *p_params) argument 637 ecore_dcbx_get_ets_data(struct ecore_hwfn *p_hwfn, struct dcbx_ets_feature *p_ets, struct ecore_dcbx_params *p_params) argument 680 ecore_dcbx_get_common_params(struct ecore_hwfn *p_hwfn, struct dcbx_app_priority_feature *p_app, struct dcbx_app_priority_entry *p_tbl, struct dcbx_ets_feature *p_ets, u32 pfc, struct ecore_dcbx_params *p_params, bool ieee) argument 831 ecore_dcbx_get_params(struct ecore_hwfn *p_hwfn, struct ecore_dcbx_get *p_params, enum ecore_mib_read_type type) argument 1173 ecore_dcbx_set_pfc_data(struct ecore_hwfn *p_hwfn, u32 *pfc, struct ecore_dcbx_params *p_params) argument 1204 ecore_dcbx_set_ets_data(struct ecore_hwfn *p_hwfn, struct dcbx_ets_feature *p_ets, struct ecore_dcbx_params *p_params) argument 1255 ecore_dcbx_set_app_data(struct ecore_hwfn *p_hwfn, struct dcbx_app_priority_feature *p_app, struct ecore_dcbx_params *p_params, bool ieee) argument 1362 ecore_dcbx_set_dscp_params(struct ecore_hwfn *p_hwfn, struct dcb_dscp_map *p_dscp_map, struct ecore_dcbx_set *p_params) argument 1564 ecore_lldp_get_params(struct ecore_hwfn *p_hwfn, struct ecore_ptt *p_ptt, struct ecore_lldp_config_params *p_params) argument 1618 ecore_lldp_set_params(struct ecore_hwfn *p_hwfn, struct ecore_ptt *p_ptt, struct ecore_lldp_config_params *p_params) argument 1680 ecore_lldp_set_system_tlvs(struct ecore_hwfn *p_hwfn, struct ecore_ptt *p_ptt, struct ecore_lldp_sys_tlvs *p_params) argument 1779 ecore_lldp_get_stats(struct ecore_hwfn *p_hwfn, struct ecore_ptt *p_ptt, struct ecore_lldp_stats *p_params) argument [all...] |
H A D | ecore_l2.c | 233 struct ecore_queue_start_common_params *p_params, 249 p_cid->rel.vport_id = p_params->vport_id; 250 p_cid->rel.queue_id = p_params->queue_id; 251 p_cid->rel.stats_id = p_params->stats_id; 252 p_cid->sb_igu_id = p_params->p_sb->igu_sb_id; 254 p_cid->sb_idx = p_params->sb_idx; 326 struct ecore_queue_start_common_params *p_params, 362 p_params, b_is_rx, p_vf_params); 372 struct ecore_queue_start_common_params *p_params) 374 return ecore_eth_queue_to_cid(p_hwfn, opaque_fid, p_params, b_is_r 231 _ecore_eth_queue_to_cid(struct ecore_hwfn *p_hwfn, u16 opaque_fid, u32 cid, struct ecore_queue_start_common_params *p_params, bool b_is_rx, struct ecore_queue_cid_vf_params *p_vf_params) argument 325 ecore_eth_queue_to_cid(struct ecore_hwfn *p_hwfn, u16 opaque_fid, struct ecore_queue_start_common_params *p_params, bool b_is_rx, struct ecore_queue_cid_vf_params *p_vf_params) argument 370 ecore_eth_queue_to_cid_pf(struct ecore_hwfn *p_hwfn, u16 opaque_fid, bool b_is_rx, struct ecore_queue_start_common_params *p_params) argument 378 ecore_sp_eth_vport_start(struct ecore_hwfn *p_hwfn, struct ecore_sp_vport_start_params *p_params) argument 481 ecore_sp_vport_start(struct ecore_hwfn *p_hwfn, struct ecore_sp_vport_start_params *p_params) argument 679 ecore_sp_vport_update_sge_tpa(struct vport_update_ramrod_data *p_ramrod, struct ecore_sge_tpa_params *p_params) argument 714 ecore_sp_update_mcast_bin(struct vport_update_ramrod_data *p_ramrod, struct ecore_sp_vport_update_params *p_params) argument 733 ecore_sp_vport_update(struct ecore_hwfn *p_hwfn, struct ecore_sp_vport_update_params *p_params, enum spq_mode comp_mode, struct ecore_spq_comp_cb *p_comp_data) argument 1012 ecore_eth_rx_queue_start(struct ecore_hwfn *p_hwfn, u16 opaque_fid, struct ecore_queue_start_common_params *p_params, u16 bd_max_bytes, dma_addr_t bd_chain_phys_addr, dma_addr_t cqe_pbl_addr, u16 cqe_pbl_size, struct ecore_rxq_start_ret_params *p_ret_params) argument 1277 ecore_eth_tx_queue_start(struct ecore_hwfn *p_hwfn, u16 opaque_fid, struct ecore_queue_start_common_params *p_params, u8 tc, dma_addr_t pbl_addr, u16 pbl_size, struct ecore_txq_start_ret_params *p_ret_params) argument 2179 ecore_configure_rfs_ntuple_filter(struct ecore_hwfn *p_hwfn, struct ecore_spq_comp_cb *p_cb, struct ecore_ntuple_filter_params *p_params) argument [all...] |
H A D | ecore_dcbx_api.h | 254 struct ecore_lldp_config_params *p_params); 258 struct ecore_lldp_config_params *p_params); 262 struct ecore_lldp_sys_tlvs *p_params); 276 struct ecore_lldp_stats *p_params);
|
H A D | ecore_l2.h | 122 struct ecore_queue_start_common_params *p_params, 128 struct ecore_sp_vport_start_params *p_params);
|
H A D | ecore_hw.c | 562 struct ecore_dmae_params *p_params) 575 src_pfid = ECORE_DMAE_FLAGS_IS_SET(p_params, PF_SRC) ? 576 p_params->src_pfid : p_hwfn->rel_pf_id; 584 dst_pfid = ECORE_DMAE_FLAGS_IS_SET(p_params, PF_DST) ? 585 p_params->dst_pfid : p_hwfn->rel_pf_id; 600 if (ECORE_DMAE_FLAGS_IS_SET(p_params, COMPLETION_DST)) 608 port_id = (ECORE_DMAE_FLAGS_IS_SET(p_params, PORT)) ? 609 p_params->port_id : p_hwfn->port_id; 621 if (ECORE_DMAE_FLAGS_IS_SET(p_params, VF_SRC)) { 623 opcode_b |= (p_params 559 ecore_dmae_opcode(struct ecore_hwfn *p_hwfn, const u8 is_src_type_grc, const u8 is_dst_type_grc, struct ecore_dmae_params *p_params) argument 911 ecore_dmae_execute_command(struct ecore_hwfn *p_hwfn, struct ecore_ptt *p_ptt, u64 src_addr, u64 dst_addr, u8 src_type, u8 dst_type, u32 size_in_dwords, struct ecore_dmae_params *p_params) argument 1009 ecore_dmae_host2grc(struct ecore_hwfn *p_hwfn, struct ecore_ptt *p_ptt, u64 source_addr, u32 grc_addr, u32 size_in_dwords, struct ecore_dmae_params *p_params) argument 1032 ecore_dmae_grc2host(struct ecore_hwfn *p_hwfn, struct ecore_ptt *p_ptt, u32 grc_addr, dma_addr_t dest_addr, u32 size_in_dwords, struct ecore_dmae_params *p_params) argument 1054 ecore_dmae_host2host(struct ecore_hwfn *p_hwfn, struct ecore_ptt *p_ptt, dma_addr_t source_addr, dma_addr_t dest_addr, u32 size_in_dwords, struct ecore_dmae_params *p_params) argument [all...] |
H A D | ecore_l2_api.h | 245 * @p_params Inputs; Relative for PF [SB being an exception] 257 struct ecore_queue_start_common_params *p_params, 292 * @p_params 303 struct ecore_queue_start_common_params *p_params, 360 * @param p_params VPORT start params 366 struct ecore_sp_vport_start_params *p_params); 405 * @param p_params 411 struct ecore_sp_vport_update_params *p_params, 544 * @params p_params 549 struct ecore_ntuple_filter_params *p_params); [all...] |
H A D | ecore_vf.c | 1259 struct ecore_sp_vport_update_params *p_params) 1272 update_rx = p_params->update_vport_active_rx_flg; 1273 update_tx = p_params->update_vport_active_tx_flg; 1290 p_act_tlv->active_rx = p_params->vport_active_rx_flg; 1295 p_act_tlv->active_tx = p_params->vport_active_tx_flg; 1300 if (p_params->update_inner_vlan_removal_flg) { 1309 p_vlan_tlv->remove_vlan = p_params->inner_vlan_removal_flg; 1313 if (p_params->update_tx_switching_flg) { 1322 p_tx_switch_tlv->tx_switching = p_params->tx_switching_flg; 1325 if (p_params 1258 ecore_vf_pf_vport_update(struct ecore_hwfn *p_hwfn, struct ecore_sp_vport_update_params *p_params) argument 1753 __ecore_vf_get_link_params(struct ecore_mcp_link_params *p_params, struct ecore_bulletin_content *p_bulletin) argument [all...] |
H A D | ecore_vf.h | 220 struct ecore_sp_vport_update_params *p_params); 314 * @param p_params - pointer to a struct to fill with link params 317 void __ecore_vf_get_link_params(struct ecore_mcp_link_params *p_params, 353 static OSAL_INLINE enum _ecore_status_t ecore_vf_pf_vport_update(struct ecore_hwfn OSAL_UNUSED *p_hwfn, struct ecore_sp_vport_update_params OSAL_UNUSED *p_params) {return ECORE_INVAL;} argument 364 static OSAL_INLINE void __ecore_vf_get_link_params(struct ecore_mcp_link_params OSAL_UNUSED *p_params, struct ecore_bulletin_content OSAL_UNUSED *p_bulletin) {} argument
|
H A D | ecore_dev_api.h | 160 * @param p_params 165 struct ecore_hw_init_params *p_params); 277 * @param p_params 282 struct ecore_hw_prepare_params *p_params); 497 * @param p_params (default parameters will be used in case of OSAL_NULL) 507 struct ecore_dmae_params *p_params); 517 * @param p_params (default parameters will be used in case of OSAL_NULL) 527 struct ecore_dmae_params *p_params); 538 * @param p_params (default parameters will be used in case of OSAL_NULL) 548 struct ecore_dmae_params *p_params); [all...] |
H A D | ecore_sriov.c | 1104 struct ecore_iov_vf_init_params *p_params) 1116 vf = ecore_iov_get_vf_info(p_hwfn, p_params->rel_vf_id, false); 1124 p_params->rel_vf_id); 1129 if (p_params->vport_id >= RESC_NUM(p_hwfn, ECORE_VPORT)) { 1131 p_params->rel_vf_id, p_params->vport_id); 1135 if ((p_params->num_queues > 1) && 1136 (p_params->rss_eng_id >= RESC_NUM(p_hwfn, ECORE_RSS_ENG))) { 1138 p_params->rel_vf_id, p_params 1102 ecore_iov_init_hw_for_vf(struct ecore_hwfn *p_hwfn, struct ecore_ptt *p_ptt, struct ecore_iov_vf_init_params *p_params) argument 3299 ecore_iov_vf_update_vlan_shadow(struct ecore_hwfn *p_hwfn, struct ecore_vf_info *p_vf, struct ecore_filter_ucast *p_params) argument 3355 ecore_iov_vf_update_mac_shadow(struct ecore_hwfn *p_hwfn, struct ecore_vf_info *p_vf, struct ecore_filter_ucast *p_params) argument 3420 ecore_iov_vf_update_unicast_shadow(struct ecore_hwfn *p_hwfn, struct ecore_vf_info *p_vf, struct ecore_filter_ucast *p_params) argument 4093 ecore_iov_get_link(struct ecore_hwfn *p_hwfn, u16 vfid, struct ecore_mcp_link_params *p_params, struct ecore_mcp_link_state *p_link, struct ecore_mcp_link_capabilities *p_caps) argument [all...] |
H A D | ecore_mcp.h | 214 * @param p_params 220 struct ecore_load_req_params *p_params); 526 * @param p_params 532 struct ecore_resc_lock_params *p_params); 550 * @param p_params 556 struct ecore_resc_unlock_params *p_params);
|
H A D | ecore_cxt.c | 2169 struct ecore_rdma_pf_params *p_params, 2178 switch (p_params->rdma_protocol) { 2203 num_cons = OSAL_MIN_T(u32, IWARP_MAX_QPS, p_params->num_qps); 2211 num_qps = OSAL_MIN_T(u32, ROCE_MAX_QPS, p_params->num_qps); 2235 p_params->num_srqs); 2242 num_xrc_srqs = OSAL_MIN_T(u32, p_params->num_xrc_srqs, 2278 struct ecore_eth_pf_params *p_params = local 2281 if (!p_params->num_vf_cons) 2282 p_params->num_vf_cons = ETH_PF_PARAMS_VF_CONS_DEFAULT; 2284 p_params 2168 ecore_rdma_set_pf_params(struct ecore_hwfn *p_hwfn, struct ecore_rdma_pf_params *p_params, u32 num_tasks) argument 2297 struct ecore_fcoe_pf_params *p_params; local 2318 struct ecore_iscsi_pf_params *p_params; local [all...] |
H A D | ecore_dev.c | 3483 int hw_mode, struct ecore_hw_init_params *p_params) 3567 if (p_params->pci_rlx_odr_mode == ECORE_ENABLE_RLX_ODR) { 3571 } else if (p_params->pci_rlx_odr_mode == ECORE_DISABLE_RLX_ODR) { 3590 p_params->avoid_eng_affin); 3595 if (p_params->b_hw_start) { 3597 rc = ecore_int_igu_enable(p_hwfn, p_ptt, p_params->int_mode); 3602 rc = ecore_sp_pf_start(p_hwfn, p_ptt, p_params->p_tunn, 3603 p_params->allow_npar_tx_switch); 3747 struct ecore_hw_init_params *p_params) 3749 if (p_params 3482 ecore_hw_init_pf(struct ecore_hwfn *p_hwfn, struct ecore_ptt *p_ptt, int hw_mode, struct ecore_hw_init_params *p_params) argument 3746 ecore_vf_start(struct ecore_hwfn *p_hwfn, struct ecore_hw_init_params *p_params) argument 3766 ecore_hw_init(struct ecore_dev *p_dev, struct ecore_hw_init_params *p_params) argument 5088 ecore_hw_get_nvm_info(struct ecore_hwfn *p_hwfn, struct ecore_ptt *p_ptt, struct ecore_hw_prepare_params *p_params) argument 5575 ecore_get_hw_info(struct ecore_hwfn *p_hwfn, struct ecore_ptt *p_ptt, enum ecore_pci_personality personality, struct ecore_hw_prepare_params *p_params) argument 5843 ecore_hw_prepare_single(struct ecore_hwfn *p_hwfn, void OSAL_IOMEM *p_regview, void OSAL_IOMEM *p_doorbells, u64 db_phys_addr, struct ecore_hw_prepare_params *p_params) argument 5987 ecore_hw_prepare(struct ecore_dev *p_dev, struct ecore_hw_prepare_params *p_params) argument [all...] |
H A D | ecore_mcp.c | 1057 struct ecore_load_req_params *p_params) 1066 ecore_mcp_mf_workaround(p_hwfn, &p_params->load_code); 1076 ecore_get_mfw_drv_role(p_params->drv_role, &mfw_drv_role); 1078 in_params.timeout_val = p_params->timeout_val; 1081 in_params.avoid_eng_reset = p_params->avoid_eng_reset; 1106 p_params->override_force_load)) { 1167 p_params->load_code = out_params.load_code; 4325 struct ecore_resc_lock_params *p_params) 4331 switch (p_params->timeout) { 4342 timeout = p_params 1055 ecore_mcp_load_req(struct ecore_hwfn *p_hwfn, struct ecore_ptt *p_ptt, struct ecore_load_req_params *p_params) argument 4324 __ecore_mcp_resc_lock(struct ecore_hwfn *p_hwfn, struct ecore_ptt *p_ptt, struct ecore_resc_lock_params *p_params) argument 4386 ecore_mcp_resc_lock(struct ecore_hwfn *p_hwfn, struct ecore_ptt *p_ptt, struct ecore_resc_lock_params *p_params) argument 4418 ecore_mcp_resc_unlock(struct ecore_hwfn *p_hwfn, struct ecore_ptt *p_ptt, struct ecore_resc_unlock_params *p_params) argument [all...] |
H A D | ecore_iov_api.h | 213 * @param p_params 220 struct ecore_iov_vf_init_params *p_params); 309 * @param p_params - the link params visible to vf. 766 static OSAL_INLINE enum _ecore_status_t ecore_iov_init_hw_for_vf(struct ecore_hwfn OSAL_UNUSED *p_hwfn, struct ecore_ptt OSAL_UNUSED *p_ptt, struct ecore_iov_vf_init_params OSAL_UNUSED *p_params) {return ECORE_INVAL;} argument
|