Re: [PATCH net-next 3/6] tools: ynl-gen: use uapi mask definition in NLA_POLICY_MASK
From: Jakub Kicinski
Date: Mon Oct 13 2025 - 20:59:58 EST
On Mon, 13 Oct 2025 16:50:00 +0000 Asbjørn Sloth Tønnesen wrote:
> Currently when generating policies using NLA_POLICY_MASK(), then
> we emit a pre-computed decimal mask.
>
> When render-max is set, then we can re-use the mask definition,
> that has been generated in the uapi header.
This will encourage people to render masks in uAPI which just pollutes
the uAPI files.