i40e: Set defport behavior for the Main VSI when in promiscuous mode
authorAnjali Singhai Jain <anjali.singhai@intel.com>
Tue, 28 Jul 2015 17:02:00 +0000 (13:02 -0400)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Tue, 1 Sep 2015 23:33:00 +0000 (16:33 -0700)
commit92faef85613d6d56803ad6130f6daf4a803deddc
tree0f9424a9262decb769e4342ea63f3bff24c3cb56
parent63b6c13dbb7d3e36f031629f7e4e86dacfcab8cf
i40e: Set defport behavior for the Main VSI when in promiscuous mode

This fixes bugs where the port is not receiving multicast or VLAN tagged
packets when in promiscuous mode. This can occur when a SW bridge is
created on top of the device.

This also fixes issues where the promiscuous behavior setting was not
being preserved across a reset caused by features being enabled or
disabled.

We are using defport instead of doing a true promiscuous mode because we do
not need to receive the SRIOV or VMDq VSI directed traffic which would suck
up bandwidth and is really not intended for the SW bridge.

In addition, with defport we get VLAN promiscuous behavior which is not
possible from the VSI level promiscuous setting.

Change-ID: Ie21985eac32d5af1c02e9d71c6430a90d5bab40f
Signed-off-by: Anjali Singhai Jain <anjali.singhai@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/i40e/i40e.h
drivers/net/ethernet/intel/i40e/i40e_main.c
This page took 0.02649 seconds and 5 git commands to generate.