]> git.baikalelectronics.ru Git - kernel.git/commit
i40e: VF's promiscuous attribute is not kept
authorGrzegorz Siwik <grzegorz.siwik@intel.com>
Fri, 29 Mar 2019 22:08:30 +0000 (15:08 -0700)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Sat, 4 May 2019 23:55:34 +0000 (16:55 -0700)
commit0346f234103b3e94b3db3833a34f12710e1f56f6
tree3591a428f81db9fa6116df866c8f1f133b38e6b4
parent33727623d6774ee91b015b793d8652e30d15aa3f
i40e: VF's promiscuous attribute is not kept

This patch fixes a bug where the promiscuous mode was not being
kept when the VF switched to a new VLAN.
Now we are config two times a promiscuous mode when we switch VLAN.
Without this change when we change VF VLAN we still receive
all the packets from previous VLAN and only unicast from new VLAN.

Signed-off-by: Grzegorz Siwik <grzegorz.siwik@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