[P4-design] Deparse emit of Header Union
david.george at netronome.com
Fri Aug 4 09:30:03 EDT 2017
Am I correct in saying that emitting a header_union will result in all
fields of all member to be written out whether valid or not? I believe this
is what the spec implies:
>> else if (isHeaderUnion(T) || isStruct(T))
>> for (f : data.fields$)
I believe the sensible behaviour should be to emit only the valid one.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the P4-design