numam-dpdk/drivers
Xiaoyu Min 6fd05da9ef net/mlx5: fix link speed info when link is down
When the link is down, the link speed returned by ethtool is
UINT32_MAX and the link status is 0.

In this case, the DPDK ethdev link speed should be set to
ETH_SPEED_NUM_NONE.
Otherwise since link speed is non-zero but link status is zero, this
is an inconsistent situation and -EAGAIN is returned, which is not right.

Fixes: 1884087198 ("net/mlx5: fix support for newer link speeds")
Cc: stable@dpdk.org

Signed-off-by: Xiaoyu Min <jackmin@mellanox.com>
Acked-by: Viacheslav Ovsiienko <viacheslavo@mellanox.com>
2019-08-06 17:42:12 +02:00
..
baseband baseband/turbo_sw: extend for 5G 2019-07-05 15:28:14 +02:00
bus bus/fslmc: fix build with 0 headroom 2019-08-05 19:24:27 +02:00
common common/octeontx2: fix mbox memory access 2019-08-05 23:18:27 +02:00
compress compress/zlib: fix error handling 2019-07-26 14:52:24 +02:00
crypto crypto/dpaa2_sec: fix handling of session init failure 2019-07-19 14:43:40 +02:00
event event/octeontx2: fix null dereference 2019-07-29 22:17:29 +02:00
mempool common/octeontx2: fix mbox memory access 2019-08-05 23:18:27 +02:00
net net/mlx5: fix link speed info when link is down 2019-08-06 17:42:12 +02:00
raw raw/ntb: fix null pointer dereference 2019-08-06 09:57:18 +02:00
Makefile
meson.build build: print list of disabled components 2019-07-02 23:20:26 +02:00