> > A few questions:
> >
> > Can I use the linux bonding driver and bind the dpdk port to bond0?
> > If not (which I suspect), can I do LACP bonding in OVS when using DPDK?
> 
> No, it's not supported at present
> 
I spent a bit of time looking at active-backup and we will spend more time in
the future. Bonding support in OVS *should* be independent of the netdev 
implementation (correct me if I am wrong?) so it should work with dpdk-netdev.

When you set up a bond, it just adds a bundle to the ofproto provider. Then
if the action for the associated rule outputs to that bundle, when a new flow 
arrives
before it gets installed in the dpif provider, the active interface is 
identified
and the flow will get output to that interface.

That said, I spent some time looking at it and I couldn’t get it working. I
think it may have been due to my rather awkward test setup. Two things that are
worth noting though:
1. you need to setup OVS as in normal mode as bonding is only supported
in this mode (according to the FAQ)
2. As the vsctl add-bond commands also tries to add the ports, you need to
add a dpdk bond as follows to ensure they are added as type=dpdk.
ovs-vsctl add-bond br0 dpdkbond0 dpdk0 dpdk1 -- set Interface dpdk0 type=dpdk 
-- set Interface dpdk1 type=dpdk
  
This may help you. If we look at this in the future, we will reply on this 
thread.

Mark
_______________________________________________
discuss mailing list
[email protected]
http://openvswitch.org/mailman/listinfo/discuss

Reply via email to