Test-Label: intel-Testing Test-Status: SUCCESS _Testing PASS DPDK git repo: dpdk-next-eventdev commit dd955e2971eb71e4a139adf4aeaed4532426db82 Author: Ferruh Yigit Date: Thu Nov 3 15:22:03 2022 +0000 event/dlb2: fix meson build "meson setup" fails when '-Werror' compiler flag is enabled [1]. This is not a build error in the driver but a build error in meson during "meson setup" stage. This issue exists for a while but meson takes it as a warning and ignores it unless '-Werror' compiler flag is provided. Although it doesn't cause build error without '-Werror', relevant code should be broken functionally, this patch fixes that too. Build file using a variable to detect if macro defined, but that variable is not set, looks like copy/paste error. Replacing variable with hardcoded macro name. [1] Reproduced via `meson -Dc_args='-Werror' build` in file 'build/meson-logs/meson-log.txt' `` Running compile: Working directory: /tmp/tmpfrnw2x8z Command line: ccache cc /tmp/tmpfrnw2x8z/testfile.c -pipe -E -P -Werror -D_FILE_OFFSET_BITS=64 -P -O0 -march=native Code: #ifndef dev/qat_crypto_pmd_gen4.c # define dev/qat_crypto_pmd_gen4.c #endif "MESON_GET_DEFINE_DELIMITER" dev/qat_crypto_pmd_gen4.c Compiler stdout: "MESON_GET_DEFINE_DELIMITER" /qat_crypto_pmd_gen4.c/qat_crypto_pmd_gen4.c Compiler stderr: /tmp/tmpfrnw2x8z/testfile.c:3:20: error: extra tokens at end of #ifndef directive [-Werror] 3 | #ifndef dev/qat_crypto_pmd_gen4.c | ^ /tmp/tmpfrnw2x8z/testfile.c:4:18: error: ISO C99 requires whitespace after the macro name [-Werror] 4 | # define dev/qat_crypto_pmd_gen4.c | ^~~ cc1: all warnings being treated as errors drivers/event/dlb2/meson.build:41:10: ERROR: Could not get define 'dev/qat_crypto_pmd_gen4.c' `` Fixes: d0ce87e41cdc ("event/dlb2: support single 512B write of 4 QEs") Cc: stable@dpdk.org Reported-by: Luca Boccassi Signed-off-by: Ferruh Yigit Testing Summary : 18 Case Done, 18 Successful, 0 Failures Testbed #1: 9 Case Done, 9 Successful, 0 Failures * Test result details: +-------------+---------------------------+-------+ | suite | case | status| +-------------+---------------------------+-------+ | asan_smoke | test_rxtx_with_ASan_enable| passed| | pf_smoke | test_pf_jumbo_frames | passed| | pf_smoke | test_pf_rss | passed| | pf_smoke | test_pf_tx_rx_queue | passed| | vf_smoke | test_vf_jumbo_frames | passed| | vf_smoke | test_vf_rss | passed| | vf_smoke | test_vf_tx_rx_queue | passed| | virtio_smoke| test_virtio_loopback | passed| | virtio_smoke| test_virtio_pvp | passed| +-------------+---------------------------+-------+ * Environment: OS : Ubuntu 20.04.5 LTS Kernel : 5.8.0-63-generic GCC : 9.4.0-1ubuntu1~20.04.1 NIC : Ethernet Controller E810-C for SFP Target : x86_64-native-linuxapp-gcc Testbed #2: 9 Case Done, 9 Successful, 0 Failures * Test result details: +-------------+---------------------------+-------+ | suite | case | status| +-------------+---------------------------+-------+ | asan_smoke | test_rxtx_with_ASan_enable| passed| | pf_smoke | test_pf_jumbo_frames | passed| | pf_smoke | test_pf_rss | passed| | pf_smoke | test_pf_tx_rx_queue | passed| | vf_smoke | test_vf_rss | passed| | vf_smoke | test_vf_tx_rx_queue | passed| | vf_smoke | test_vf_jumbo_frames | n/a | | virtio_smoke| test_virtio_loopback | passed| | virtio_smoke| test_virtio_pvp | passed| +-------------+---------------------------+-------+ * Environment: OS : Ubuntu 20.04.5 LTS Kernel : 5.13.0-30-generic GCC : 9.4.0-1ubuntu1~20.04.1 NIC : Ethernet Controller XL710 for 40GbE QSFP+ Target : x86_64-native-linuxapp-gcc TestPlan: pf_smoke: http://git.dpdk.org/tools/dts/tree/test_plans/pf_smoke_test_plan.rst vf_smoke: http://git.dpdk.org/tools/dts/tree/test_plans/vf_smoke_test_plan.rst asan_smoke: http://git.dpdk.org/tools/dts/tree/test_plans/asan_smoke_test_plan.rst TestSuite: pf_smoke: http://git.dpdk.org/tools/dts/tree/tests/TestSuite_pf_smoke.py vf_smoke: http://git.dpdk.org/tools/dts/tree/tests/TestSuite_vf_smoke.py virtio_smoke: http://git.dpdk.org/tools/dts/tree/tests/TestSuite_virtio_smoke.py asan_smoke: http://git.dpdk.org/tools/dts/tree/tests/TestSuite_asan_smoke.py DPDK STV team