Lines Matching refs:macvlan_cnt
7853 vsi->macvlan_cnt = 0; in i40e_free_macvlan_channels()
7937 static int i40e_setup_macvlans(struct i40e_vsi *vsi, u16 macvlan_cnt, u16 qcnt, in i40e_setup_macvlans() argument
7948 if (vsi->type != I40E_VSI_MAIN || !macvlan_cnt) in i40e_setup_macvlans()
7951 num_qps = vsi->num_queue_pairs - (macvlan_cnt * qcnt); in i40e_setup_macvlans()
8005 for (i = 0; i < macvlan_cnt; i++) { in i40e_setup_macvlans()
8020 vsi->macvlan_cnt++; in i40e_setup_macvlans()
8041 u16 q_per_macvlan = 0, macvlan_cnt = 0, vectors; in i40e_fwd_add() local
8066 if (!vsi->macvlan_cnt) { in i40e_fwd_add()
8078 macvlan_cnt = (vectors - 32) / 4; in i40e_fwd_add()
8082 macvlan_cnt = (vectors - 16) / 2; in i40e_fwd_add()
8086 macvlan_cnt = vectors - 16; in i40e_fwd_add()
8090 macvlan_cnt = vectors - 8; in i40e_fwd_add()
8094 macvlan_cnt = vectors - 1; in i40e_fwd_add()
8097 if (macvlan_cnt == 0) in i40e_fwd_add()
8104 ret = i40e_setup_macvlans(vsi, macvlan_cnt, q_per_macvlan, in i40e_fwd_add()
8113 vsi->macvlan_cnt); in i40e_fwd_add()
13016 if (!(features & NETIF_F_HW_L2FW_DOFFLOAD) && vsi->macvlan_cnt) in i40e_set_features()