Searched refs:resc_num (Results 1 - 2 of 2) sorted by relevance
/linux-4.4.14/drivers/net/ethernet/qlogic/qed/ |
H A D | qed_dev.c | 1018 u32 *resc_num = p_hwfn->hw_info.resc_num; qed_hw_get_resc() local 1024 resc_num[QED_SB] = min_t(u32, qed_hw_get_resc() 1027 resc_num[QED_L2_QUEUE] = MAX_NUM_L2_QUEUES_BB / num_funcs; qed_hw_get_resc() 1028 resc_num[QED_VPORT] = MAX_NUM_VPORTS_BB / num_funcs; qed_hw_get_resc() 1029 resc_num[QED_RSS_ENG] = ETH_RSS_ENGINE_NUM_BB / num_funcs; qed_hw_get_resc() 1030 resc_num[QED_PQ] = MAX_QM_TX_QUEUES_BB / num_funcs; qed_hw_get_resc() 1031 resc_num[QED_RL] = 8; qed_hw_get_resc() 1032 resc_num[QED_MAC] = ETH_NUM_MAC_FILTERS / num_funcs; qed_hw_get_resc() 1033 resc_num[QED_VLAN] = (ETH_NUM_VLAN_FILTERS - 1 /*For vlan0*/) / qed_hw_get_resc() 1035 resc_num[QED_ILT] = 950; qed_hw_get_resc() 1038 resc_start[i] = resc_num[i] * p_hwfn->rel_pf_id; qed_hw_get_resc() 1052 p_hwfn->hw_info.resc_num[QED_SB], qed_hw_get_resc() 1054 p_hwfn->hw_info.resc_num[QED_L2_QUEUE], qed_hw_get_resc() 1056 p_hwfn->hw_info.resc_num[QED_VPORT], qed_hw_get_resc() 1058 p_hwfn->hw_info.resc_num[QED_PQ], qed_hw_get_resc() 1060 p_hwfn->hw_info.resc_num[QED_RL], qed_hw_get_resc() 1062 p_hwfn->hw_info.resc_num[QED_MAC], qed_hw_get_resc() 1064 p_hwfn->hw_info.resc_num[QED_VLAN], qed_hw_get_resc() 1066 p_hwfn->hw_info.resc_num[QED_ILT], qed_hw_get_resc()
|
H A D | qed.h | 129 u32 resc_num[QED_MAX_RESC]; member in struct:qed_hw_info 133 #define RESC_NUM(_p_hwfn, resc) ((_p_hwfn)->hw_info.resc_num[resc])
|
Completed in 98 milliseconds