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 8DA7746D6D;
Tue, 19 Aug 2025 22:58:43 +0200 (CEST)
Received: from mails.dpdk.org (localhost [127.0.0.1])
by mails.dpdk.org (Postfix) with ESMTP id 224794026C;
Tue, 19 Aug 2025 22:58:43 +0200 (CEST)
Received: from inbox.dpdk.org (inbox.dpdk.org [95.142.172.178])
by mails.dpdk.org (Postfix) with ESMTP id 4290940151
for ; Tue, 19 Aug 2025 22:58:41 +0200 (CEST)
Received: by inbox.dpdk.org (Postfix, from userid 33)
id 254E046D6E; Tue, 19 Aug 2025 22:58:41 +0200 (CEST)
From: bugzilla@dpdk.org
To: dev@dpdk.org
Subject: [DPDK/other Bug 1774] Build error: static assertion failed:
"GMAC_LARGE_PLAINTEXT_LENGTH should not be greater than
LARGE_MBUF_DATAPAYLOAD_SIZE"
Date: Tue, 19 Aug 2025 20:58:41 +0000
X-Bugzilla-Reason: AssignedTo
X-Bugzilla-Type: new
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: DPDK
X-Bugzilla-Component: other
X-Bugzilla-Version: 25.07
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: parthakumar.roy@ibm.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: multipart/alternative; boundary=17556371200.e1A53.818719
Content-Transfer-Encoding: 7bit
X-Bugzilla-URL: https://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
--17556371200.e1A53.818719
Date: Tue, 19 Aug 2025 22:58:40 +0200
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: https://bugs.dpdk.org/
Auto-Submitted: auto-generated
X-Auto-Response-Suppress: All
https://bugs.dpdk.org/show_bug.cgi?id=3D1774
Bug ID: 1774
Summary: Build error: static assertion failed:
"GMAC_LARGE_PLAINTEXT_LENGTH should not be greater
than LARGE_MBUF_DATAPAYLOAD_SIZE"
Product: DPDK
Version: 25.07
Hardware: x86
OS: Linux
Status: UNCONFIRMED
Severity: normal
Priority: Normal
Component: other
Assignee: dev@dpdk.org
Reporter: parthakumar.roy@ibm.com
Target Milestone: ---
This commit
https://github.com/DPDK/dpdk/commit/6a9f3f6df9ef51e30ff5bf3eea00f27ffef87a16
enables RTE_PKTMBUF_HEADROOM to be tuned from the build process. However,
GMAC_LARGE_PLAINTEXT_LENGTH setting of 65344 fails a static assert if
RTE_PKTMBUF_HEADROOM is set to 192. Changing it to 65343 would pass the bui=
ld.
meson setup -Dplatform=3Dx86_64 -Dpkt_mbuf_headroom=3D192 -Dmax_lcores=3D128
-Dmax_ethports=3D64
-Denable_drivers=3Dbus/auxiliary,bus/pci,common/mlx5,net/mlx5,net/tap
-Denable_driver_sdk=3Dtrue -Dcpu_instruction_set=3Dbroadwell -Dprefix=3D/ b=
uild; cd
build &&=20
...
[896/1072] Compiling C object app/dpdk-test.p/test_test_cryptodev.c.o=20=20=
=20=20=20=20=20=20=20=20=20
FAILED: app/dpdk-test.p/test_test_cryptodev.c.o=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20
...=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20
In file included from ../lib/net/rte_ether.h:14,=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20
from ../app/test/test_cryptodev.c:16:=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20
../app/test/test_cryptodev_aead_test_vectors.h:15:1: error: static assertion
failed: "GMAC_LARGE_PLAINTEXT_LENGTH should not be greater than
LARGE_MBUF_DATAPAYLOAD_SIZE"=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20
15 | static_assert(GMAC_LARGE_PLAINTEXT_LENGTH <=3D
LARGE_MBUF_DATAPAYLOAD_SIZE,=20=20=20=20=20=20=20=20=20=20=20=20=20
| ^~~~~~~~~~~~~
--=20
You are receiving this mail because:
You are the assignee for the bug.=
--17556371200.e1A53.818719
Date: Tue, 19 Aug 2025 22:58:40 +0200
MIME-Version: 1.0
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: https://bugs.dpdk.org/
Auto-Submitted: auto-generated
X-Auto-Response-Suppress: All
Build error: static assertion failed: "GMAC_LARGE_PLAINT=
EXT_LENGTH should not be greater than LARGE_MBUF_DATAPAYLOAD_SIZE"
Product
DPDK
Version
25.07
Hardware
x86
OS
Linux
Status
UNCONFIRMED
Severity
normal
Priority
Normal
Component
other
Assignee
dev@dpdk.org
Reporter
parthakumar.roy@ibm.com
Target Milestone
---
This commit
https://github.com/DPDK/dpdk/commit/6a9f3f6df9ef51e30ff5bf3ee=
a00f27ffef87a16
enables RTE_PKTMBUF_HEADROOM to be tuned from the build process. However,
GMAC_LARGE_PLAINTEXT_LENGTH setting of 65344 fails a static assert if
RTE_PKTMBUF_HEADROOM is set to 192. Changing it to 65343 would pass the bui=
ld.
meson setup -Dplatform=3Dx86_64 -Dpkt_mbuf_headroom=3D192 -Dmax_lcores=3D128
-Dmax_ethports=3D64
-Denable_drivers=3Dbus/auxiliary,bus/pci,common/mlx5,net/mlx5,net/tap
-Denable_driver_sdk=3Dtrue -Dcpu_instruction_set=3Dbroadwell -Dprefix=3D/ b=
uild; cd
build &&=20
...
[896/1072] Compiling C object app/dpdk-test.p/test_test_cryptodev.c.o=20=20=
=20=20=20=20=20=20=20=20=20
FAILED: app/dpdk-test.p/test_test_cryptodev.c.o=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20
...=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20
In file included from ../lib/net/rte_ether.h:14,=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20
from ../app/test/test_cryptodev.c:16:=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20
../app/test/test_cryptodev_aead_test_vectors.h:15:1: error: static assertion
failed: "GMAC_LARGE_PLAINTEXT_LENGTH should not be greater than
LARGE_MBUF_DATAPAYLOAD_SIZE"=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20
15 | static_assert(GMAC_LARGE_PLAINTEXT_LENGTH <=3D
LARGE_MBUF_DATAPAYLOAD_SIZE,=20=20=20=20=20=20=20=20=20=20=20=20=20
| ^~~~~~~~~~~~~