[Intel-wired-lan] [next PATCH S5 10/10] i40e: Missing response checks in driver when starting/stopping FW LLDP

Bowers, AndrewX andrewx.bowers at intel.com
Fri May 3 23:40:27 UTC 2019


> -----Original Message-----
> From: Intel-wired-lan [mailto:intel-wired-lan-bounces at osuosl.org] On
> Behalf Of Alice Michael
> Sent: Wednesday, April 24, 2019 5:21 AM
> To: Michael, Alice <alice.michael at intel.com>; intel-wired-
> lan at lists.osuosl.org
> Cc: Loktionov, Aleksandr <aleksandr.loktionov at intel.com>
> Subject: [Intel-wired-lan] [next PATCH S5 10/10] i40e: Missing response
> checks in driver when starting/stopping FW LLDP
> 
> From: Aleksandr Loktionov <aleksandr.loktionov at intel.com>
> 
> Driver updated pf->flags before calling i40e_aq_start_lldp().
> This patch moved down updating pf->flags down so flags will be updated
> only in case of successful i40e_aq_start_lldp() call.
> Also was introduced is_reset_needed local flag to avoid unnecessary h/w
> reset in case 40e_aq_start_lldp() didn't change lldp state.
> 
> Signed-off-by: Aleksandr Loktionov <aleksandr.loktionov at intel.com>
> ---
>  .../net/ethernet/intel/i40e/i40e_ethtool.c    | 45 ++++++++++---------
>  1 file changed, 24 insertions(+), 21 deletions(-)

Tested-by: Andrew Bowers <andrewx.bowers at intel.com>




More information about the Intel-wired-lan mailing list