Home
last modified time | relevance | path

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

/linux-4.4.14/drivers/net/ethernet/intel/ixgbe/
Dixgbe_sriov.c53 struct vf_macvlans *mv_list; in __ixgbe_enable_sriov() local
67 adapter->mv_list = mv_list = kcalloc(num_vf_macvlans, in __ixgbe_enable_sriov()
70 if (mv_list) { in __ixgbe_enable_sriov()
74 mv_list->vf = -1; in __ixgbe_enable_sriov()
75 mv_list->free = true; in __ixgbe_enable_sriov()
76 list_add(&mv_list->l, &adapter->vf_mvs.l); in __ixgbe_enable_sriov()
77 mv_list++; in __ixgbe_enable_sriov()
200 kfree(adapter->mv_list); in ixgbe_disable_sriov()
201 adapter->mv_list = NULL; in ixgbe_disable_sriov()
Dixgbe.h768 struct vf_macvlans *mv_list; member
/linux-4.4.14/drivers/net/ethernet/intel/i40e/
Di40e_prototype.h147 struct i40e_aqc_add_macvlan_element_data *mv_list,
150 struct i40e_aqc_remove_macvlan_element_data *mv_list,
Di40e_common.c2406 struct i40e_aqc_add_macvlan_element_data *mv_list, in i40e_aq_add_macvlan() argument
2415 if (count == 0 || !mv_list || !hw) in i40e_aq_add_macvlan()
2418 buf_size = count * sizeof(*mv_list); in i40e_aq_add_macvlan()
2431 status = i40e_asq_send_command(hw, &desc, mv_list, buf_size, in i40e_aq_add_macvlan()
2448 struct i40e_aqc_remove_macvlan_element_data *mv_list, in i40e_aq_remove_macvlan() argument
2457 if (count == 0 || !mv_list || !hw) in i40e_aq_remove_macvlan()
2460 buf_size = count * sizeof(*mv_list); in i40e_aq_remove_macvlan()
2473 status = i40e_asq_send_command(hw, &desc, mv_list, buf_size, in i40e_aq_remove_macvlan()