2016-02-15 05:32, Lu, Wenzhuo: > From: Ananyev, Konstantin > > From reading X550 spec, I don't really understand what for we need to > > specify is > > it GRE or VXLAN packet, so probably we don't need that flag for now at all? > The reason is we need to set the tunnel type in the Advanced Transmit Data > Descriptor.
Why don't we use packet type? > > If we really do, might bw worth to organise it like KT_TX_L4_CKSUM (as enum) > > and reserve few values for future expansion (2 or 3 bits?). > Now there're only VxLAN and NVGRE supported. So, only 1 bit is occupied for > that. Not sure if more types will be supported in the future. Any > suggestions? Thanks. Yes there can be a lot of tunnel types. Please check RTE_PTYPE_TUNNEL_*