Re: Let's do P4
From: Jiri Pirko <jiri@resnulli.us>
Date: 2016-10-31 07:47:54
From: Jiri Pirko <jiri@resnulli.us>
Date: 2016-10-31 07:47:54
Mon, Oct 31, 2016 at 07:03:53AM CET, zenczykowski@gmail.com wrote:
One thing to consider... Just because the compiler could be in the kernel, doesn't mean it has to be. One could envision a hotplug/modprobe like helper program that the kernel executes when it wants to translate from one encoding (say p4) to another (say [e]bpf). This keeps complexity (compiler) out of the kernel, while still allowing us to have the illusion of only one interface to sw/hw. And it has the nice benefit of allowing us to use existing compiler toolchains...
This idea was repeatedly marked as unacceptable.