Searched refs:num_vf_macvlans (Results 1 – 2 of 2) sorted by relevance
25 int num_vf_macvlans, i; in wx_alloc_vf_macvlans() local30 num_vf_macvlans = wx->mac.num_rar_entries - in wx_alloc_vf_macvlans()32 if (!num_vf_macvlans) in wx_alloc_vf_macvlans()35 mv_list = kzalloc_objs(struct vf_macvlans, num_vf_macvlans); in wx_alloc_vf_macvlans()39 for (i = 0; i < num_vf_macvlans; i++) { in wx_alloc_vf_macvlans()
30 int num_vf_macvlans, i; in ixgbe_alloc_vf_macvlans() local35 num_vf_macvlans = hw->mac.num_rar_entries - in ixgbe_alloc_vf_macvlans()37 if (!num_vf_macvlans) in ixgbe_alloc_vf_macvlans()40 mv_list = kzalloc_objs(struct vf_macvlans, num_vf_macvlans); in ixgbe_alloc_vf_macvlans()42 for (i = 0; i < num_vf_macvlans; i++) { in ixgbe_alloc_vf_macvlans()