> -----Original Message-----
> From: Thierry Herbelot [mailto:thierry.herbe...@6wind.com]
> Sent: Thursday, September 12, 2019 12:03 AM
> To: dev@dpdk.org
> Cc: Laurent Hardy <laurent.ha...@6wind.com>; Thomas Monjalon
> <tho...@monjalon.net>; sta...@dpdk.org; Xing, Beilei
> <beilei.x...@intel.com>; Zhang, Qi Z <qi.z.zh...@intel.com>
> Subject: [PATCH] net/i40e: set speed to undefined for default case in link
> update
> 
> 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>

Acked-by: Qi Zhang <qi.z.zh...@intel.com>

Reply via email to