[Intel-wired-lan] [PATCH S27 02/15] ice: Correctly handle return values for init DCB

Bowers, AndrewX andrewx.bowers at intel.com
Tue Aug 13 17:07:22 UTC 2019


> -----Original Message-----
> From: Intel-wired-lan [mailto:intel-wired-lan-bounces at osuosl.org] On
> Behalf Of Tony Nguyen
> Sent: Thursday, August 8, 2019 7:39 AM
> To: intel-wired-lan at lists.osuosl.org
> Subject: [Intel-wired-lan] [PATCH S27 02/15] ice: Correctly handle return
> values for init DCB
> 
> From: Dave Ertman <david.m.ertman at intel.com>
> 
> In the init path for DCB, the call to ice_init_dcb() can return a non-zero value
> for either an actual error, or due to the FW lldp engine being stopped.
> 
> We are currently treating all non-zero values only as an indication that the FW
> LLDP engine is stopped.
> 
> Check for an actual error in the DCB init flow.
> 
> Signed-off-by: Dave Ertman <david.m.ertman at intel.com>
> ---
>  drivers/net/ethernet/intel/ice/ice_dcb_lib.c | 17 ++++++++---------
>  1 file changed, 8 insertions(+), 9 deletions(-)

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




More information about the Intel-wired-lan mailing list