[Intel-wired-lan] [PATCH] i40e: Do not check VF state in i40e_ndo_get_vf_config

Bowers, AndrewX andrewx.bowers at intel.com
Fri May 31 17:56:43 UTC 2019


> -----Original Message-----
> From: Intel-wired-lan [mailto:intel-wired-lan-bounces at osuosl.org] On
> Behalf Of Lihong Yang
> Sent: Thursday, May 23, 2019 4:46 PM
> To: intel-wired-lan at lists.osuosl.org
> Subject: [Intel-wired-lan] [PATCH] i40e: Do not check VF state in
> i40e_ndo_get_vf_config
> 
> The VF configuration returned in i40e_ndo_get_vf_config is already stored
> by the PF. There is no dependency on any specific state of the VF to return
> the configuration.
> Drop the check against I40E_VF_STATE_INIT since it is not needed.
> 
> Signed-off-by: Lihong Yang <lihong.yang at intel.com>
> ---
>  drivers/net/ethernet/intel/i40e/i40e_virtchnl_pf.c | 6 ++----
>  1 file changed, 2 insertions(+), 4 deletions(-)

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




More information about the Intel-wired-lan mailing list