/illumos-gate/usr/src/uts/common/io/bnxe/577xx/drivers/common/lm/device/ |
H A D | lm_devinfo.c | 102 if (pdev->hw_info.mcp_detected == 1) in lm_get_iscsi_boot_info_block() 136 if (pdev->hw_info.mcp_detected == 1) in lm_get_ibft_physical_addr_for_efi() 164 rc = mm_get_sriov_info(pdev, &pdev->hw_info.sriov_info); in lm_get_sriov_info() 171 …lm_set_virt_mode(pdev, DEVICE_TYPE_PF, (pdev->hw_info.sriov_info.total_vfs? VT_BASIC_VF : VT_NONE)… in lm_get_sriov_info() 173 …lm_set_virt_mode(pdev, DEVICE_TYPE_PF, (pdev->hw_info.sriov_info.total_vfs? VT_CHANNEL_VF : VT_NON… in lm_get_sriov_info() 177 …pdev->hw_info.sriov_info.first_vf_in_pf = ((val & GRC_CR_PF_INIT_VF_PF_FIRST_VF_NUM_MASK) * 8) - E… in lm_get_sriov_info() 178 DbgMessage(pdev, WARN, "First VF in PF = %d\n", pdev->hw_info.sriov_info.first_vf_in_pf); in lm_get_sriov_info() 254 pdev->hw_info.max_payload_size = (val & 0xe0)>>5; in lm_get_pcicfg_mps_mrrs() 256 pdev->hw_info.max_read_req_size = (val & 0x7000)>>12; in lm_get_pcicfg_mps_mrrs() 258 val,pdev->hw_info.max_payload_size,pdev->hw_info.max_read_req_size); in lm_get_pcicfg_mps_mrrs() [all …]
|
H A D | lm_pf.c | 73 …WARN, "lm_pf_find_vf_info_by_abs_id: abs_vf_id:%d(%d)\n",abs_vf_id,pdev->hw_info.sriov_info.first_… in lm_pf_find_vf_info_by_abs_id() 74 if (abs_vf_id < pdev->hw_info.sriov_info.first_vf_in_pf) { in lm_pf_find_vf_info_by_abs_id() 77 relative_vf_id = abs_vf_id - (u8_t)pdev->hw_info.sriov_info.first_vf_in_pf; in lm_pf_find_vf_info_by_abs_id() 213 num_vfs = pdev->hw_info.sriov_info.total_vfs; in lm_pf_allocate_vfs() 267 if (pdev->hw_info.sriov_info.sriov_control & 0x0001) { in lm_pf_allocate_vfs() 268 lm_status = lm_pf_init_vfs(pdev, pdev->hw_info.sriov_info.num_vfs); in lm_pf_allocate_vfs() 269 …DbgMessage(pdev, WARN, "SRIOV enable(after FLR): init %d VFs: status %d\n",pdev->hw_info.sriov_inf… in lm_pf_allocate_vfs() 276 for (vf_idx = 0; vf_idx < pdev->hw_info.sriov_info.num_vfs; vf_idx++) { in lm_pf_allocate_vfs() 278 … lm_status = lm_pf_enable_vf(pdev, pdev->hw_info.sriov_info.first_vf_in_pf + vf_idx); in lm_pf_allocate_vfs() 320 …pdev->vfs_set.vfs_array[vf_idx].abs_vf_id = (u8_t)(vf_idx + pdev->hw_info.sriov_info.first_vf_in_p… in lm_pf_init_vfs() [all …]
|
H A D | lm_phy.c | 696 …if (IS_MULTI_VNIC(pdev) && (GET_FLAGS(pdev->hw_info.mf_info.func_mf_cfg, FUNC_MF_CFG_FUNC_DISABLED… in get_link_params() 844 if( IS_MULTI_VNIC(pdev) && pdev->hw_info.mcp_detected ) in lm_reload_link_and_cmng() 1020 SET_FLAGS( pdev->params.link.multi_phy_config, pdev->hw_info.multi_phy_config); in lm_set_phy_priority_mode() 1084 …if(pdev->hw_info.mcp_detected && ((speed == LM_MEDIUM_SPEED_HARDWARE_DEFAULT) || (IS_MULTI_VNIC(pd… in lm_set_phy_link_params() 1086 …, WARN, "lm_init_phy: pdev->hw_info.link_config[phy_num] = 0x%x\n",pdev->hw_info.link_config[phy_n… in lm_set_phy_link_params() 1087 switch(pdev->hw_info.link_config[phy_num] & PORT_FEATURE_LINK_SPEED_MASK) in lm_set_phy_link_params() 1276 if( 0x1120 == pdev->hw_info.svid ) in lm_init_phy() 1278 switch (pdev->hw_info.ssid) in lm_init_phy() 1440 if( pdev->hw_info.no_10g_kr ) in lm_init_phy() 1797 if( len <= sizeof(pdev->hw_info.sz_ext_phy_fw_ver) ) in lm_get_external_phy_fw_version() [all …]
|
H A D | lm_nvram.c | 424 if(offset + buf_size > pdev->hw_info.flash_spec.total_size) in lm_nvram_read() 500 if(offset + buf_size > pdev->hw_info.flash_spec.total_size) in lm_nvram_write() 502 …e failed ! buf_size %d larger than NVM total_size %d\n", buf_size, pdev->hw_info.flash_spec.total_… in lm_nvram_write()
|
H A D | lm_power.c | 450 …pdev->hw_info.saved_pf0_pcie_mps = GET_FLAGS(pf0_pcie_status_control, PCICFG_DEVICE_CONTROL_MPS_MA… in lm_pcie_state_save_for_d3() 469 (INVALID_MPS != pdev->hw_info.saved_pf0_pcie_mps)) //and if there was a previous value saved in lm_pcie_state_restore_for_d0() 479 if ( ( pf0_mps != pdev->hw_info.saved_pf0_pcie_mps) && in lm_pcie_state_restore_for_d0() 483 SET_FLAGS(pf0_pcie_status_control, pdev->hw_info.saved_pf0_pcie_mps); in lm_pcie_state_restore_for_d0()
|
H A D | lm_niv.c | 113 lm_hardware_mf_info_t *mf_info = &pdev->hw_info.mf_info; in lm_niv_set_loopback_mode_enable() 132 lm_hardware_mf_info_t *mf_info = &pdev->hw_info.mf_info; in lm_niv_set_loopback_mode_disable() 460 pdev->hw_info.mf_info.func_mf_cfg = func_mf_config ; in lm_niv_vif_set()
|
/illumos-gate/usr/src/uts/common/io/bnx/570x/driver/common/lmdev/ |
H A D | bnx_hw_nvram.c | 270 if (!pdev->hw_info.flash_spec.buffered) in enable_nvram_write() 320 if (!pdev->hw_info.flash_spec.buffered) in disable_nvram_write() 416 if (pdev->hw_info.flash_spec.buffered) in nvram_erase_page() 493 offset = ((offset / pdev->hw_info.flash_spec.page_size) << in nvram_read_dword() 494 pdev->hw_info.flash_spec.shift_bits) + in nvram_read_dword() 495 (offset % pdev->hw_info.flash_spec.page_size); in nvram_read_dword() 577 offset = ((offset / pdev->hw_info.flash_spec.page_size) << in nvram_write_dword() 578 pdev->hw_info.flash_spec.shift_bits) + in nvram_write_dword() 579 (offset % pdev->hw_info.flash_spec.page_size); in nvram_write_dword() 859 pdev->hw_info.flash_spec.buffered = 0; in lm_nvram_init() [all …]
|
H A D | bnx_lm_main.c | 230 pdev->hw_info.shmem_base + in get_max_conns() 238 pdev->hw_info.shmem_base + in get_max_conns() 261 pdev->hw_info.shmem_base + in get_max_conns() 292 pdev->hw_info.shmem_base + in get_max_conns() 312 pdev->hw_info.shmem_base + in get_max_conns() 327 if(pdev->hw_info.svid == 0x103c) /* HP device. */ in get_max_conns() 341 if(pdev->hw_info.svid == 0x103c) /* HP device. */ in get_max_conns() 569 pdev->hw_info.vid = (u16_t) val; in lm_get_dev_info() 570 DbgMessage1(pdev, INFORMi, "vid 0x%x\n", pdev->hw_info.vid); in lm_get_dev_info() 572 pdev->hw_info.did = (u16_t) (val >> 16); in lm_get_dev_info() [all …]
|
H A D | bnx_hw_misc.c | 332 REG_WR(pdev, pci.pci_grc_window_addr, pdev->hw_info.shmem_base & ~0x7fff); in lm_reg_rd_blk() 417 REG_WR(pdev, pci.pci_grc_window_addr, pdev->hw_info.shmem_base & ~0x7fff); in lm_reg_wr_blk() 476 pdev->hw_info.shmem_base + OFFSETOF(shmem_region_t, drv_fw_mb.fw_mb), in lm_submit_fw_cmd() 491 pdev->hw_info.shmem_base + in lm_submit_fw_cmd() 520 pdev->hw_info.shmem_base + in lm_last_fw_cmd_status() 558 DbgBreakIf(cid < pdev->hw_info.first_l4_l5_bin); in lm_mb_get_cid_addr() 561 ((((cid - pdev->hw_info.first_l4_l5_bin) / in lm_mb_get_cid_addr() 562 pdev->hw_info.bin_size) + 256) << MB_KERNEL_CTX_SHIFT); in lm_mb_get_cid_addr() 565 DbgBreakIf(mq_offset > pdev->hw_info.bar_size); in lm_mb_get_cid_addr() 594 DbgBreakIf(cid < pdev->hw_info.first_l4_l5_bin); in lm_mb_get_bypass_addr() [all …]
|
H A D | bnx_hw_phy.c | 315 pdev->hw_info.phy_id = val << 16; in init_utp() 319 pdev->hw_info.phy_id |= val & 0xffff; in init_utp() 323 (pdev->hw_info.phy_id & 0x0fffffff) == 0x0fffffff || in init_utp() 324 pdev->hw_info.phy_id == 0); in init_utp() 871 pdev->hw_info.shmem_base + in init_5708_serdes() 948 if(pdev->hw_info.nvm_hw_config & SHARED_HW_CFG_BACKPLANE_APP) in init_5708_serdes() 962 pdev->hw_info.phy_id = val << 16; in init_5708_serdes() 970 pdev->hw_info.phy_id |= val & 0xffff; in init_5708_serdes() 973 DbgBreakIf((pdev->hw_info.phy_id & 0x0fffffff) == 0x0fffffff || in init_5708_serdes() 974 pdev->hw_info.phy_id == 0); in init_5708_serdes() [all …]
|
H A D | bnx_hw_reset.c | 87 pdev->hw_info.shmem_base + in fw_reset_sync() 100 pdev->hw_info.shmem_base + in fw_reset_sync() 118 pdev->hw_info.shmem_base + in fw_reset_sync() 500 pdev->hw_info.shmem_base + in lm_chip_reset() 522 pdev->hw_info.shmem_base + in lm_chip_reset() 534 pdev->hw_info.shmem_base + in lm_chip_reset() 688 (pdev->hw_info.shmem_base & ~0x7fff) | in lm_chip_reset() 693 (pdev->hw_info.shmem_base & ~0x7fff) + 0x6000 /*0x16e000 */); in lm_chip_reset() 721 REG_WR(pdev, pci.pci_grc_window_addr, pdev->hw_info.shmem_base & ~0x7fff); in lm_chip_reset() 766 pdev->hw_info.shmem_base + in lm_chip_reset() [all …]
|
H A D | lm5706.h | 619 #define CHIP_NUM(_p) (((_p)->hw_info.chip_id) & 0xffff0000) 625 #define CHIP_REV(_p) (((_p)->hw_info.chip_id) & 0x0000f000) 632 #define CHIP_METAL(_p) (((_p)->hw_info.chip_id) & 0x00000ff0) 633 #define CHIP_BONDING(_p) (((_p)->hw_info.chip_id) & 0x0000000f) 635 #define CHIP_ID(_p) (((_p)->hw_info.chip_id) & 0xfffffff0) 653 #define CHIP_BOND_ID(_p) (((_p)->hw_info.chip_id) & 0xf) 1003 lm_hardware_info_t hw_info; member
|
/illumos-gate/usr/src/uts/common/io/xge/hal/xgehal/ |
H A D | xgehal-stats.c | 51 stats->hw_info = in __hal_stats_initialize() 59 if (stats->hw_info == NULL) { in __hal_stats_initialize() 63 xge_os_memzero(stats->hw_info, in __hal_stats_initialize() 74 stats->hw_info, in __hal_stats_initialize() 87 (unsigned long long)(ulong_t)stats->hw_info); in __hal_stats_initialize() 89 stats->hw_info, in __hal_stats_initialize() 157 (unsigned long long)(ulong_t)stats->hw_info); in __hal_stats_initialize() 193 xge_os_memcpy(&stats->hw_info_saved, stats->hw_info, in __hal_stats_save() 220 xge_assert(stats->hw_info); in __hal_stats_disable() 252 xge_assert(stats->hw_info); in __hal_stats_terminate() [all …]
|
/illumos-gate/usr/src/uts/common/io/qede/579xx/drivers/ecore/ |
H A D | ecore.h | 426 ((dev)->hw_info.personality == ECORE_PCI_ETH_ROCE || \ 427 (dev)->hw_info.personality == ECORE_PCI_ETH_IWARP || \ 428 (dev)->hw_info.personality == ECORE_PCI_ETH_RDMA) 430 ((dev)->hw_info.personality == ECORE_PCI_ETH_ROCE || \ 431 (dev)->hw_info.personality == ECORE_PCI_ETH_RDMA) 433 ((dev)->hw_info.personality == ECORE_PCI_ETH_IWARP || \ 434 (dev)->hw_info.personality == ECORE_PCI_ETH_RDMA) 436 ((dev)->hw_info.personality == ECORE_PCI_ETH || \ 439 ((dev)->hw_info.personality == ECORE_PCI_FCOE) 441 ((dev)->hw_info.personality == ECORE_PCI_ISCSI) [all …]
|
H A D | ecore_dev.c | 209 if (p_hwfn->hw_info.personality == ECORE_PCI_FCOE) in ecore_resc_free() 213 if (p_hwfn->hw_info.personality == ECORE_PCI_ISCSI) { in ecore_resc_free() 251 switch (p_hwfn->hw_info.personality) { in ecore_get_pq_flags() 268 DP_ERR(p_hwfn, "unknown personality %d\n", p_hwfn->hw_info.personality); in ecore_get_pq_flags() 279 return p_hwfn->hw_info.num_hw_tc; in ecore_init_qm_get_num_tcs() 434 #define PQ_INIT_OFLD_TC (p_hwfn->hw_info.offload_tc) 791 p_hwfn->hw_info.hw_mode); in ecore_qm_reconf() 967 if (p_hwfn->hw_info.personality == ECORE_PCI_ETH_ROCE) { in ecore_resc_alloc() 977 } else if (p_hwfn->hw_info.personality == ECORE_PCI_ISCSI) { in ecore_resc_alloc() 1010 if (p_hwfn->hw_info.personality == ECORE_PCI_FCOE) { in ecore_resc_alloc() [all …]
|
H A D | ecore_sp_commands.c | 342 init_data.opaque_fid = p_hwfn->hw_info.opaque_fid; in ecore_sp_pf_start() 374 p_ramrod->outer_tag = p_hwfn->hw_info.ovlan; in ecore_sp_pf_start() 390 switch (p_hwfn->hw_info.personality) { in ecore_sp_pf_start() 407 p_hwfn->hw_info.personality); in ecore_sp_pf_start() 444 init_data.opaque_fid = p_hwfn->hw_info.opaque_fid; in ecore_sp_pf_update_dcbx() 470 init_data.opaque_fid = p_hwfn->hw_info.opaque_fid; in ecore_sp_rl_update() 528 init_data.opaque_fid = p_hwfn->hw_info.opaque_fid; in ecore_sp_pf_update_tunn_cfg() 559 init_data.opaque_fid = p_hwfn->hw_info.opaque_fid; in ecore_sp_pf_stop() 580 init_data.opaque_fid = p_hwfn->hw_info.opaque_fid; in ecore_sp_heartbeat_ramrod() 601 init_data.opaque_fid = p_hwfn->hw_info.opaque_fid; in ecore_sp_pf_update_stag() [all …]
|
H A D | ecore_int.c | 1465 u8 num_tc = p_hwfn->hw_info.num_hw_tc; in ecore_int_cau_conf_sb() 1519 p_block = &p_hwfn->hw_info.p_igu_info->entry[igu_id]; in ecore_get_igu_free_sb() 1541 p_block = &p_hwfn->hw_info.p_igu_info->entry[igu_id]; in ecore_get_pf_igu_sb_id() 1560 igu_sb_id = p_hwfn->hw_info.p_igu_info->igu_dsb_id; in ecore_get_igu_sb_id() 1601 p_info = p_hwfn->hw_info.p_igu_info; in ecore_int_sb_init() 1658 p_info = p_hwfn->hw_info.p_igu_info; in ecore_int_sb_release() 1941 p_block = &p_hwfn->hw_info.p_igu_info->entry[igu_sb_id]; in ecore_int_igu_init_pure_rt_single() 1982 struct ecore_igu_info *p_info = p_hwfn->hw_info.p_igu_info; in ecore_int_igu_init_pure_rt() 2005 p_hwfn->hw_info.opaque_fid, in ecore_int_igu_init_pure_rt() 2012 p_hwfn->hw_info.opaque_fid, in ecore_int_igu_init_pure_rt() [all …]
|
/illumos-gate/usr/src/uts/common/io/bnxe/ |
H A D | bnxe_hw.c | 305 switch ((uint32_t)pLM->hw_info.link_config[i] & in BnxeHwReqPhyMediumSettings() 330 switch ((uint32_t)pLM->hw_info.link_config[i] & in BnxeHwReqPhyMediumSettings() 375 switch ((uint32_t)pLM->hw_info.link_config[i] & in BnxeHwReqPhyMediumSettings() 414 if (((pLM->hw_info.link_config[i] & in BnxeHwReqPhyMediumSettings() 417 ((pLM->hw_info.link_config[i] & in BnxeHwReqPhyMediumSettings() 433 if (((pLM->hw_info.link_config[i] & in BnxeHwReqPhyMediumSettings() 436 ((pLM->hw_info.link_config[i] & in BnxeHwReqPhyMediumSettings() 452 if (((pLM->hw_info.link_config[i] & in BnxeHwReqPhyMediumSettings() 455 ((pLM->hw_info.link_config[i] & in BnxeHwReqPhyMediumSettings() 471 if (((pLM->hw_info.link_config[i] & in BnxeHwReqPhyMediumSettings() [all …]
|
H A D | bnxe_fcoe.c | 1043 COPY_ETH_ADDRESS(pUM->lm_dev.hw_info.fcoe_mac_addr, pData); in BnxeFcoePrvCtl() 1072 COPY_ETH_ADDRESS(pData, pUM->lm_dev.hw_info.fcoe_mac_addr); in BnxeFcoePrvCtl() 1075 pUM->lm_dev.hw_info.fcoe_mac_addr); in BnxeFcoePrvCtl() 1207 pUM->lm_dev.hw_info.board_num[0], in BnxeFcoePrvCtl() 1208 pUM->lm_dev.hw_info.board_num[1], in BnxeFcoePrvCtl() 1209 pUM->lm_dev.hw_info.board_num[2], in BnxeFcoePrvCtl() 1210 pUM->lm_dev.hw_info.board_num[3], in BnxeFcoePrvCtl() 1211 pUM->lm_dev.hw_info.board_num[4], in BnxeFcoePrvCtl() 1212 pUM->lm_dev.hw_info.board_num[5], in BnxeFcoePrvCtl() 1213 pUM->lm_dev.hw_info.board_num[6], in BnxeFcoePrvCtl() [all …]
|
H A D | bnxe_main.c | 114 if (pUM->lm_dev.hw_info.mcp_detected == 1) in BnxeProtoSupport() 141 port_feature_config_sf = (pUM->lm_dev.hw_info.port_feature_config & in BnxeProtoSupport() 672 ((pUM->lm_dev.hw_info.bc_rev >> 24) & 0xff), in BnxeAttachDevice() 673 ((pUM->lm_dev.hw_info.bc_rev >> 16) & 0xff), in BnxeAttachDevice() 674 ((pUM->lm_dev.hw_info.bc_rev >> 8) & 0xff)); in BnxeAttachDevice() 684 pUM->lm_dev.hw_info.chip_id); in BnxeAttachDevice()
|
/illumos-gate/usr/src/cmd/mdb/common/modules/libmlsvc/ |
H A D | smb_ht.c | 27 struct hw_info { struct 41 struct hw_info *hw; in smb_ht_walk_init() argument 75 struct hw_info *hw = wsp->walk_data; in smb_ht_walk_step()
|
/illumos-gate/usr/src/uts/common/io/bnxe/577xx/drivers/common/lm/include/ |
H A D | lm5710.h | 142 …e LM_VF_CID_WND_SIZE(_pdev) (((_pdev)->hw_info.sriov_info.max_chains_per_vf) ? (_pdev)->h… 143 …e LM_VF_CHAINS_PER_PF(_pdev) (((_pdev)->hw_info.sriov_info.max_chains_per_vf) ? (_pdev)->h… 1019 #define SHMEM_BASE(pdev) (pdev->hw_info.shmem_base) 1441 …#define NIV_FUNCTION_ENABLED(_pdev) (GET_FLAGS((_pdev)->hw_info.mf_info.func_mf_cfg, FUNC_MF_CFG_F… 1454 #define OVLAN(_pdev) ((_pdev)->hw_info.mf_info.ext_id) 1455 #define VIF_ID(_pdev) ((_pdev)->hw_info.mf_info.ext_id) 1458 #define NIV_DEFAULT_VLAN(_pdev) ((_pdev)->hw_info.mf_info.default_vlan) 1461 #define NIV_ALLOWED_PRIORITIES(_pdev) ((_pdev)->hw_info.mf_info.niv_allowed_priorities) 1464 #define NIV_DEFAULT_COS(_pdev) ((_pdev)->hw_info.mf_info.niv_default_cos) 1470 #define AFEX_VLAN_MODE(_pdev) ((_pdev)->hw_info.mf_info.afex_vlan_mode) [all …]
|
/illumos-gate/usr/src/uts/common/io/xge/drv/ |
H A D | xgell.c | 2166 xge_hal_stats_hw_info_t *hw_info; in xgell_m_stat() local 2179 if (xge_hal_stats_hw(hldev, &hw_info) != XGE_HAL_OK) { in xgell_m_stat() 2190 *val = ((u64) hw_info->rmac_vld_mcst_frms_oflow << 32) | in xgell_m_stat() 2191 hw_info->rmac_vld_mcst_frms; in xgell_m_stat() 2195 *val = ((u64) hw_info->rmac_vld_bcst_frms_oflow << 32) | in xgell_m_stat() 2196 hw_info->rmac_vld_bcst_frms; in xgell_m_stat() 2200 *val = ((u64) hw_info->tmac_mcst_frms_oflow << 32) | in xgell_m_stat() 2201 hw_info->tmac_mcst_frms; in xgell_m_stat() 2205 *val = ((u64) hw_info->tmac_bcst_frms_oflow << 32) | in xgell_m_stat() 2206 hw_info->tmac_bcst_frms; in xgell_m_stat() [all …]
|
/illumos-gate/usr/src/uts/common/io/bnxe/577xx/drivers/common/lm/vf/basic_vf/ |
H A D | lm_vf.c | 86 bar_addr->as_u64 = PFDEV(pdev)->hw_info.sriov_info.vf_bars[bar_num].as_u64 + in lm_vf_get_bar_offset() 87 REL_VFID(pdev)*pdev->hw_info.bar_size[bar_num]; in lm_vf_get_bar_offset() 89 …DbgMessage2(pdev, FATAL, "A: 0x%x, S: 0x%x\n", bar_addr->as_u32.low, pdev->hw_info.bar_size[bar_nu… in lm_vf_get_bar_offset() 108 if (pdev->params.vf_num_in_path < PFDEV(pdev)->hw_info.sriov_info.first_vf_in_pf) { in lm_vf_get_vf_id() 109 DbgBreakIf(pdev->params.vf_num_in_path < PFDEV(pdev)->hw_info.sriov_info.first_vf_in_pf); in lm_vf_get_vf_id() 112 …pdev->params.vf_num_in_pf = pdev->params.vf_num_in_path - PFDEV(pdev)->hw_info.sriov_info.first_vf… in lm_vf_get_vf_id() 177 base_vfid = pf_dev->hw_info.sriov_info.first_vf_in_pf; in lm_vf_dis()
|
/illumos-gate/usr/src/uts/common/io/bnxe/577xx/drivers/common/lm/vf/channel_vf/ |
H A D | lm_vf.c | 117 response->pfdev_info.chip_num = pdev->hw_info.chip_id;//CHIP_NUM(pdev); in lm_pf_vf_fill_acquire_response() 1634 pdev->hw_info.chip_id = presp->pfdev_info.chip_num; in lm_vf_pf_acquire_msg() 1635 pdev->hw_info.intr_blk_info.blk_type = INTR_BLK_IGU; in lm_vf_pf_acquire_msg() 1636 pdev->hw_info.intr_blk_info.blk_mode = INTR_BLK_MODE_NORM; in lm_vf_pf_acquire_msg() 1637 pdev->hw_info.intr_blk_info.access_type = INTR_BLK_ACCESS_IGUMEM; in lm_vf_pf_acquire_msg() 1640 pdev->hw_info.intr_blk_info.igu_info.igu_base_sb = presp->resc.hw_sbs[0].hw_sb_id; in lm_vf_pf_acquire_msg() 1641 pdev->hw_info.intr_blk_info.igu_info.igu_sb_cnt = presp->resc.igu_cnt; in lm_vf_pf_acquire_msg() 1642 pdev->hw_info.intr_blk_info.igu_info.igu_test_sb_cnt = presp->resc.igu_test_cnt; in lm_vf_pf_acquire_msg() 1668 … pdev->params.mac_addr[0] = pdev->hw_info.mac_addr[0] = presp->resc.current_mac_addr[0]; in lm_vf_pf_acquire_msg() 1669 … pdev->params.mac_addr[1] = pdev->hw_info.mac_addr[1] = presp->resc.current_mac_addr[1]; in lm_vf_pf_acquire_msg() [all …]
|