net/ena: set link speed as none
authorRafal Kozik <rk@semihalf.com>
Thu, 7 Jun 2018 09:43:22 +0000 (11:43 +0200)
committerFerruh Yigit <ferruh.yigit@intel.com>
Thu, 14 Jun 2018 17:27:50 +0000 (19:27 +0200)
commit41e59028dd8ab2038a7655c6fc3098222661aa53
tree8df0492bc5edd983ab4fbfce3989b2872eb78642
parentcacd18760652cc92d978d52edf07b327c144cc6f
net/ena: set link speed as none

Link speed should is not limited to 10Gb/s and it shouldn't be hardcoded.

They link speed is set to none instead and the applications shouldn't
rely on this value when using ENA PMD.

Fixes: 1173fca25af9 ("ena: add polling-mode driver")
Cc: stable@dpdk.org
Signed-off-by: Rafal Kozik <rk@semihalf.com>
Acked-by: Michal Krawczyk <mk@semihalf.com>
drivers/net/ena/ena_ethdev.c