[PATCH] doc: drop recommendation against bool in structures
Thomas Monjalon
thomas at monjalon.net
Wed Jul 22 11:44:05 CEST 2026
20/07/2026 13:46, Maxime Leroy:
> The coding style advised against bool in structures, citing space and
> type-size concerns inherited from the Linux kernel. That does not match
> DPDK practice: bool is already used in over 1400 structure fields across
> the tree, including core APIs such as rte_flow. Drop the note so the
> style guide reflects actual usage.
>
> Signed-off-by: Maxime Leroy <maxime at leroys.fr>
Acked-by: Bruce Richardson <bruce.richardson at intel.com>
Acked-by: Morten Brørup <mb at smartsharesystems.com>
Acked-by: Marat Khalili <marat.khalili at huawei.com>
Applied, thanks.
More information about the dev
mailing list