[P4-dev] Check equality of two header fields
Ashutosh Agrawal (ashu)
ashu at cisco.com
Tue Jun 28 16:30:32 EDT 2016
Let’s say I’ve a packet header with srcAddr and DstAddr fields. I want to check if src and dst addresses are same and set a metadata flag. I can then use this flag as a key field for a subsequent table. AFAIK, this A==B check can only be done in Control Flow but I can’t modify the metadata there. Any ideas?
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the P4-dev