• Home
  • Raw
  • Download

Lines Matching refs:hw_info

716 					    p_hwfn->hw_info.hw_mac_addr);  in qed_llh_hw_init_pf()
1382 if (p_hwfn->hw_info.personality == QED_PCI_FCOE) in qed_resc_free()
1385 if (p_hwfn->hw_info.personality == QED_PCI_ISCSI) { in qed_resc_free()
1390 if (p_hwfn->hw_info.personality == QED_PCI_NVMETCP) { in qed_resc_free()
1430 switch (p_hwfn->hw_info.personality) { in qed_get_pq_flags()
1452 "unknown personality %d\n", p_hwfn->hw_info.personality); in qed_get_pq_flags()
1462 return p_hwfn->hw_info.num_hw_tc; in qed_init_qm_get_num_tcs()
1649 return p_hwfn->hw_info.offload_tc_set; in qed_is_offload_tc_set()
1655 return p_hwfn->hw_info.offload_tc; in qed_get_offload_tc()
1857 p_hwfn->hw_info.offload_tc : tc, in qed_init_qm_mtc_pqs()
1967 p_hwfn->hw_info.multi_tc_roce_en = false; in qed_init_qm_sanity()
2106 p_hwfn->hw_info.hw_mode); in qed_qm_reconf()
2279 } else if (p_hwfn->hw_info.personality == QED_PCI_ISCSI || in qed_resc_alloc()
2280 p_hwfn->hw_info.personality == QED_PCI_NVMETCP) { in qed_resc_alloc()
2315 if (p_hwfn->hw_info.personality == QED_PCI_FCOE) { in qed_resc_alloc()
2321 if (p_hwfn->hw_info.personality == QED_PCI_ISCSI) { in qed_resc_alloc()
2330 if (p_hwfn->hw_info.personality == QED_PCI_NVMETCP) { in qed_resc_alloc()
2457 if (p_hwfn->hw_info.personality == QED_PCI_FCOE) in qed_resc_setup()
2460 if (p_hwfn->hw_info.personality == QED_PCI_ISCSI) { in qed_resc_setup()
2465 if (p_hwfn->hw_info.personality == QED_PCI_NVMETCP) { in qed_resc_setup()
2560 p_hwfn->hw_info.hw_mode = hw_mode; in qed_calc_hw_mode()
2564 p_hwfn->hw_info.hw_mode); in qed_calc_hw_mode()
2581 p_igu_info = p_hwfn->hw_info.p_igu_info; in qed_init_cau_rt_data()
2921 p_hwfn->hw_info.ovlan); in qed_hw_init_pf()
2939 ((p_hwfn->hw_info.personality == QED_PCI_ISCSI) || in qed_hw_init_pf()
2940 (p_hwfn->hw_info.personality == QED_PCI_NVMETCP)) ? 1 : 0); in qed_hw_init_pf()
2942 (p_hwfn->hw_info.personality == QED_PCI_FCOE) ? 1 : 0); in qed_hw_init_pf()
2987 if (p_hwfn->hw_info.personality == QED_PCI_FCOE) { in qed_hw_init_pf()
3091 if (!p_hwfn->hw_info.mtu) { in qed_hw_init()
3092 p_hwfn->hw_info.mtu = 1500; in qed_hw_init()
3195 p_hwfn->hw_info.hw_mode); in qed_hw_init()
3201 p_hwfn->hw_info.hw_mode); in qed_hw_init()
3209 p_hwfn->hw_info.hw_mode, in qed_hw_init()
3273 p_hwfn->hw_info.mtu); in qed_hw_init()
3428 p_hwfn->hw_info.hw_mac_addr); in qed_hw_stop()
3526 kfree(p_hwfn->hw_info.p_igu_info); in qed_hw_hwfn_free()
3527 p_hwfn->hw_info.p_igu_info = NULL; in qed_hw_hwfn_free()
3565 p_hwfn->hw_info.opaque_fid = (u16)REG_RD(p_hwfn, in get_function_id()
3568 p_hwfn->hw_info.concrete_fid = REG_RD(p_hwfn, PXP_PF_ME_CONCRETE_ADDR); in get_function_id()
3570 p_hwfn->abs_pf_id = (p_hwfn->hw_info.concrete_fid >> 16) & 0xf; in get_function_id()
3571 p_hwfn->rel_pf_id = GET_FIELD(p_hwfn->hw_info.concrete_fid, in get_function_id()
3573 p_hwfn->port_id = GET_FIELD(p_hwfn->hw_info.concrete_fid, in get_function_id()
3578 p_hwfn->hw_info.concrete_fid, p_hwfn->hw_info.opaque_fid); in get_function_id()
3583 u32 *feat_num = p_hwfn->hw_info.feat_num; in qed_hw_set_feat()
3831 if (p_hwfn->hw_info.personality != QED_PCI_ISCSI && in qed_hw_get_dflt_resc()
3832 p_hwfn->hw_info.personality != QED_PCI_FCOE && in qed_hw_get_dflt_resc()
3833 p_hwfn->hw_info.personality != QED_PCI_NVMETCP) in qed_hw_get_dflt_resc()
3854 else if (p_hwfn->hw_info.personality == QED_PCI_ISCSI || in qed_hw_get_dflt_resc()
3855 p_hwfn->hw_info.personality == QED_PCI_NVMETCP) in qed_hw_get_dflt_resc()
3857 else if (p_hwfn->hw_info.personality == QED_PCI_FCOE) in qed_hw_get_dflt_resc()
4389 &p_hwfn->hw_info.device_capabilities); in qed_hw_get_nvm_info()
4392 &p_hwfn->hw_info.device_capabilities); in qed_hw_get_nvm_info()
4395 &p_hwfn->hw_info.device_capabilities); in qed_hw_get_nvm_info()
4398 &p_hwfn->hw_info.device_capabilities); in qed_hw_get_nvm_info()
4406 p_hwfn->hw_info.part_num[i] = qed_rd(p_hwfn, p_ptt, addr + i * 4); in qed_hw_get_nvm_info()
4558 ether_addr_copy(p_hwfn->hw_info.hw_mac_addr, in qed_get_hw_info()
4561 eth_random_addr(p_hwfn->hw_info.hw_mac_addr); in qed_get_hw_info()
4565 p_hwfn->hw_info.ovlan = in qed_get_hw_info()
4579 p_hwfn->hw_info.personality = protocol; in qed_get_hw_info()
4583 p_hwfn->hw_info.multi_tc_roce_en = true; in qed_get_hw_info()
4585 p_hwfn->hw_info.num_hw_tc = NUM_PHYS_TCS_4PORT_K2; in qed_get_hw_info()
4586 p_hwfn->hw_info.num_active_tc = 1; in qed_get_hw_info()
4591 p_hwfn->hw_info.mtu = p_hwfn->mcp_info->func_info.mtu; in qed_get_hw_info()
4766 personality = p_hwfn->hw_info.personality; in qed_hw_prepare()