numam-dpdk/drivers
Laurent Hardy 3c8c0b68b5 net/i40e: set speed to undefined for default case
During PF/VF link update, a default speed value of 100M will be set
if get_link_info has failed or speed is unknown.

Consequently if PF is put in no-carrier state, VFs will switch to
"in carrier" state due to a link up + a link speed set to 100M
(default value if no speed detected).

To be consistent with linux drivers on which PF and VFs are in
same carrier state, sets default speed to undefined (instead of 100M)
and updates a link status of VF only if link is up and speed is
different from undefined.

Fixes: 4861cde461 ("i40e: new poll mode driver")
Cc: stable@dpdk.org

Signed-off-by: Laurent Hardy <laurent.hardy@6wind.com>
Reviewed-by: Xiaolong Ye <xiaolong.ye@intel.com>
Acked-by: Qi Zhang <qi.z.zhang@intel.com>
2019-10-07 15:00:57 +02:00
..
baseband baseband/fpga_lte_fec: add public API to map file 2019-10-09 11:50:12 +02:00
bus crypto/dpaa_sec: support event crypto adapter 2019-10-09 13:14:18 +02:00
common crypto/octeontx: fix global log variable definition 2019-10-09 11:50:12 +02:00
compress compress/qat: add stateful decompression 2019-10-09 11:50:12 +02:00
crypto crypto/dpaa_sec: support event crypto adapter 2019-10-09 13:14:18 +02:00
event event/dpaa: support crypto adapter 2019-10-09 13:14:19 +02:00
mempool common/octeontx2: fix mbox memory access 2019-08-05 23:18:27 +02:00
net net/i40e: set speed to undefined for default case 2019-10-07 15:00:57 +02:00
raw remove useless include of EAL memory config header 2019-10-09 10:22:24 +02:00
Makefile drivers: add common as dependency for bus 2018-10-16 14:54:25 +02:00
meson.build build: print list of disabled components 2019-07-02 23:20:26 +02:00