[P4-dev] A different type of calculator?

Fernando Ramos fvramos at ciencias.ulisboa.pt
Wed Oct 18 18:40:24 EDT 2017

The challenge with LNC/RLNC there is that we have to process/mix the payloads. Not sure if that was the original intent of Rakesh's question - if it was, that's tricky. We have some preliminary work on that - happy to discuss it with those interested.



> On 18 Oct 2017, at 22:56, Thomas Edwards <Thomas.Edwards at fox.com> wrote:
> A similar interesting application is linear network coding:
> https://en.wikipedia.org/wiki/Linear_network_coding
> -Thomas
> -- 
> Thomas Edwards
> FOX Networks Engineering & Operations
> VP Engineering & Development
> thomas.edwards at fox.com
> +1-310-369-6696
> 10201 W Pico Blvd
> Los Angeles, CA 90035
> From: P4-dev <p4-dev-bounces at lists.p4.org> on behalf of Rakesh Kumar <kumar19 at illinois.edu>
> Date: Wednesday, October 18, 2017 at 2:42 PM
> To: p4-dev <p4-dev at lists.p4.org>
> Subject: [P4-dev] A different type of calculator?
> Hey All,
> 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.
> -
> rakesh
> _______________________________________________
> P4-dev mailing list
> P4-dev at lists.p4.org
> http://lists.p4.org/mailman/listinfo/p4-dev_lists.p4.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.p4.org/pipermail/p4-dev_lists.p4.org/attachments/20171018/e0ebf4f3/attachment-0002.html>

More information about the P4-dev mailing list