]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commita0cf60dfb1b6171ef23ca57df97f27f29be6dc0b
treea6e6af401ccbd59d87e8bcfb4dc02d5b21359028
parentf2be11728371022c379a53f770ce10cff16cf932
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