]> git.baikalelectronics.ru Git - kernel.git/commit
i40e: limit sriov to partition 1 of NPAR configurations
authorShannon Nelson <shannon.nelson@intel.com>
Thu, 11 Dec 2014 07:06:34 +0000 (07:06 +0000)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Tue, 13 Jan 2015 19:48:20 +0000 (11:48 -0800)
commit9a2ade30bf084fdf1bccdf7b99e00a254cc88c08
treea851a6a690dbbb8443addc5240d9dcc9f6820c05
parentadc13f6cfd00dbfaa5601a53f0bcaabda7359b3c
i40e: limit sriov to partition 1 of NPAR configurations

Make sure we only allow SR/IOV on the master PF of a port in multifunction
mode.  This should be the case anyway based on the num_vfs configured in
the NVM, but this will help make sure there's no question.  If we're not
in multifunction mode the partition_id will always be 1.

Change-ID: I8b2592366fe6782f15301bde2ebd1d4da240109d
Signed-off-by: Shannon Nelson <shannon.nelson@intel.com>
Tested-by: Jim Young <james.m.young@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/i40e/i40e_main.c