Add support for DCB registers dump.

Signed-off-by: Xiaoyun Li <xiaoyun...@intel.com>
---
 drivers/net/ixgbe/base/ixgbe_type.h | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/drivers/net/ixgbe/base/ixgbe_type.h 
b/drivers/net/ixgbe/base/ixgbe_type.h
index ea34bb979..cee6ba2e0 100644
--- a/drivers/net/ixgbe/base/ixgbe_type.h
+++ b/drivers/net/ixgbe/base/ixgbe_type.h
@@ -850,6 +850,10 @@ struct ixgbe_dmac_config {
 #define IXGBE_RTTDQSEL         0x04904
 #define IXGBE_RTTDT1C          0x04908
 #define IXGBE_RTTDT1S          0x0490C
+#define IXGBE_RTTQCNCR         0x08B00
+#define IXGBE_RTTQCNTG         0x04A90
+#define IXGBE_RTTBCNRD         0x0498C
+#define IXGBE_RTTQCNRR         0x0498C
 #define IXGBE_RTTDTECC         0x04990
 #define IXGBE_RTTDTECC_NO_BCN  0x00000100
 
@@ -860,6 +864,7 @@ struct ixgbe_dmac_config {
 #define IXGBE_RTTBCNRC_RF_INT_MASK \
        (IXGBE_RTTBCNRC_RF_DEC_MASK << IXGBE_RTTBCNRC_RF_INT_SHIFT)
 #define IXGBE_RTTBCNRM 0x04980
+#define IXGBE_RTTQCNRM 0x04980
 
 /* BCN (for DCB) Registers */
 #define IXGBE_RTTBCNRS 0x04988
-- 
2.17.1

Reply via email to