]> git.baikalelectronics.ru Git - kernel.git/commit
ixgbe: Fix interaction between SR-IOV and macvlan offload
authorAlexander Duyck <alexander.h.duyck@intel.com>
Wed, 22 Nov 2017 18:56:16 +0000 (10:56 -0800)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Tue, 9 Jan 2018 16:40:13 +0000 (08:40 -0800)
commit3b1fd27258bfb69f60ecb34353e60e04ef237ed3
treef3d2ed7cccc1beb3808ca2814996be890fb3ffc8
parentcdffe6af8bc9808a8158bcbc9d8f7a182f408c4c
ixgbe: Fix interaction between SR-IOV and macvlan offload

When SR-IOV was enabled the macvlan offload was configuring several filters
with the wrong pool value. This would result in the macvlan interfaces not
being able to receive traffic that had to pass over the physical interface.

To fix it wrap the pool argument in the VMDQ_P macro which will add the
necessary offset to get to the actual VMDq pool

Signed-off-by: Alexander Duyck <alexander.h.duyck@intel.com>
Tested-by: Andrew Bowers <andrewx.bowers@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/ixgbe/ixgbe_main.c