diff options
author | Sasha Neftin <sasha.neftin@intel.com> | 2020-01-14 10:55:54 +0300 |
---|---|---|
committer | Jeff Kirsher <jeffrey.t.kirsher@intel.com> | 2020-02-20 02:52:06 +0300 |
commit | 9c384ee31e8175bcea9057ecbbb20d5b1fc48c88 (patch) | |
tree | ddd0fcfe96d24610cfb2b15171046cbb4ae98604 /drivers/net/ethernet/intel/igc/igc_defines.h | |
parent | 8594a7f384ade8cd626da1c18d03ba01bf70d10e (diff) | |
download | linux-9c384ee31e8175bcea9057ecbbb20d5b1fc48c88.tar.xz |
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>
Diffstat (limited to 'drivers/net/ethernet/intel/igc/igc_defines.h')
-rw-r--r-- | drivers/net/ethernet/intel/igc/igc_defines.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/net/ethernet/intel/igc/igc_defines.h b/drivers/net/ethernet/intel/igc/igc_defines.h index 58efa7a02c68..3c03962bde5e 100644 --- a/drivers/net/ethernet/intel/igc/igc_defines.h +++ b/drivers/net/ethernet/intel/igc/igc_defines.h @@ -259,6 +259,9 @@ #define IGC_GPIE_EIAME 0x40000000 #define IGC_GPIE_PBA 0x80000000 +/* Receive Descriptor bit definitions */ +#define IGC_RXD_STAT_DD 0x01 /* Descriptor Done */ + /* Transmit Descriptor bit definitions */ #define IGC_TXD_DTYP_D 0x00100000 /* Data Descriptor */ #define IGC_TXD_DTYP_C 0x00000000 /* Context Descriptor */ |