drivers/net: fix link autoneg value for virtual PMDs
authorFerruh Yigit <ferruh.yigit@intel.com>
Fri, 20 Apr 2018 00:01:24 +0000 (01:01 +0100)
committerFerruh Yigit <ferruh.yigit@intel.com>
Fri, 27 Apr 2018 16:34:43 +0000 (17:34 +0100)
commit18869f97f163a58d29d45a2e85c6ed444b1c72e1
tree9ba36c8453bb1ada5901db9d82d68dd1b9ecf6d2
parent08e0b3440baffc20a9317a5e3dc83c6de5d39c24
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>
drivers/net/af_packet/rte_eth_af_packet.c
drivers/net/kni/rte_eth_kni.c
drivers/net/null/rte_eth_null.c
drivers/net/pcap/rte_eth_pcap.c
drivers/net/ring/rte_eth_ring.c
drivers/net/softnic/rte_eth_softnic.c
drivers/net/tap/rte_eth_tap.c