[ovs-discuss] Does it work if netdev datapath connect system datapath through patch ports
xianghuir at gmail.com
Fri Oct 13 10:04:16 UTC 2017
Is the patch port output logistic within function apply_nested_clone_actions
? Sorry, I have not totally understood the whole picture on how a packet
the datapath flow on the case that goes from netdev datapath patch port_B
to system datapath port_C. Is it such a procedure:
When a packet arrives at patch port_B of netdev datapath br1, the xlate ctx
switch to system datapath br2, and try to find a
rule, the rule probably missed, but I didn't find where this rule should be
preloaded, and why does it not work in this case.
Coud you help to guide?
In additions, does it work with veth connected netdev datapath with system
datapath? It seems OVN will bridge the br-int with
the external network having another bridge with patch port, in this case,
if br-int is netdev, but external bridge is system,
then it doesn't work as what I understand so far.
On Thu, Oct 12, 2017 at 11:48 PM, Ben Pfaff <blp at ovn.org> wrote:
> On Thu, Oct 12, 2017 at 05:22:14PM +0800, Hui Xiang wrote:
> > Seems it works with the same datapath type during the discussion in
> > by finally done a flow of leaving two kernel netdev port communicate
> > together.
> > But in my case I have a setup with two bridges has different datapath
> > type, netdev and system, need to be connected, port_A(in netdev datapath)
> > is in running in the userspace, port_D(in system datapath), will the flow
> > be port_A ---- port_D directly and packets go through userspace to
> > kernelspace and so on in the reverse direction,
> > does patch port can make it work?
> No, that doesn't work. (I should document that.)
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the discuss