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

2017-07-31 Thread Ferruh Yigit
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 t

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

2017-07-29 Thread Ajit Khaparde
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