Home
last modified time | relevance | path

Searched refs:mv_list (Results 1 – 4 of 4) sorted by relevance

/linux-6.15/drivers/net/ethernet/intel/ixgbe/
H A Dixgbe_sriov.c29 struct vf_macvlans *mv_list; in ixgbe_alloc_vf_macvlans() local
40 mv_list = kcalloc(num_vf_macvlans, sizeof(struct vf_macvlans), in ixgbe_alloc_vf_macvlans()
42 if (mv_list) { in ixgbe_alloc_vf_macvlans()
44 mv_list[i].vf = -1; in ixgbe_alloc_vf_macvlans()
45 mv_list[i].free = true; in ixgbe_alloc_vf_macvlans()
46 list_add(&mv_list[i].l, &adapter->vf_mvs.l); in ixgbe_alloc_vf_macvlans()
48 adapter->mv_list = mv_list; in ixgbe_alloc_vf_macvlans()
233 kfree(adapter->mv_list); in ixgbe_disable_sriov()
234 adapter->mv_list = NULL; in ixgbe_disable_sriov()
H A Dixgbe.h796 struct vf_macvlans *mv_list; member
/linux-6.15/drivers/net/ethernet/intel/i40e/
H A Di40e_common.c2237 buf_size = count * sizeof(*mv_list); in i40e_prepare_add_macvlan()
2247 if (is_multicast_ether_addr(mv_list[i].mac_addr)) in i40e_prepare_add_macvlan()
2248 mv_list[i].flags |= in i40e_prepare_add_macvlan()
2270 struct i40e_aqc_add_macvlan_element_data *mv_list, in i40e_aq_add_macvlan() argument
2276 if (count == 0 || !mv_list || !hw) in i40e_aq_add_macvlan()
2309 if (count == 0 || !mv_list || !hw) in i40e_aq_add_macvlan_v2()
2339 if (count == 0 || !mv_list || !hw) in i40e_aq_remove_macvlan()
2342 buf_size = count * sizeof(*mv_list); in i40e_aq_remove_macvlan()
2378 struct i40e_aqc_remove_macvlan_element_data *mv_list, in i40e_aq_remove_macvlan_v2() argument
2386 if (count == 0 || !mv_list || !hw) in i40e_aq_remove_macvlan_v2()
[all …]
H A Di40e_prototype.h152 struct i40e_aqc_add_macvlan_element_data *mv_list,
156 struct i40e_aqc_add_macvlan_element_data *mv_list,
160 struct i40e_aqc_remove_macvlan_element_data *mv_list,
164 struct i40e_aqc_remove_macvlan_element_data *mv_list,