]> git.proxmox.com Git - mirror_ubuntu-eoan-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)
commit361b53436fdcc6a188d333a2a0ab105c55ec1842
treef3d2ed7cccc1beb3808ca2814996be890fb3ffc8
parent1b953e843d82d1b342d071f19f8b03f227feb8ab
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