[dpdk-dev] [PATCH 3/3] vmxnet3: fix vlan_offload_set

2015-12-09 Thread Yong Wang
On 12/3/15, 5:05 PM, "Stephen Hemminger" wrote: >From: Nachiketa Prachanda > >vmxnet3_dev_vlan_offload_set(dev, mask) was incorrectly treating the >mask parameter as the bitmask for vlan_strip and vlan_filter, whereas >the mask indicates only what has changed - the values for >vlan_stripping an

[dpdk-dev] [PATCH 3/3] vmxnet3: fix vlan_offload_set

2015-12-03 Thread Stephen Hemminger
From: Nachiketa Prachanda vmxnet3_dev_vlan_offload_set(dev, mask) was incorrectly treating the mask parameter as the bitmask for vlan_strip and vlan_filter, whereas the mask indicates only what has changed - the values for vlan_stripping and vlan_filter needs to be taken from dev_conf.rxmode. Si