[dpdk-dev] [PATCH v5] net/i40e: fix disabling promiscuous mode

Zhang, Helin helin.zhang at intel.com
Tue May 8 03:47:38 CEST 2018



> -----Original Message-----
> From: Xu, Rosen
> Sent: Saturday, April 28, 2018 7:39 PM
> To: dev at dpdk.org
> Cc: Zhang, Helin; Zhang, Qi Z; Wu, Jingjing; stable at dpdk.org
> Subject: [PATCH v5] net/i40e: fix disabling promiscuous mode
> 
> v5 updates:
> ===========
>  - Modificate some comments for this patch
> 
> v4 updates:
> ===========
>  - Add some comments for this patch
> 
> v3 updates:
> ===========
>  - Move modification from device close to device disable
>  - i40evf_reset_vf() will cause kernel driver enable all vlan promiscuous,
>    so unicast/multicast promiscuous disable should set before reset.
> 
> v2 updates:
> ===========
>  - Add more comments
> 
> In scenario of Kernel Driver runs on PF and PMD runs on VF, PMD exit doesn't
> disable promiscuous mode, this will cause vlan filter set by Kernel Driver will
> not take effect.
> 
> This patch will fix it, add promiscuous disable at device disable.
> 
> Fixes: 4861cde46116 ("i40e: new poll mode driver")
> Cc: stable at dpdk.org
> 
> Signed-off-by: Rosen Xu <rosen.xu at intel.com>
> Acked-by: Qi Zhang <qi.z.zhang at intel.com>
Applied to dpdk-next-net-intel, thanks!

Helin



More information about the dev mailing list