summaryrefslogtreecommitdiff
path: root/drivers/net/ring
diff options
context:
space:
mode:
authorFerruh Yigit <ferruh.yigit@intel.com>2018-04-20 01:01:24 +0100
committerFerruh Yigit <ferruh.yigit@intel.com>2018-04-27 17:34:43 +0100
commit18869f97f163a58d29d45a2e85c6ed444b1c72e1 (patch)
tree9ba36c8453bb1ada5901db9d82d68dd1b9ecf6d2 /drivers/net/ring
parent08e0b3440baffc20a9317a5e3dc83c6de5d39c24 (diff)
downloaddpdk-next-eventdev-18869f97f163a58d29d45a2e85c6ed444b1c72e1.zip
dpdk-next-eventdev-18869f97f163a58d29d45a2e85c6ed444b1c72e1.tar.gz
dpdk-next-eventdev-18869f97f163a58d29d45a2e85c6ed444b1c72e1.tar.xz
drivers/net: fix link autoneg value for virtual PMDs
These drivers never attempt link speed negotiation. Change link_autoneg value to ETH_LINK_FIXED to be more accurate and consistent between PMDs. Fixes: 1e3a958f40b3 ("ethdev: fix link autonegotiation value") Cc: stable@dpdk.org Signed-off-by: Ferruh Yigit <ferruh.yigit@intel.com> Acked-by: Thomas Monjalon <thomas@monjalon.net>
Diffstat (limited to 'drivers/net/ring')
-rw-r--r--drivers/net/ring/rte_eth_ring.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ring/rte_eth_ring.c b/drivers/net/ring/rte_eth_ring.c
index e53823a..c05f5a1 100644
--- a/drivers/net/ring/rte_eth_ring.c
+++ b/drivers/net/ring/rte_eth_ring.c
@@ -60,7 +60,7 @@ static struct rte_eth_link pmd_link = {
.link_speed = ETH_SPEED_NUM_10G,
.link_duplex = ETH_LINK_FULL_DUPLEX,
.link_status = ETH_LINK_DOWN,
- .link_autoneg = ETH_LINK_AUTONEG
+ .link_autoneg = ETH_LINK_FIXED,
};
static uint16_t