05.03.2020

Dpdk-dev,rfc,35/39 Net/dpaa: Add Support For Mac

Dpdk-dev,rfc,35/39 Net/dpaa: Add Support For Mac 9,4/10 2390 reviews

Introduction In some production environments, the target deployment platform is often different from the compile server. DPDK uses platform-specific instructions to optimize performance, which can lead to a problem where DPDK applications cannot operate on the deployment platform. In this article, you will learn how to compile DPDK for different Intel platforms using a single server. The code and DPDK application in this article are all from DPDK-17.11, and the compiler is the GNU Compiler Collection (gcc).

Dpdk-dev Rfc 35/39 Net/dpaa: Add Support For Mac Pro

The problem Below, l2fwd is compiled by using T=x8664-native-linuxapp-gcc on an Intel® Xeon® processor E5 2658 v4. When it is executed on an Intel Atom® processor C3858, an illegal instruction is encountered: root@wd-06-dnv #./l2fwd -c 0xc0 -n 2 -m 1024 - -p 0x1 Illegal instruction (core dumped) The solution When compiling DPDK, specify the target platform by using the -march parameter of gcc. DPDK defines common compiler parameters for most platforms.