Rate This Document
Findability
Accuracy
Completeness
Readability

Installing Software

Deploy the open source OVS+DPDK solution or OVS flow table normalization solution based on test requirements. For details about how to install related software, see Running and Verifying XPF in the OVS Flow Table Normalization Feature Guide.

To reduce the test workload, host 1 (the client) uses software offloading and needs no subsequent configuration. You only need to configure host 2 (the server).

The native OVS 2.12.0 cannot adapt to DPDK 19.11. Modify the OVS source code as follows:
  • In the openvswitch-2.12.0/ lib/netdev-dpdk.c file:

    Change ETHER_HDR_LEN in lines 86 to 91 to RTE_ETHER_HDR_LEN.

    Change ETHER_CRC_LEN in lines 86 to 91 to RTE_ETHER_CRC_LEN.

    Change ether_addr in lines 1045 and 1697 to rte_ether_addr.

    Change ether_hdr in line 2080 to rte_ether_hdr.

    Change e_RTE_METER_GREEN in line 2083 to RTE_COLOR_GREEN.

    Change ETHER_MIN_MTU in line 2626 to RTE_ETHER_MIN_MTU.

    Change ETHER_MTU in lines 618, 933, and 1170 to RTE_ETHER_MTU.

  • In the openvswitch-2.12.0/ lib/dpdk.c file:

    Change err = rte_pdump_init(ovs_rundir()) in line 442 to err = rte_pdump_init().