[Intel-wired-lan] [net-next S5 03/15] i40e: ignore duplicate port VLAN requests

Young, James M james.m.young at intel.com
Fri Jun 19 20:43:07 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 03/15] i40e: ignore duplicate port
> VLAN requests
> 
> From: Mitch Williams <mitch.a.williams at intel.com>
> 
> If user attempts to set a port VLAN on a VF that already has the same port
> VLAN configured, the driver will go through a completely unnecessary flurry
> of filter removals and filter adds. Just check for this condition and return
> success instead of doing a bunch of busywork.
> 
> Signed-off-by: Mitch Williams <mitch.a.williams at intel.com>
> Change-ID: Ia1a9e83e6ed48b3f4658bc20dfc6af0cf525d54a
> ---
>  drivers/net/ethernet/intel/i40e/i40e_virtchnl_pf.c | 4 ++++
>  1 file changed, 4 insertions(+)
> 

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


More information about the Intel-wired-lan mailing list