|WARNING| pw123498 [PATCH] [v2] common/idpf: fix compilation for AVX512DQ

dpdklab at iol.unh.edu dpdklab at iol.unh.edu
Thu Feb 9 06:58:29 CET 2023


Test-Label: iol-testing
Test-Status: WARNING
http://dpdk.org/patch/123498

_apply patch failure_

Submitter: Wenjun Wu <wenjun1.wu at intel.com>
Date: Thursday, February 09 2023 05:49:02 
Applied on: CommitID:a0c837ad1fb5b6a8b10a284ffeb5f9e31bd8ff00
Apply patch set 123498 failed:

Checking patch drivers/common/idpf/meson.build...
error: while searching for:
if arch_subdir == 'x86'
    idpf_avx512_cpu_support = (
        cc.get_define('__AVX512F__', args: machine_args) != '' and
        cc.get_define('__AVX512BW__', args: machine_args) != ''
    )

    idpf_avx512_cc_support = (
        not machine_args.contains('-mno-avx512f') and
        cc.has_argument('-mavx512f') and
        cc.has_argument('-mavx512bw')
    )

    if idpf_avx512_cpu_support == true or idpf_avx512_cc_support == true
        cflags += ['-DCC_AVX512_SUPPORT']
        avx512_args = [cflags, '-mavx512f', '-mavx512bw']
        if cc.has_argument('-march=skylake-avx512')
            avx512_args += '-march=skylake-avx512'
        endif

error: patch failed: drivers/common/idpf/meson.build:12
Checking patch drivers/net/idpf/meson.build...
Hunk #1 succeeded at 18 (offset -5 lines).
Applying patch drivers/common/idpf/meson.build with 1 reject...
Rejected hunk #1.
Applied patch drivers/net/idpf/meson.build cleanly.
diff a/drivers/common/idpf/meson.build b/drivers/common/idpf/meson.build	(rejected hunks)
@@ -12,18 +12,20 @@ sources = files(
 if arch_subdir == 'x86'
     idpf_avx512_cpu_support = (
         cc.get_define('__AVX512F__', args: machine_args) != '' and
-        cc.get_define('__AVX512BW__', args: machine_args) != ''
+        cc.get_define('__AVX512BW__', args: machine_args) != '' and
+        cc.get_define('__AVX512DQ__', args: machine_args) != ''
     )
 
     idpf_avx512_cc_support = (
         not machine_args.contains('-mno-avx512f') and
         cc.has_argument('-mavx512f') and
-        cc.has_argument('-mavx512bw')
+        cc.has_argument('-mavx512bw') and
+        cc.has_argument('-mavx512dq')
     )
 
     if idpf_avx512_cpu_support == true or idpf_avx512_cc_support == true
         cflags += ['-DCC_AVX512_SUPPORT']
-        avx512_args = [cflags, '-mavx512f', '-mavx512bw']
+        avx512_args = [cflags, '-mavx512f', '-mavx512bw', '-mavx512dq']
         if cc.has_argument('-march=skylake-avx512')
             avx512_args += '-march=skylake-avx512'
         endif

https://lab.dpdk.org/results/dashboard/patchsets/25304/

UNH-IOL DPDK Community Lab


More information about the test-report mailing list