Home
last modified time | relevance | path

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

/linux/drivers/net/ethernet/wangxun/libwx/
H A Dwx_sriov.c25 int num_vf_macvlans, i; in wx_alloc_vf_macvlans() local
30 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()
/linux/drivers/net/ethernet/intel/ixgbe/
H A Dixgbe_sriov.c30 int num_vf_macvlans, i; in ixgbe_alloc_vf_macvlans() local
35 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()