From: Andre Guedes Date: Fri, 3 Apr 2020 18:17:41 +0000 (-0700) Subject: igc: Dump VLANPQF register X-Git-Tag: v5.10.7~2469^2~146^2~9 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=fbee4760ec4fc9f885ad0737f7b371cc6b73f573;p=platform%2Fkernel%2Flinux-rpi.git igc: Dump VLANPQF register This patch adds the VLAN Priority Queue Filter Register (VLANPQF) to the list of registers dumped by igc_get_regs(). Signed-off-by: Andre Guedes Tested-by: Aaron Brown Signed-off-by: Jeff Kirsher --- diff --git a/drivers/net/ethernet/intel/igc/igc_ethtool.c b/drivers/net/ethernet/intel/igc/igc_ethtool.c index c21971b..19da9dc 100644 --- a/drivers/net/ethernet/intel/igc/igc_ethtool.c +++ b/drivers/net/ethernet/intel/igc/igc_ethtool.c @@ -316,6 +316,8 @@ static void igc_get_regs(struct net_device *netdev, regs_buff[172 + i] = rd32(IGC_RAL(i)); for (i = 0; i < 16; i++) regs_buff[188 + i] = rd32(IGC_RAH(i)); + + regs_buff[204] = rd32(IGC_VLANPQF); } static void igc_get_wol(struct net_device *netdev, struct ethtool_wolinfo *wol)