Hi Beilei, On Fri, Dec 16, 2016 at 12:22:52PM +0000, Xing, Beilei wrote: > Thanks Adrien. > > I have two questions: > 1. when I set " / vlan tci fix 10" with testpmd, I find the mask of tci is > 0xFFFF. > Actually tci includes PRI, CFI, and Vlan_id which holds 12 bits, so is > it possible > to set the mask to 0xFFF? > Our driver will check the mask only covers vlan_id instead of the whole > tci.
Right, I'll work on a method to do that. TCI remains 16 bit either way so the current approach remains accurate, although not convenient because a 10 bit mask must be specified manually. This change won't be included in v2 though. > 2. When we test destroy function, we find the pointer provided to PMD is NULL > instead of the pointer PMD returned to RTE during creating flow. Could you > please have double check? Thanks. There is indeed a bug [1]. It is fixed in v2. Thanks. [1] http://dpdk.org/ml/archives/dev/2016-November/050435.html -- Adrien Mazarguil 6WIND