[ovs-discuss] Architecture Open vSwitch with DPDK
Kury Nicolas
nicolas.kury at master.hes-so.ch
Wed Nov 25 08:30:37 UTC 2015
Hi
Thank your very much for the answer! I have also read and watched some presentation about OVS and now I understand better.
I have found a presentation about OVS-DPDK and there are some points I'm not sure to understand. Screenshot: http://s29.postimg.org/ig8us188n/ovs_dpdk.png
- The elements "ovs kernel module" and "kernel packet processing" and only used by dpif-linux, right ?
- The element "User Space Forwarding", is it dpif-netdev ?
____
In the PORTING.md section of OVS, I have some difficulties to understand the interation between a netdev provider and a dpif provider. Which one carries the packet, first ? The netdev provider or the dpif provider ?
- With OVS-DPDK, I guess netdev-dpdk is the first element to receive the packet and transmits it to the dpif-netdev (userspace), right ? Then dpif-netdev check the rules in the flow table and if they match, execute the action, and transmits it back to netdev-dpdk ?
- So... in OVS generic without DPDK, does the netdev-linux receive the packet first and transmit it to the dpif-netlink ? Then dpif-netlink transmits it to the datapath in kernel ? I think I'm wrong.
Thank you!
Nicolas
________________________________________
De : Justin Pettit <jpettit at ovn.org>
Envoyé : mercredi 25 novembre 2015 09:02
à : Kury Nicolas
Cc : bugs at openvswitch.org
Objet : Re: [ovs-discuss] Architecture Open vSwitch with DPDK
> On Nov 20, 2015, at 2:15 AM, Kury Nicolas <nicolas.kury at master.hes-so.ch> wrote:
>
> I think I have well understood the architecture. I have my own image. http://s22.postimg.org/p2ow45nap/ovs.png
FYI. Those diagrams are tiny and hard to read.
> In the PORTING section, the implementation of ofproto provider has 3 sublayer (ofproto-dpif, dpif and dpif provider). In my image I have only written "ofproto-dpif" to make it simpler to understand. I suppose it is also correct ?
You probably want to add the different dpif implementations (dpif-netdev and dpif-netlink), since it relates to your next set of questions.
> Open vSwitch with DPDK
> This part is unclear for me. My image : http://s22.postimg.org/472lswr3l/ovs_dpdk.png
> ⢠âIs there a specific implementation of ofproto provider for DPDK ?
No. It's using the userspace DPIF (dpif-netdev).
> ⢠Where is the datapath for OVS-DPDK ?
In lib/dpif-netdev.c.
> ⢠Is the module openvswitch.ko still present ? If yes, does it interact with DPDK ?
No, it's not needed.
>
> Open vSwitch with OpenDataPlane
> Do you know anything about OVS-ODP ?
Not really.
--Justin
More information about the discuss
mailing list