[Intel-wired-lan] [PATCH V2] i40e: i40e_open() should fail if forcing link state returned error
Bowers, AndrewX
andrewx.bowers at intel.com
Mon Feb 5 19:53:12 UTC 2018
> -----Original Message-----
> From: Intel-wired-lan [mailto:intel-wired-lan-bounces at osuosl.org] On
> Behalf Of Alice Michael
> Sent: Friday, February 2, 2018 3:11 AM
> To: Michael, Alice <alice.michael at intel.com>; intel-wired-
> lan at lists.osuosl.org
> Cc: Stachura, Mariusz <mariusz.stachura at intel.com>
> Subject: [Intel-wired-lan] [PATCH V2] i40e: i40e_open() should fail if forcing
> link state returned error
>
> From: Mariusz Stachura <mariusz.stachura at intel.com>
>
> Based on upstream review comments, ndo_open function should not
> succeed if there were issues with forcing link state to be UP.
> This patch also fixes an issue with looping through enum values.
>
> Added I40E_PHY_TYPES_BITMASK define with all phy types OR-ed together
> in one bitmask. Added after phy type definition, so it will be hard to forget to
> include new phy types to the bitmask.
>
> Signed-off-by: Mariusz Stachura <mariusz.stachura at intel.com>
> ---
> drivers/net/ethernet/intel/i40e/i40e_adminq_cmd.h | 37
> +++++++++++++++++++++++
> drivers/net/ethernet/intel/i40e/i40e_main.c | 28 +++++++++--------
> 2 files changed, 53 insertions(+), 12 deletions(-)
Tested-by: Andrew Bowers <andrewx.bowers at intel.com>
More information about the Intel-wired-lan
mailing list