]> 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)
commit97084a89902c6214d05234e3e94d0e6737fb6c91
tree6d6a63b92232501cbfb85b78a83a58f4eedc7918
parent2a9acbeaca1fb01ac89d4d22588d3d294142853f
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