]> git.baikalelectronics.ru Git - kernel.git/commit
i40e: Fix PROMISC mode for Multi-function per port (MFP) devices
authorAnjali Singhai Jain <anjali.singhai@intel.com>
Fri, 15 Jan 2016 22:33:13 +0000 (14:33 -0800)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Thu, 18 Feb 2016 06:54:41 +0000 (22:54 -0800)
commitaf6f4b1199abd1e9e6e6c147f317d73fa7252a41
tree8156eec86a3aca0ce5ba5e2665d2db1494dab93a
parent252f2fb5b0c3ef0573a6d2beaae518b6dea56a69
i40e: Fix PROMISC mode for Multi-function per port (MFP) devices

This patch falls back to enabling unicast, multicast and
broadcast promiscuous mode when the driver must disable it's use
of "default port" aka defport mode (which is normally used to
provide a promiscuous mode), due to internal incompatibility
with Multiple Function per Port (aka MFP).

The situation that requires this patch is when Physical
Function 0 is the device being used, and it can support SR-IOV
when MFP is enabled, via the driver creating a VEB on an MFP
enabled adapter.

Change-ID: Ie90b00d0d58782a5dfcf2c3c9725a2eb90bd63d8
Signed-off-by: Anjali Singhai Jain <anjali.singhai@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_main.c