igb: Merge VLVF configuration into igb_vfta_set
authorAlexander Duyck <aduyck@mirantis.com>
Thu, 7 Jan 2016 07:11:04 +0000 (23:11 -0800)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Tue, 16 Feb 2016 00:36:52 +0000 (16:36 -0800)
commit8b77c6b20f32511175dfd00322ae82fb31949d55
tree07c031c4f72a598430b5bf172e3b8879c543c304
parent5982a5565a08abf3b9ff18941b3e3cc94f7c8286
igb: Merge VLVF configuration into igb_vfta_set

This change makes it so that we can merge the configuration of the VLVF
registers into the setting of the VFTA register.  By doing this we simplify
the logic and make use of similar functionality that we have already added
for ixgbe making it easier to maintain both drivers.

Signed-off-by: Alexander Duyck <aduyck@mirantis.com>
Tested-by: Aaron Brown <aaron.f.brown@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/igb/e1000_mac.c
drivers/net/ethernet/intel/igb/e1000_mac.h
drivers/net/ethernet/intel/igb/igb_main.c