From: Xiao Wang Date: Sun, 25 Sep 2016 09:00:08 +0000 (+0800) Subject: net/ixgbe/base: prevent link speed value conflict X-Git-Tag: spdx-start~5776 X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=c1c543efb1c79f59dad47cbaddb0e382ba1f183c;p=dpdk.git net/ixgbe/base: prevent link speed value conflict This patch changes the value of IXGBE_LINK_SPEED_10_FULL from 4 to 2, as 4 is reserved to 100Mbit Half Duplex in E1000 shared code. Signed-off-by: Xiao Wang Acked-by: Wenzhuo Lu --- diff --git a/drivers/net/ixgbe/base/ixgbe_type.h b/drivers/net/ixgbe/base/ixgbe_type.h index f1e4274d4e..a3cc5e25d0 100644 --- a/drivers/net/ixgbe/base/ixgbe_type.h +++ b/drivers/net/ixgbe/base/ixgbe_type.h @@ -3319,7 +3319,7 @@ typedef u32 ixgbe_autoneg_advertised; /* Link speed */ typedef u32 ixgbe_link_speed; #define IXGBE_LINK_SPEED_UNKNOWN 0 -#define IXGBE_LINK_SPEED_10_FULL 0x0004 +#define IXGBE_LINK_SPEED_10_FULL 0x0002 #define IXGBE_LINK_SPEED_100_FULL 0x0008 #define IXGBE_LINK_SPEED_1GB_FULL 0x0020 #define IXGBE_LINK_SPEED_2_5GB_FULL 0x0400