Home
last modified time | relevance | path

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

/linux-5.19.10/drivers/net/ethernet/intel/ixgbe/
Dixgbe_sriov.c28 struct vf_macvlans *mv_list; in ixgbe_alloc_vf_macvlans() local
36 mv_list = kcalloc(num_vf_macvlans, sizeof(struct vf_macvlans), in ixgbe_alloc_vf_macvlans()
38 if (mv_list) { in ixgbe_alloc_vf_macvlans()
42 mv_list[i].vf = -1; in ixgbe_alloc_vf_macvlans()
43 mv_list[i].free = true; in ixgbe_alloc_vf_macvlans()
44 list_add(&mv_list[i].l, &adapter->vf_mvs.l); in ixgbe_alloc_vf_macvlans()
46 adapter->mv_list = mv_list; in ixgbe_alloc_vf_macvlans()
231 kfree(adapter->mv_list); in ixgbe_disable_sriov()
232 adapter->mv_list = NULL; in ixgbe_disable_sriov()
Dixgbe.h749 struct vf_macvlans *mv_list; member
/linux-5.19.10/drivers/net/ethernet/intel/i40e/
Di40e_prototype.h166 struct i40e_aqc_add_macvlan_element_data *mv_list,
170 struct i40e_aqc_add_macvlan_element_data *mv_list,
174 struct i40e_aqc_remove_macvlan_element_data *mv_list,
178 struct i40e_aqc_remove_macvlan_element_data *mv_list,
Di40e_common.c2648 i40e_prepare_add_macvlan(struct i40e_aqc_add_macvlan_element_data *mv_list, in i40e_prepare_add_macvlan() argument
2656 buf_size = count * sizeof(*mv_list); in i40e_prepare_add_macvlan()
2666 if (is_multicast_ether_addr(mv_list[i].mac_addr)) in i40e_prepare_add_macvlan()
2667 mv_list[i].flags |= in i40e_prepare_add_macvlan()
2689 struct i40e_aqc_add_macvlan_element_data *mv_list, in i40e_aq_add_macvlan() argument
2695 if (count == 0 || !mv_list || !hw) in i40e_aq_add_macvlan()
2698 buf_size = i40e_prepare_add_macvlan(mv_list, &desc, count, seid); in i40e_aq_add_macvlan()
2700 return i40e_asq_send_command_atomic(hw, &desc, mv_list, buf_size, in i40e_aq_add_macvlan()
2721 struct i40e_aqc_add_macvlan_element_data *mv_list, in i40e_aq_add_macvlan_v2() argument
2728 if (count == 0 || !mv_list || !hw) in i40e_aq_add_macvlan_v2()
[all …]