Home
last modified time | relevance | path

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

/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 = 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()