Adds define for the number of bits needed to shift the EEE_SU register
in order to get the value of TEEE_DLY.

Signed-off-by: Wenzhuo Lu <wenzhuo.lu at intel.com>
---
 drivers/net/ixgbe/base/ixgbe_type.h | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/net/ixgbe/base/ixgbe_type.h 
b/drivers/net/ixgbe/base/ixgbe_type.h
index eaaba44..576bb24 100644
--- a/drivers/net/ixgbe/base/ixgbe_type.h
+++ b/drivers/net/ixgbe/base/ixgbe_type.h
@@ -625,6 +625,7 @@ struct ixgbe_dmac_config {
 #define IXGBE_EEER                     0x043A0 /* EEE register */
 #define IXGBE_EEE_STAT                 0x04398 /* EEE Status */
 #define IXGBE_EEE_SU                   0x04380 /* EEE Set up */
+#define IXGBE_EEE_SU_TEEE_DLY_SHIFT    26
 #define IXGBE_TLPIC                    0x041F4 /* EEE Tx LPI count */
 #define IXGBE_RLPIC                    0x041F8 /* EEE Rx LPI count */

-- 
1.9.3

Reply via email to