On 09/11, Thierry Herbelot wrote: >From: Laurent Hardy <laurent.ha...@6wind.com> > >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: 4861cde46116 ('i40e: new poll mode driver') >Cc: sta...@dpdk.org >Cc: beilei.x...@intel.com >Cc: qi.z.zh...@intel.com > >Signed-off-by: Laurent Hardy <laurent.ha...@6wind.com> >--- > drivers/net/i40e/i40e_ethdev.c | 4 ++-- > drivers/net/i40e/i40e_ethdev_vf.c | 8 +++++--- > 2 files changed, 7 insertions(+), 5 deletions(-) >
Reviewed-by: Xiaolong Ye <xiaolong...@intel.com> Applied to dpdk-next-net-intel.