How to disable usage of VPCLMULQDQ

Dmitry Kozlyuk dmitry.kozliuk at gmail.com
Fri Dec 23 12:57:38 CET 2022


2022-12-23 13:15 (UTC+0200), Oleksandr Nahnybida:
> Hi All,
> 
> DPDKv22.11
> 
> My build machine supports VPCLMULQDQ instruction, but the machine I run
> DPDK on doesn't support it, is there a way to force the build system not to
> use this instruction?
> 
> Right now, I added this line at the beginning of config/x86/meson.build:
> machine_args += '-mno-vpclmulqdq'
> 
> But, it would have been nice if there was a build config to do this.

Hi Oleksandr,

Use -Dcpu_instruction_set=haswell (for example) suitable for your target.

Read more about -Dplatform and -Dcpu_instruction_set:
https://doc.dpdk.org/guides/linux_gsg/build_dpdk.html


More information about the users mailing list