[ovs-dev] [RFC: add openvswitch actions using BPF 9/9] ofproto-dpif-xlate: generate BPF output action (Hack)

Thomas Graf tgraf at noironetworks.com
Thu Feb 5 14:29:59 UTC 2015


On 02/04/15 at 02:49pm, Andy Zhou wrote:
> This is a hack in xlate code to always generate both BPF output
> and the original output action. Since the currnet BPF output 'action'
> simply generate a kenrel log message about the output port number.
> 
> With this patch, Every time datapath output a packet, it also generate
> log about the port number in the kernel log.

This sounds great. Having the possibility the overwrite existing
datapath actions with BPF programs sounds like an excellent first
step towards BPF usage in the datapath.



More information about the dev mailing list