igc: Add dump options
authorSasha Neftin <sasha.neftin@intel.com>
Tue, 14 Jan 2020 07:55:54 +0000 (09:55 +0200)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Wed, 19 Feb 2020 23:52:06 +0000 (15:52 -0800)
commit9c384ee31e8175bcea9057ecbbb20d5b1fc48c88
treeddd0fcfe96d24610cfb2b15171046cbb4ae98604
parent8594a7f384ade8cd626da1c18d03ba01bf70d10e
igc: Add dump options

Placeholder for debugging functionality.
In this patch, we add some registers and rings summary dumps.

Signed-off-by: Sasha Neftin <sasha.neftin@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/Makefile
drivers/net/ethernet/intel/igc/igc.h
drivers/net/ethernet/intel/igc/igc_defines.h
drivers/net/ethernet/intel/igc/igc_dump.c [new file with mode: 0644]
drivers/net/ethernet/intel/igc/igc_main.c
drivers/net/ethernet/intel/igc/igc_regs.h