From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 2567FA0350; Mon, 28 Feb 2022 11:06:28 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id B79EB41165; Mon, 28 Feb 2022 11:06:27 +0100 (CET) Received: from inbox.dpdk.org (inbox.dpdk.org [95.142.172.178]) by mails.dpdk.org (Postfix) with ESMTP id 768F741157 for ; Mon, 28 Feb 2022 11:06:26 +0100 (CET) Received: by inbox.dpdk.org (Postfix, from userid 33) id 5284AA0353; Mon, 28 Feb 2022 11:06:26 +0100 (CET) From: bugzilla@dpdk.org To: dev@dpdk.org Subject: [Bug 940] [dpdk 22.03-rc2] drivers/libtmp_rte_common_cnxk.a.p/common_cnxk_roc_nix_inl_dev.c.o: meson build failed with -Dmax_ethports=1024 parameter Date: Mon, 28 Feb 2022 10:06:26 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: DPDK X-Bugzilla-Component: testpmd X-Bugzilla-Version: unspecified X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: weix.ling@intel.com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: Normal X-Bugzilla-Assigned-To: dev@dpdk.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter target_milestone Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://bugs.dpdk.org/ Auto-Submitted: auto-generated X-Auto-Response-Suppress: All MIME-Version: 1.0 X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org https://bugs.dpdk.org/show_bug.cgi?id=3D940 Bug ID: 940 Summary: [dpdk 22.03-rc2] drivers/libtmp_rte_common_cnxk.a.p/common_cnxk_roc_nix _inl_dev.c.o: meson build failed with -Dmax_ethports=3D1024 parameter Product: DPDK Version: unspecified Hardware: All OS: All Status: UNCONFIRMED Severity: normal Priority: Normal Component: testpmd Assignee: dev@dpdk.org Reporter: weix.ling@intel.com Target Milestone: --- [Environment] DPDK version: Use make showversion or for a non-released version: git remot= e -v && git show-ref --heads DPDK-22.03-rc2: commit 305769000c40a4fdf1ed0cf24c157b447b91ea7d (HEAD -> main, tag: v22.03-= rc2, origin/main, origin/HEAD) Author: Thomas Monjalon Date: Sun Feb 27 21:52:48 2022 +0100 version: 22.03-rc2 Signed-off-= by: Thomas Monjalon Other software versions: N/A OS: Ubuntu 20.04.3 LTS/Linux 5.8.0-48-generic Compiler: gcc version 9.3.0 (Ubuntu 9.3.0-17ubuntu1~20.04) Hardware platform: Intel(R) Xeon(R) Platinum 8280M CPU @ 2.70GHz NIC hardware: N/A NIC firmware: N/A [Test Setup] Steps to reproduce List the steps to reproduce the issue. Use the following command to build DPDK: CC=3Dgcc meson -Denable_kmods=3DTrue -Dlibdir=3Dlib -Dmax_ethports=3D1024 --default-library=3Dstatic x86_64-native-linuxapp-gcc ninja -C x86_64-native-linuxapp-gcc Show the output from the previous commands. [594/3394] Compiling C object drivers/libtmp_rte_common_cnxk.a.p/common_cnxk_roc_nix_inl_dev.c.o FAILED: drivers/libtmp_rte_common_cnxk.a.p/common_cnxk_roc_nix_inl_dev.c.o gcc -Idrivers/libtmp_rte_common_cnxk.a.p -Idrivers -I../drivers -Idrivers/common/cnxk -I../drivers/common/cnxk -Idrivers/bus/pci -I../drivers/bus/pci -Ilib/net -I../lib/net -Ilib/ethdev -I../lib/ethdev -Ilib/meter -I../lib/meter -I. -I.. -Iconfig -I../config -Ilib/eal/include -I../lib/eal/include -Ilib/eal/linux/include -I../lib/eal/linux/include -Ilib/eal/x86/include -I../lib/eal/x86/include -Ilib/eal/common -I../lib/eal/common -Ilib/eal -I../lib/eal -Ilib/kvargs -I../lib/kvargs -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -Ilib/pci -I../lib/pci -I../drivers/bus/pci/linux -Ilib/mbuf -I../lib/mbuf -Ilib/memp= ool -I../lib/mempool -Ilib/ring -I../lib/ring -Ilib/security -I../lib/security -Ilib/cryptodev -I../lib/cryptodev -Ilib/rcu -I../lib/rcu -fdiagnostics-color=3Dalways -D_FILE_OFFSET_BITS=3D64 -Wall -Winvalid-pch -= Wextra -O3 -include rte_config.h -Wcast-qual -Wdeprecated -Wformat -Wformat-nonlit= eral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-exte= rns -Wold-style-definition -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-address-of-packed-member -Wno-packed-not-align= ed -Wno-missing-field-initializers -D_GNU_SOURCE -fPIC -march=3Dnative -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -DRTE_LOG_DEFAULT_LOGTYPE=3Dpmd.common.cnxk -MD -MQ drivers/libtmp_rte_common_cnxk.a.p/common_cnxk_roc_nix_inl_dev.c.o -MF drivers/libtmp_rte_common_cnxk.a.p/common_cnxk_roc_nix_inl_dev.c.o.d -o drivers/libtmp_rte_common_cnxk.a.p/common_cnxk_roc_nix_inl_dev.c.o -c ../drivers/common/cnxk/roc_nix_inl_dev.c In file included from ../drivers/common/cnxk/roc_api.h:25, from ../drivers/common/cnxk/roc_nix_inl_dev.c:5: ../drivers/common/cnxk/roc_nix_inl_dev.c: In function =E2=80=98roc_nix_inl_= dev_init=E2=80=99: ../drivers/common/cnxk/roc_platform.h:52:31: error: static assertion failed: "sizeof(struct nix_inl_dev) <=3D ROC_NIX_INL_MEM_SZ" 52 | #define PLT_STATIC_ASSERT(s) _Static_assert(s, #s) | ^~~~~~~~~~~~~~ ../drivers/common/cnxk/roc_nix_inl_dev.c:794:2: note: in expansion of macro =E2=80=98PLT_STATIC_ASSERT=E2=80=99 794 | PLT_STATIC_ASSERT(sizeof(struct nix_inl_dev) <=3D ROC_NIX_INL_MEM_= SZ); | ^~~~~~~~~~~~~~~~~ [707/3394] Compiling C object lib/librte_pipeline.a.p/pipeline_rte_table_action.c.o ninja: build stopped: subcommand failed. [Expected Result] Explain what is the expected result in text or as an example output: Build DPDK normally. Regression Is this issue a regression: (Y/N)Y Version the regression was introduced: Specify git id if known. First bad commit: commit bea5d990a93b34b70ea27b5d942dd4422a86c061 (HEAD) Author: Vamsi Attunuru Date: Thu Feb 24 15:19:31 2022 +0530 net/cnxk: support outbound soft expiry notification Add support for soft expiry notification mechanism in outbound path by creating required number of ring buffers and a common poll thread which polls for soft expiry events enqueued by microcode. Signed-off-by: Vamsi Attunuru Acked-by: Jerin Jacob --=20 You are receiving this mail because: You are the assignee for the bug.=