![]() For example, to unbind the eth1 from igb_uio type the command: Note: To unbind the device from dpdk-compatible driver, select the driver to “none”. Picture 7 - No Adapters eth0 and eth1 Presented in Output of Ifconfig Once binded to igb_uio driver, interfaces eth0 and eth1 are not presented in the output of the command ifconfig (Picture 7). Picture 6 - Ethernet Interfaces eth0 and eth1 Binded to DPDK-compatibile driver igb_uio To bind devices eth0 and eth1 to the driver igb_kio, issue the commands bellow. Notice, the Interfaces eth0-eth7 binded to kernel driver e1000. ![]() They are not adapters binded to any DPDK compatible drivers (igb_uio, vfio-pci). Picture 5 - Checking Network Adapters Binding Status dpdk_initializedĬheck if they are any network cards binded to DPDK (Picture 5). $ sudo /usr/local/bin/ovs-vsctl get Open_vSwitch. A value of true means that the DPDK EAL initialization succeeded (Picture 4). All the startup commands are stored in /etc/rc.local.ĭPDK support can be confirmed by validating the dpdk_initialized boolean value from the ovsdb. The Picture 3 shows the log from starting vswitch daemon. Start Open vSwitch appliance and login with username/password: debian/debian. Bind Network Adapters to DPDK-compatible Driver Picture 2 - GNS3 Advanced Settings ConfigurationĢ. Do not forget to set CPU flags SSE 3, SSE 4.1 and SSE 4.2 to support these instruction sets for our appliance. Advanced QEMU VM settings are depicted on the Picture 2. Finally, switch to Advanced settings tab. Add another NIC so we can use two adapters. Switch to Network tab and select Intel Gigabit Ethernet (e1000) network adapter from menu. Right click on node and navigate to General Settings tab. Picture 1 - Debian Open vSwitch/DPSK Appliance with Connected HostĬheck GNS3 settings for Open vSwitch appliance. The Linux Core 6.3 image is available there, as well. Note: Open vSwitch 2.11.1 appliance built on Debian 10 buster and DPDK 18.11.2 is available in Download-> Appliance Section. The host PC1 will be be acting as a iPerf3 client connecting to the iPerf3 server running on the host PC2. As a last step, we will measure maximum achievable bandwidth with iPerf3 tool. Firstly, we are going to bind the both ports to DPDK-compatible driver and create a bridge with the DPDK ports attached to the bridge. Two Linux Core 6.3 hosts PC1 and PC2 are connected to the switchports Ethernet0 and Ethernet1, respectively. The lab is created as GNS3 project which consists of a single Debian Open vSwitch appliance. A network topology is depicted on the Picture 1. We have created a 元 Open vSwitch QEMU appliance that we will use to compare performance of Open vSwitch with enabled/disabled DPDK. In a previous tutorial we have built DPDK 18.11.2 and Open vSwitch 2.11.1 on Linux Debian 10.1 VM (buster).
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |