From: Wenzhuo Lu Date: Wed, 24 Jun 2015 03:25:54 +0000 (+0800) Subject: ixgbe/base: add a shift constant for EEE X-Git-Tag: spdx-start~8964 X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=a07c83fccaa33efb25391dfa046106a602a77694;p=dpdk.git ixgbe/base: add a shift constant for EEE 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 Acked-by: Helin Zhang --- diff --git a/drivers/net/ixgbe/base/ixgbe_type.h b/drivers/net/ixgbe/base/ixgbe_type.h index 33f04a7325..23bf58a35c 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 */