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

2016-02-04 Thread Stephen Hemminger
On Thu, 4 Feb 2016 00:41:00 + "Zhang, Helin" wrote: > > -Original Message- > > From: Julien Meunier [mailto:julien.meunier at 6wind.com] > > Sent: Wednesday, February 3, 2016 7:32 PM > > To: Zhang, Helin > > Cc: dev at dpdk.org > > Subject: Re: [PATCH v2] i40e: fix vlan filtering > >

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

2016-02-04 Thread Thomas Monjalon
2016-02-04 00:41, Zhang, Helin: > From: Julien Meunier [mailto:julien.meunier at 6wind.com] > > INFO log level is used in order to keep code homogeneity: > > i40e_vsi_config_vlan_stripping or i40e_dev_init_vlan use this log level > > during > > failure for example. > > > > Tell me if ERR log leve

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

2016-02-04 Thread Zhang, Helin
> -Original Message- > From: Julien Meunier [mailto:julien.meunier at 6wind.com] > Sent: Wednesday, February 3, 2016 7:32 PM > To: Zhang, Helin > Cc: dev at dpdk.org > Subject: Re: [PATCH v2] i40e: fix vlan filtering > > Hello, > > INFO log level is used in order to keep code homogenei

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

2016-02-03 Thread Julien Meunier
Hello, INFO log level is used in order to keep code homogeneity: i40e_vsi_config_vlan_stripping or i40e_dev_init_vlan use this log level during failure for example. Tell me if ERR log level for VLAN filtering issue must be set. On 02/03/2016 02:15 AM, Zhang, Helin wrote: > >> -Original Mes

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

2016-02-03 Thread Zhang, Helin
> -Original Message- > From: Julien Meunier [mailto:julien.meunier at 6wind.com] > Sent: Tuesday, February 2, 2016 9:51 PM > To: Zhang, Helin > Cc: dev at dpdk.org > Subject: [PATCH v2] i40e: fix vlan filtering > > VLAN filtering was always performed, even if hw_vlan_filter was disabled

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

2016-02-02 Thread Julien Meunier
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