ixgbe: move num_vfs_macvlans allocation into separate function
authorEmil Tantilov <emil.s.tantilov@intel.com>
Fri, 20 Jan 2017 22:11:45 +0000 (14:11 -0800)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Tue, 18 Apr 2017 20:11:54 +0000 (13:11 -0700)
commit2bc0972988c770dce093584ffd641856e3b18c5c
treea6e6af401ccbd59d87e8bcfb4dc02d5b21359028
parent5b9d3cfb6b362a407d0c1ced588b962c5c934f24
ixgbe: move num_vfs_macvlans allocation into separate function

Move the code allocating memory for list of MAC addresses that
the VFs can use for MACVLAN into its own function.

Signed-off-by: Emil Tantilov <emil.s.tantilov@intel.com>
Tested-by: Andrew Bowers <andrewx.bowers@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/ixgbe/ixgbe_sriov.c