[P4-dev] A different type of calculator?
kumar19 at illinois.edu
Wed Oct 18 17:41:15 EDT 2017
I know, it would sound inefficient, but that is not the point. The point is
to be able to perform computation on data that exists beyond the packet
headers of the single packet. Is that possible:
Three packets are sent to a switch, one after the other, two of them
contain an operand each and the third one contains the operator in the
header. Can a P4 program be written which *holds on* to the previous two
packets in some memory and computes the result based on the operator packet
and return it back to the sender with a result field populated.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the P4-dev