[Intel-wired-lan] [net-next S5 06/15] i40e: correctly program filters for VFs

Young, James M james.m.young at intel.com
Fri Jun 19 20:32:53 UTC 2015


> -----Original Message-----
> From: Intel-wired-lan [mailto:intel-wired-lan-bounces at lists.osuosl.org] On
> Behalf Of Catherine Sullivan
> Sent: Monday, April 27, 2015 11:57 AM
> To: intel-wired-lan at lists.osuosl.org
> Subject: [Intel-wired-lan] [net-next S5 06/15] i40e: correctly program filters
> for VFs
> 
> From: Mitch Williams <mitch.a.williams at intel.com>
> 
> MAC filters for VFs were being programmed with 0 for the VLAN value when
> there was no VLAN assigned. This is incorrect and actually assigns the VF to
> VLAN 0. Instead, we must use -1 to indicate that no VLAN is in use. This
> change programs the filters correctly and gets rid of a bogus error message
> when setting a port VLAN on an active VF.
> 
> Signed-off-by: Mitch Williams <mitch.a.williams at intel.com>
> Change-ID: Ica9a9906d768405377ff3308e27f7d0b5b2ea96e
> ---
>  drivers/net/ethernet/intel/i40e/i40e_virtchnl_pf.c | 9 ++++++---
>  1 file changed, 6 insertions(+), 3 deletions(-)
> 

Tested-by: Jim Young <james.m.young at intel.com>



More information about the Intel-wired-lan mailing list