/titanic_41/usr/src/uts/common/io/bnxe/577xx/drivers/common/lm/device/ |
H A D | lm_pf.c | 46 … *lm_pf_validate_request_header(struct _lm_device_t *pdev, lm_vf_info_t *vf_info, void * virt_buff… in lm_pf_validate_request_header() argument 50 if (req_hdr->resp_msg_offset > vf_info->pf_vf_response.request_size) { in lm_pf_validate_request_header() 53 … vf_info->relative_vf_id, req_hdr->resp_msg_offset, vf_info->pf_vf_response.request_size); in lm_pf_validate_request_header() 60 lm_vf_info_t * vf_info = NULL; in lm_pf_find_vf_info_by_rel_id() local 62 vf_info = &pdev->vfs_set.vfs_array[relative_vf_id]; in lm_pf_find_vf_info_by_rel_id() 66 return vf_info; in lm_pf_find_vf_info_by_rel_id() 71 lm_vf_info_t * vf_info = NULL; in lm_pf_find_vf_info_by_abs_id() local 79 vf_info = &pdev->vfs_set.vfs_array[relative_vf_id]; in lm_pf_find_vf_info_by_abs_id() 83 return vf_info; in lm_pf_find_vf_info_by_abs_id() 86 lm_status_t lm_pf_download_standard_request(struct _lm_device_t *pdev, lm_vf_info_t *vf_info, void*… in lm_pf_download_standard_request() argument [all …]
|
H A D | lm_sb.c | 1548 lm_status_t lm_pf_init_vf_non_def_sb(struct _lm_device_t *pdev, lm_vf_info_t *vf_info, u8_t sb_idx,… in lm_pf_init_vf_non_def_sb() argument 1554 const u8_t fw_sb_id = LM_FW_VF_SB_ID(vf_info, sb_idx); in lm_pf_init_vf_non_def_sb() 1555 const u8_t dhc_qzone_id = LM_FW_VF_DHC_QZONE_ID(vf_info, sb_idx); in lm_pf_init_vf_non_def_sb() 1587 …pdev->vars.status_blocks_arr[LM_SW_VF_SB_ID(vf_info,sb_idx)].hc_status_block_data.e2_sb_data.commo… in lm_pf_init_vf_non_def_sb() 1588 …pdev->vars.status_blocks_arr[LM_SW_VF_SB_ID(vf_info,sb_idx)].hc_status_block_data.e2_sb_data.commo… in lm_pf_init_vf_non_def_sb() 1591 …pdev->vars.status_blocks_arr[LM_SW_VF_SB_ID(vf_info,sb_idx)].hc_status_block_data.e2_sb_data.commo… in lm_pf_init_vf_non_def_sb() 1592 …ars.status_blocks_arr[LM_SW_VF_SB_ID(vf_info,sb_idx)].hc_status_block_data.e2_sb_data.common.p_fun… in lm_pf_init_vf_non_def_sb() 1593 …pdev->vars.status_blocks_arr[LM_SW_VF_SB_ID(vf_info,sb_idx)].hc_status_block_data.e2_sb_data.commo… in lm_pf_init_vf_non_def_sb() 1594 …pdev->vars.status_blocks_arr[LM_SW_VF_SB_ID(vf_info,sb_idx)].hc_status_block_data.e2_sb_data.commo… in lm_pf_init_vf_non_def_sb() 1596 …pdev->vars.status_blocks_arr[LM_SW_VF_SB_ID(vf_info,sb_idx)].hc_status_block_data.e2_sb_data.commo… in lm_pf_init_vf_non_def_sb() [all …]
|
H A D | lm_stats.c | 153 ,lm_vf_info_t * vf_info in lm_get_stats() argument 163 if (vf_info != NULL) { in lm_get_stats() 164 stats_fw = (lm_stats_fw_t*)vf_info->vf_stats.mirror_stats_fw; in lm_get_stats() 165 vf_info->vf_stats.vf_exracted_stats_cnt++; in lm_get_stats() 189 DbgBreakIf(vf_info); in lm_get_stats() 200 DbgBreakIf(vf_info); in lm_get_stats() 208 DbgBreakIf(vf_info); in lm_get_stats() 223 DbgBreakIf(vf_info); in lm_get_stats() 238 DbgBreakIf(vf_info); in lm_get_stats() 253 DbgBreakIf(vf_info); in lm_get_stats() [all …]
|
H A D | lm_sp.c | 2742 lm_status_t lm_wait_vf_config_rss_done(struct _lm_device_t *pdev, lm_vf_info_t *vf_info) in lm_wait_vf_config_rss_done() argument 2744 struct ecore_raw_obj *raw = &vf_info->vf_slowpath_info.rss_conf_obj.raw; in lm_wait_vf_config_rss_done() 3061 lm_vf_info_t * vf_info; in lm_eq_handle_rss_update_eqe() local 3073 vf_info = lm_pf_find_vf_info_by_abs_id(pdev, abs_vf_id); in lm_eq_handle_rss_update_eqe() 3074 DbgBreakIf(!vf_info); in lm_eq_handle_rss_update_eqe() 3075 raw = &vf_info->vf_slowpath_info.rss_conf_obj.raw; in lm_eq_handle_rss_update_eqe() 3213 lm_vf_info_t * vf_info = NULL; in lm_eq_handle_vf_flr_eqe() local 3219 vf_info = lm_pf_find_vf_info_by_abs_id(pdev, (u8_t)abs_vf_id); in lm_eq_handle_vf_flr_eqe() 3220 if (!vf_info) { in lm_eq_handle_vf_flr_eqe() 3224 vf_info->was_flred = TRUE; in lm_eq_handle_vf_flr_eqe() [all …]
|
/titanic_41/usr/src/uts/common/io/bnxe/577xx/drivers/common/lm/vf/channel_vf/ |
H A D | lm_vf.c | 35 static lm_status_t lm_pf_get_queues_number(struct _lm_device_t *pdev, lm_vf_info_t *vf_info, u8_t *… in lm_pf_get_queues_number() argument 37 return mm_pf_get_queues_number(pdev, vf_info, num_rxqs, num_txqs); in lm_pf_get_queues_number() 40 static lm_status_t lm_pf_get_filters_number(struct _lm_device_t *pdev, lm_vf_info_t *vf_info, in lm_pf_get_filters_number() argument 45 … return mm_pf_get_filters_number(pdev, vf_info, num_mac_filters, num_vlan_filters, num_mc_filters); in lm_pf_get_filters_number() 48 static lm_status_t lm_pf_get_macs(struct _lm_device_t *pdev, lm_vf_info_t *vf_info, u8_t *permanent… in lm_pf_get_macs() argument 50 return mm_pf_get_macs(pdev, vf_info, permanent_mac_addr, current_mac_addr); in lm_pf_get_macs() 54 lm_vf_info_t *vf_info, in lm_pf_vf_check_compatibility() argument 73 vf_info->fp_hsi_ver = request->vfdev_info.fp_hsi_ver; in lm_pf_vf_check_compatibility() 77 vf_info->fp_hsi_ver = 0; in lm_pf_vf_check_compatibility() 80 if (vf_info->fp_hsi_ver > ETH_FP_HSI_VERSION) in lm_pf_vf_check_compatibility() [all …]
|
/titanic_41/usr/src/uts/common/io/bnxe/577xx/drivers/common/lm/vf/common/ |
H A D | lm_vf_common.h | 151 #define LM_VF_SLOWPATH(vf_info, var) (vf_info->vf_slowpath_info.slowpath_data.var) argument 152 #define LM_VF_SLOWPATH_PHYS(vf_info, var) (vf_info->vf_slowpath_info.slowpath_data.var##_phys) argument 292 lm_status_t lm_pf_process_standard_request(struct _lm_device_t *pdev, lm_vf_info_t *vf_info); 293 lm_status_t lm_pf_notify_standard_request_ready(struct _lm_device_t *pdev, lm_vf_info_t *vf_info, u… 316 void lm_pf_init_vf_client(struct _lm_device_t *pdev, lm_vf_info_t *vf_info, u8_t q_id); 317 void lm_pf_init_vf_slow_path(struct _lm_device_t *pdev, lm_vf_info_t *vf_info); 319 lm_status_t lm_pf_init_vf_client_init_data(struct _lm_device_t *pf_dev, lm_vf_info_t *vf_info, u8_t… 322 lm_status_t lm_pf_init_vf_non_def_sb(struct _lm_device_t *pdev, lm_vf_info_t *vf_info, u8_t sb_idx,… 328 lm_status_t lm_pf_vf_wait_for_stats_ready(struct _lm_device_t *pdev, lm_vf_info_t *vf_info); 344 lm_status_t lm_wait_vf_config_rss_done(struct _lm_device_t *pdev, lm_vf_info_t *vf_info); [all …]
|
/titanic_41/usr/src/uts/common/io/bnxe/577xx/drivers/common/include/ |
H A D | mm.h | 503 struct _lm_vf_info_t *vf_info, 508 struct _lm_vf_info_t *vf_info, 514 struct _lm_vf_info_t *vf_info, 518 void mm_report_malicious_vf(struct _lm_device_t *pdev, struct _lm_vf_info_t *vf_info);
|
/titanic_41/usr/src/uts/common/io/bnxe/577xx/drivers/common/lm/include/ |
H A D | lm5710.h | 4470 lm_status_t lm_pf_download_standard_request(struct _lm_device_t *pdev, lm_vf_info_t *vf_info, void*… 4471 lm_status_t lm_pf_upload_standard_response(struct _lm_device_t *pdev, lm_vf_info_t *vf_info, void* … 4473 lm_status_t lm_pf_upload_standard_request(struct _lm_device_t *pdev, lm_vf_info_t *vf_info, lm_addr… 4474 lm_status_t lm_pf_download_standard_response(struct _lm_device_t *pdev, lm_vf_info_t *vf_info, lm_a… 4509 u8_t lm_pf_allocate_vf_igu_sbs(struct _lm_device_t *pdev, struct _lm_vf_info_t *vf_info, u8_t num_o… 4510 void lm_pf_release_vf_igu_sbs(struct _lm_device_t *pdev, struct _lm_vf_info_t *vf_info); 4517 …_t lm_pf_update_vf_default_vlan(IN struct _lm_device_t *pdev, IN struct _lm_vf_info_t * vf_info, 4527 IN struct _lm_vf_info_t *vf_info, 4532 IN struct _lm_vf_info_t *vf_info,
|
H A D | lm.h | 939 ,struct _lm_vf_info_t * vf_info
|