i40e: Restrict VF poll mode to only single function mode devices
authorShannon Nelson <shannon.nelson@intel.com>
Fri, 1 Apr 2016 10:56:08 +0000 (03:56 -0700)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Thu, 7 Apr 2016 01:38:55 +0000 (18:38 -0700)
commit14c5f5d264c3ee28e8ec9fd4dffb29f5d1ea1d02
treefc5480e9d3915383cc66b0e6bf9032090b252018
parentc3bbbd2002b9565475721bb17b17f48ef5927498
i40e: Restrict VF poll mode to only single function mode devices

The VFs can request their queues to be set up into polling mode, rather
than interrupt mode, which works well for supporting things like DPDK,
but this should not be available when working in an multi-function
support device.

Change-ID: Id36792e4e7422db8f2033336507211f68f14ff6f
Signed-off-by: Shannon Nelson <shannon.nelson@intel.com>
Tested-by: Andrew Bowers <andrewx.bowers@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/i40e/i40e_virtchnl_pf.c