Following 2 discussions about link speed, here is an API update and a small clean-up.
Morten's proposal: http://inbox.dpdk.org/dev/4957996.Zugxlq0yvN@xps/ Recent Ivan's virtio patch assuming the same API update: http://inbox.dpdk.org/dev/[email protected]/ Benoit's proposal to return mlx5 link status even without speed info: http://inbox.dpdk.org/dev/[email protected]/ Thomas Monjalon (2): ethdev: deduplicate functions to get link infos ethdev: allow unknown link speed lib/librte_ethdev/rte_ethdev.c | 52 ++++++++++++++-------------------- lib/librte_ethdev/rte_ethdev.h | 20 ++++++------- 2 files changed, 32 insertions(+), 40 deletions(-) -- 2.26.0

