[dpdk-dev] [PATCH v3] i40e: fix vlan filtering

Zhang, Helin helin.zhang at intel.com
Fri Feb 5 01:20:15 CET 2016



> -----Original Message-----
> From: Julien Meunier [mailto:julien.meunier at 6wind.com]
> Sent: Thursday, February 4, 2016 7:02 PM
> To: Zhang, Helin <helin.zhang at intel.com>
> Cc: dev at dpdk.org
> Subject: [PATCH v3] i40e: fix vlan filtering
> 
> VLAN filtering was always performed, even if hw_vlan_filter was disabled.
> During device initialization, default filter RTE_MACVLAN_PERFECT_MATCH
> was applied. In this situation, all incoming VLAN frames were dropped by the
> card (increase of the register RUPP - Rx Unsupported Protocol).
> 
> In order to restore default behavior, if HW VLAN filtering is activated, set a
> filter to match MAC and VLAN. If not, set a filter to only match MAC.
> 
> Signed-off-by: Julien Meunier <julien.meunier at 6wind.com>
Acked-by: Helin Zhang <helin.zhang at intel.com>



More information about the dev mailing list