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)
commitc2417a7b0e3c0bb173067bc06e6ba08c3138b5b1
tree6d6a63b92232501cbfb85b78a83a58f4eedc7918
parentf517f2716c34087ca15a36e9f13dbca8bd2e3ffc
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