net/i40e: return unknown speed in status
authorIvan Dyukov <i.dyukov@samsung.com>
Tue, 11 Aug 2020 08:52:24 +0000 (11:52 +0300)
committerFerruh Yigit <ferruh.yigit@intel.com>
Fri, 18 Sep 2020 16:55:07 +0000 (18:55 +0200)
commit80e07a39b82196570ea017a49d4ad8973bb9ebfd
treebfc939642acece0d634f0a2454c2a79af1c78027
parent276e2edce0ad612ea450e88a7e9168ba414d55a7
net/i40e: return unknown speed in status

rte_ethdev has declared new NUM_UNKNOWN speed which
could be used in case when no speed information is available and
link is up. NUM_NONE should be returned, if link is down.

Signed-off-by: Ivan Dyukov <i.dyukov@samsung.com>
Acked-by: Jeff Guo <jia.guo@intel.com>
drivers/net/i40e/i40e_ethdev.c
drivers/net/i40e/i40e_ethdev_vf.c