Home
last modified time | relevance | path

Searched refs:vf_chains (Results 1 – 3 of 3) sorted by relevance

/titanic_41/usr/src/uts/common/io/bnxe/577xx/drivers/common/lm/vf/common/
H A Dlm_vf_common.h66 #define LM_FW_VF_SB_ID(_vf_info, _sb_id) ((_vf_info)->vf_chains[(_sb_id)].fw_ndsb)
67 #define LM_SW_VF_SB_ID(_vf_info, _sb_id) ((_vf_info)->vf_chains[(_sb_id)].sw_ndsb)
69 #define LM_FW_VF_QZONE_ID(_vf_info, _q_zone_id) ((_vf_info)->vf_chains[(_q_zone_id)].fw_qzone_id)
70 #define LM_FW_VF_DHC_QZONE_ID(_vf_info, _q_zone_id) ((_vf_info)->vf_chains[(_q_zone_id)].fw_qzone_…
72 #define LM_VF_IGU_SB_ID(_vf_info, _igu_sb_id) ((_vf_info)->vf_chains[(_igu_sb_id)].igu_sb_id)
76 #define LM_FW_VF_CLI_ID(_vf_info, _q_id) ((_vf_info)->vf_chains[(_q_id)].fw_client_id)
77 #define LM_SW_VF_CLI_ID(_vf_info, _q_id) ((_vf_info)->vf_chains[(_q_id)].sw_client_id)
236 lm_vf_chain_info_t vf_chains[16]; member
/titanic_41/usr/src/uts/common/io/bnxe/577xx/drivers/common/lm/device/
H A Dlm_pf.c584 …vf_info->vf_chains[chain_idx].sw_ndsb = lm_vf_get_free_resource(pdev->pf_resources.free_sbs, min_n… in lm_pf_acquire_vf_chains_resources()
586 if (vf_info->vf_chains[chain_idx].sw_ndsb == 0xFF) { in lm_pf_acquire_vf_chains_resources()
590 … vf_info->vf_chains[chain_idx].fw_ndsb = LM_FW_SB_ID(pdev,vf_info->vf_chains[chain_idx].sw_ndsb); in lm_pf_acquire_vf_chains_resources()
591 min_ndsb = vf_info->vf_chains[chain_idx].sw_ndsb + 1; in lm_pf_acquire_vf_chains_resources()
601 …current_fw_client = vf_info->vf_chains[chain_idx].sw_client_id = lm_vf_get_free_resource(pdev->pf_… in lm_pf_acquire_vf_chains_resources()
602 if (vf_info->vf_chains[chain_idx].sw_client_id == 0xFF) { in lm_pf_acquire_vf_chains_resources()
608 vf_info->vf_chains[chain_idx].fw_client_id = LM_FW_CLI_ID(pdev,current_fw_client); in lm_pf_acquire_vf_chains_resources()
609 …vf_info->vf_chains[chain_idx].fw_qzone_id = LM_FW_DHC_QZONE_ID(pdev, vf_info->vf_chains[chain_idx… in lm_pf_acquire_vf_chains_resources()
612 min_sw_client = vf_info->vf_chains[chain_idx].sw_client_id + 1; in lm_pf_acquire_vf_chains_resources()
617 … lm_vf_acquire_resource(pdev->pf_resources.free_sbs, vf_info->vf_chains[chain_idx].sw_ndsb, 1); in lm_pf_acquire_vf_chains_resources()
[all …]
/titanic_41/usr/src/uts/common/io/bnxe/577xx/drivers/common/lm/vf/channel_vf/
H A Dlm_vf.c140 lm_pf_release_vf_igu_block(pdev, vf_info->vf_chains[i].igu_sb_id); in lm_pf_vf_fill_acquire_response()
281 vf_info->vf_chains[q_id].mtu = rxq_params->mtu; in lm_pf_vf_fill_setup_q_response()
284 vf_info->vf_chains[q_id].sge_addr = rxq_params->sge_addr; in lm_pf_vf_fill_setup_q_response()
285 …vf_info->vf_chains[q_id].tpa_ramrod_data_virt = mm_alloc_phys_mem(pdev, mem_size, &vf_info->vf_cha… in lm_pf_vf_fill_setup_q_response()
287 if(CHK_NULL(vf_info->vf_chains[q_id].tpa_ramrod_data_virt)) in lm_pf_vf_fill_setup_q_response()
293 mm_mem_zero((void *)vf_info->vf_chains[q_id].tpa_ramrod_data_virt, mem_size); in lm_pf_vf_fill_setup_q_response()
3144 …lm_status = lm_set_rx_mask(pdev, vf_info->vf_chains[0].sw_client_id, LM_RX_MASK_ACCEPT_NONE, NULL); in lm_pf_create_vf()
3149 lm_status = lm_wait_set_rx_mask_done(pdev, vf_info->vf_chains[0].sw_client_id); in lm_pf_create_vf()
3555 lm_vf_chain_info_t* tpa_chain = &vf_info->vf_chains[q_idx]; in lm_pf_tpa_send_vf_ramrod()