]> git.baikalelectronics.ru Git - kernel.git/commit
iavf: Create VLAN tag elements starting from the first element
authorAkeem G Abodunrin <akeem.g.abodunrin@intel.com>
Tue, 14 May 2019 17:36:59 +0000 (10:36 -0700)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Mon, 17 Jun 2019 22:39:25 +0000 (15:39 -0700)
commit2d9e8c9c80d208920717fe0a485512688691dee8
tree6d6a63b92232501cbfb85b78a83a58f4eedc7918
parenta8c7bd39044a4fb2a4a196c23d4a17cdf3b07a5a
iavf: Create VLAN tag elements starting from the first element

This patch changes how VLAN tag are being populated and programmed into
the HW - Instead of start adding VF VLAN tag from the last member of the
element list, start from the first member of the list, until number of
allowed VLAN tags is exhausted in the HW.

Signed-off-by: Akeem G Abodunrin <akeem.g.abodunrin@intel.com>
Tested-by: Andrew Bowers <andrewx.bowers@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/iavf/iavf_main.c