[dpdk-dev] [PATCH] net/bnxt: fix bug which could set multiple conflicting bits

Ferruh Yigit ferruh.yigit at intel.com
Mon Jul 31 16:53:15 CEST 2017


On 7/29/2017 9:54 PM, Ajit Khaparde wrote:
> Only set the vlanonly bit if vlan_nonvlan is clear. Also, allow the
> VLAN table to be cleared when vlanonly is set.
> 
> Clearing the VLAN table when vlanonly is set will stop all traffic
> since it requires all frames to have a VLAN tag, and that tag to be
> in the zero-length table. This is still a valid use case though,
> and has been seen in the wild.
> 
> Fixes: 36735a932ca7 ("net/bnxt: support set VF QOS and MAC anti spoof")
> 
> Signed-off-by: Stephen Hurd <stephen.hurd at broadcom.com>
> Signed-off-by: Ajit Khaparde <ajit.khaparde at broadcom.com>

Applied to dpdk-next-net/master, thanks.


More information about the dev mailing list