Home
last modified time | relevance | path

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

/linux/drivers/net/ethernet/wangxun/libwx/
H A Dwx_sriov.c24 struct vf_macvlans *mv_list; in wx_alloc_vf_macvlans() local
35 mv_list = kzalloc_objs(struct vf_macvlans, num_vf_macvlans); in wx_alloc_vf_macvlans()
36 if (!mv_list) in wx_alloc_vf_macvlans()
40 mv_list[i].vf = -1; in wx_alloc_vf_macvlans()
41 mv_list[i].free = true; in wx_alloc_vf_macvlans()
42 list_add(&mv_list[i].mvlist, &wx->vf_mvs.mvlist); in wx_alloc_vf_macvlans()
44 wx->mv_list = mv_list; in wx_alloc_vf_macvlans()
59 kfree(wx->mv_list); in wx_sriov_clear_data()
60 wx->mv_list = NULL; in wx_sriov_clear_data()
H A Dwx_type.h1368 struct vf_macvlans *mv_list; member
/linux/drivers/net/ethernet/intel/ixgbe/
H A Dixgbe_sriov.c29 struct vf_macvlans *mv_list; in ixgbe_alloc_vf_macvlans() local
40 mv_list = kzalloc_objs(struct vf_macvlans, num_vf_macvlans); in ixgbe_alloc_vf_macvlans()
41 if (mv_list) { in ixgbe_alloc_vf_macvlans()
43 mv_list[i].vf = -1; in ixgbe_alloc_vf_macvlans()
44 mv_list[i].free = true; in ixgbe_alloc_vf_macvlans()
45 list_add(&mv_list[i].l, &adapter->vf_mvs.l); in ixgbe_alloc_vf_macvlans()
47 adapter->mv_list = mv_list; in ixgbe_alloc_vf_macvlans()
232 kfree(adapter->mv_list); in ixgbe_disable_sriov()
233 adapter->mv_list = NULL; in ixgbe_disable_sriov()
H A Dixgbe.h813 struct vf_macvlans *mv_list; member
/linux/drivers/net/ethernet/intel/i40e/
H A Di40e_common.c2198 i40e_prepare_add_macvlan(struct i40e_aqc_add_macvlan_element_data *mv_list, in i40e_prepare_add_macvlan() argument
2205 buf_size = count * sizeof(*mv_list); in i40e_prepare_add_macvlan()
2215 if (is_multicast_ether_addr(mv_list[i].mac_addr)) in i40e_prepare_add_macvlan()
2216 mv_list[i].flags |= in i40e_prepare_add_macvlan()
2238 struct i40e_aqc_add_macvlan_element_data *mv_list, in i40e_aq_add_macvlan() argument
2244 if (count == 0 || !mv_list || !hw) in i40e_aq_add_macvlan()
2247 buf_size = i40e_prepare_add_macvlan(mv_list, &desc, count, seid); in i40e_aq_add_macvlan()
2249 return i40e_asq_send_command_atomic(hw, &desc, mv_list, buf_size, in i40e_aq_add_macvlan()
2270 struct i40e_aqc_add_macvlan_element_data *mv_list, in i40e_aq_add_macvlan_v2() argument
2277 if (count == 0 || !mv_list || !hw) in i40e_aq_add_macvlan_v2()
[all …]
H A Di40e_prototype.h153 struct i40e_aqc_add_macvlan_element_data *mv_list,
157 struct i40e_aqc_add_macvlan_element_data *mv_list,
161 struct i40e_aqc_remove_macvlan_element_data *mv_list,
165 struct i40e_aqc_remove_macvlan_element_data *mv_list,