On Mon, Jun 18, 2012 at 11:28:25AM +0900, FUJITA Tomonori wrote: > On Mon, 18 Jun 2012 11:22:15 +0900 > Simon Horman <[email protected]> wrote: > > > > > For example, OXM_OF_IPV6_FLABEL, has 20 bits, which the above > > > > will calculate as 3 bytes. The OVS implementation uses 4 bytes. > > > > The latter seems to be correct to me. > > > > > > Hmm, the table 9 in the of spec says OXM_OF_IPV6_FLABEL uses 20 > > > bits. oxm_length is in byte so I expected switches uses use the > > > minimum bytes (3) for OXM_OF_IPV6_FLABEL. I miss something in the of > > > spec? > > > > No, I don't think you have missed anything. But I am unsure if 3 or 4 is > > correct. > > > > I had assumed 4, as that would map to a standard C integer type. > > We already have things that can't be map to C types (6 bytes for mac > stuff and 16 bytes for IPv6). So I'm not sure about it. > > > But the spec is not clear either way. Perhaps we should seek > > some confirmation somehow? > > Yeah, can you ask it on ovs mailing list?
Sure, will do. ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ Ryu-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/ryu-devel
