[dpdk-dev] [PATCH] net/ice: fix VLAN filter with PF

Zhang, Qi Z qi.z.zhang at intel.com
Mon Feb 22 13:39:52 CET 2021



> -----Original Message-----
> From: Huang, ZhiminX <zhiminx.huang at intel.com>
> Sent: Friday, February 19, 2021 5:06 PM
> To: Zhang, AlvinX <alvinx.zhang at intel.com>; Zhang, Qi Z
> <qi.z.zhang at intel.com>
> Cc: dev at dpdk.org; Zhang, AlvinX <alvinx.zhang at intel.com>; stable at dpdk.org
> Subject: RE: [dpdk-dev] [PATCH] net/ice: fix VLAN filter with PF
> 
> Tested-by: Huang, ZhiminX <zhiminx.huang at intel.com>
> 
> Regards,
> HuangZhiMin
> 
> 
> > -----Original Message-----
> > From: dev <dev-bounces at dpdk.org> On Behalf Of Alvin Zhang
> > Sent: Friday, February 19, 2021 1:14 PM
> > To: Zhang, Qi Z <qi.z.zhang at intel.com>
> > Cc: dev at dpdk.org; Zhang, AlvinX <alvinx.zhang at intel.com>;
> > stable at dpdk.org
> > Subject: [dpdk-dev] [PATCH] net/ice: fix VLAN filter with PF
> >
> > The macro flag DEV_RX_OFFLOAD_VLAN_FILTER is used to enable/disable Rx
> > VLAN filter, but not Tx VLAN filter. Therefore, Tx VLAN filter should
> > not be enabled/disabled in function ice_vsi_config_vlan_filter called
> > after checking DEV_RX_OFFLOAD_VLAN_FILTER flag.
> >
> > In addition, the kernel driver doesn't enable/disable the TX VLAN
> > filter in the similar function ice_cfg_vlan_pruning.
> >
> > This patch removes the setting about the TX VLAN filter in function
> > ice_vsi_config_vlan_filter.
> >
> > Fixes: e0dcf94a0d7f ("net/ice: support VLAN ops")
> > Cc: stable at dpdk.org
> >
> > Signed-off-by: Alvin Zhang <alvinx.zhang at intel.com>

Acked-by: Qi Zhang <qi.z.zhang at intel.com>

Applied to dpdk-next-net-intel.

Thanks
Qi


More information about the dev mailing list