igc: Refactor VLAN priority filtering code
authorAndre Guedes <andre.guedes@intel.com>
Fri, 24 Apr 2020 01:11:19 +0000 (18:11 -0700)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Tue, 19 May 2020 22:29:17 +0000 (15:29 -0700)
commit12ddee68d058792602d017ea940a69fe6969edbe
tree2c6267eaad92312af88d89a585e766375a0900d6
parent2e4f1716f31f3486fa454fd3174f3de982b1dcaa
igc: Refactor VLAN priority filtering code

The whole VLAN priority filtering code is implemented in igc_ethtool.c
and mixes logic from ethtool and core parts. This patch refactors it so
core logic is moved to igc_main.c, aligning the VLAN priority filtering
code organization with the MAC address filtering code.

This patch also takes the opportunity to add some log messages to ease
debugging.

Signed-off-by: Andre Guedes <andre.guedes@intel.com>
Tested-by: Aaron Brown <aaron.f.brown@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/igc/igc.h
drivers/net/ethernet/intel/igc/igc_ethtool.c
drivers/net/ethernet/intel/igc/igc_main.c