[dpdk-dev] [PATCH 21/29] ixgbe/base: smplify add/remove VLANs

2016-06-13 Thread Ferruh Yigit
On 5/6/2016 7:07 AM, Beilei Xing wrote: > This patch simplifies the adding and removing VLANs from > VFTA/VLVF/VLVFB registers. The logic to determine registers has > been simplified to (vid / 32) and (1 - vid / 32). Many conditional > paths and checks are no longer needed with this patch. > >

[dpdk-dev] [PATCH 21/29] ixgbe/base: smplify add/remove VLANs

2016-05-06 Thread Beilei Xing
This patch simplifies the adding and removing VLANs from VFTA/VLVF/VLVFB registers. The logic to determine registers has been simplified to (vid / 32) and (1 - vid / 32). Many conditional paths and checks are no longer needed with this patch. Signed-off-by: Beilei Xing ---