[DPDK/other Bug 1774] Build error: static assertion failed: "GMAC_LARGE_PLAINTEXT_LENGTH should not be greater than LARGE_MBUF_DATAPAYLOAD_SIZE"
bugzilla at dpdk.org
bugzilla at dpdk.org
Tue Aug 19 22:58:41 CEST 2025
https://bugs.dpdk.org/show_bug.cgi?id=1774
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 at dpdk.org
Reporter: parthakumar.roy at 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 build.
meson setup -Dplatform=x86_64 -Dpkt_mbuf_headroom=192 -Dmax_lcores=128
-Dmax_ethports=64
-Denable_drivers=bus/auxiliary,bus/pci,common/mlx5,net/mlx5,net/tap
-Denable_driver_sdk=true -Dcpu_instruction_set=broadwell -Dprefix=/ build; cd
build &&
...
[896/1072] Compiling C object app/dpdk-test.p/test_test_cryptodev.c.o
FAILED: app/dpdk-test.p/test_test_cryptodev.c.o
...
In file included from ../lib/net/rte_ether.h:14,
from ../app/test/test_cryptodev.c:16:
../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"
15 | static_assert(GMAC_LARGE_PLAINTEXT_LENGTH <=
LARGE_MBUF_DATAPAYLOAD_SIZE,
| ^~~~~~~~~~~~~
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mails.dpdk.org/archives/dev/attachments/20250819/7f7ac6fc/attachment.htm>
More information about the dev
mailing list