Re: [PATCH net-next v3 06/13] tools: ynl-gen: deduplicate fixed_header handling
From: Jakub Kicinski <kuba@kernel.org>
Date: 2025-09-13 00:24:20
Also in:
lkml
From: Jakub Kicinski <kuba@kernel.org>
Date: 2025-09-13 00:24:20
Also in:
lkml
On Thu, 11 Sep 2025 20:04:59 +0000 Asbjørn Sloth Tønnesen wrote:
Fixed headers are handled nearly identical in print_dump(), print_req() and put_req_nested(), generalize them and use a common function to generate them. This only causes cosmetic changes to tc_netem_attrs_put() in tc-user.c. Signed-off-by: Asbjørn Sloth Tønnesen <redacted> --- tools/net/ynl/pyynl/ynl_gen_c.py | 39 ++++++++++++++++---------------- 1 file changed, 20 insertions(+), 19 deletions(-)
This only makes the code longer and harder to follow.