]> www.infradead.org Git - users/jedix/linux-maple.git/commit
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)
committerBrian Maly <brian.maly@oracle.com>
Mon, 21 Sep 2015 22:23:55 +0000 (18:23 -0400)
commitc0496c116b2d6a53f67e1795beca6e7f319a1657
treee99d14288090ad73ae239eaed3c25715ed8f6315
parentf0fa84516b1f00951cd56ea177cc363617c36ed8
i40e: Set defport behavior for the Main VSI when in promiscuous mode

Orabug: 21764569

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>
(cherry picked from commit 92faef85613d6d56803ad6130f6daf4a803deddc)
Signed-off-by: Brian Maly <brian.maly@oracle.com>
drivers/net/ethernet/intel/i40e/i40e.h
drivers/net/ethernet/intel/i40e/i40e_main.c