...
our own offload code which enables the full hardware offload with DPDK rte_flow APIs.
We have plans to open-source this OVS-DPDK. More detailed details will be provided in the future documentation.
Akraino Test Group Information
...
The Jenkins will use ansible plugin to download BF drivers and FS image in the test server and setup the environment
according to the ansible-playbook.
Image | download link |
---|---|
BlueField-2.5.1.11213.tar.xz | https://www.mellanox.com/products/software/bluefield |
core-image-full-dev-BlueField-2.5.1.11213.2.5.3.tar.xz | https://www.mellanox.com/products/software/bluefield |
mft-4.14.0-105-x86_64-deb.tgz | |
MLNX_OFED_LINUX-5.0-2.1.8.0-debian8.11-x86_64.tgz |
...
The software used and the ovsOVS-dpdk DPDK setup is shown belowedbelow.
Type | Description |
---|---|
SmartNICs | BlueField v1, 25Gbps |
DPDK | version 19.11 |
vSwitch | OVS-DPDK 2.12 with VXLAN DECAP/ENCAP offload enabled. |
Code Block |
---|
root@bluefield:/home/ovs-dpdk# ovs-vsctl show 2dccd148-526c-44a5-9351-67b04c5e2da4 Bridge br-int datapath_type: netdev Port vxlan-vtp Interface vxlan-vtp type: vxlan options: {dst_port="4789", key=flow, local_ip="192.168.1.1", remote_ip=flow, tos=inherit} Port br-int Interface br-int type: internal Port pf1hpf Interface pf1hpf type: dpdk options: {dpdk-devargs="class=eth,mac=ae:d8:8a:c5:22:fb"} Bridge br-ex datapath_type: netdev Port br-ex Interface br-ex type: internal Port p1 Interface p1 type: dpdk options: {dpdk-devargs="class=eth,mac=98:03:9b:af:7b:0b"} |
...
Open vSwitch itself contains a test suite for functional test, the link is http://docs.openvswitch.org/en/latest/topics/testing/
We have ran run the basic test suite according to the link.
...
OVS-DPDK | OF rules | Traffic | pktgen pps | received pps (hw) | received pps (no hw) | PMD idle cycles w/ hw offload | PMD idle cycles w/o hw offload |
---|---|---|---|---|---|---|---|
1 PMD(s) | Directly forwarding without the match "in_port=vxlan-vtp, actions=output: pf1hpf" | single TCP flow with VXLAN encapsulation | 24.6Mpps | 23.9Mpps | 745156 | 99% | 0% |
...
OVS-DPDK | OF rules | Traffic | pktgen pps | received pps (hw) | received pps (no hw) | PMD idle cycles w/ hw offload | PMD idle cycles w/o hw offload |
---|---|---|---|---|---|---|---|
1 PMD(s) | Directly forwarding without the match "in_port=vxlan-vtp, actions=output: pf1vf0" | single TCP flow with VXLAN encapsulation | 24.6Mpps | 23.8Mpps | 747097 | 99% | 0% |
1 PMD(s) | match and forwarding 100 rules "in_port=vxlan-vtp,ip,nw_dst=10.1.1.[1-100] actions=pf1vf0" | 100 flows with nw_dst=10.1.1.[1-100] | 24.6Mpps | 21.6Mpps (100 megaflows offloaded) | 624161 | 99% | 0% |
1 PMD(s) | match and forwarding 1000 rules "in_port=vxlan-vtp,ip,nw_dst=10.1.[1-10].[1-100] actions=pf1vf0" | 1000 flows with nw_dst=10.1.[1-10].[1-100] 891 flows (due to pktgen limit, only 891 flows are loaded) | 24.6Mpps | 23.3Mpps (891 megaflows offloaded) | 524144 | 99% | 0% |
...