Re: [RFC net-next 0/4] ynl: YAML netlink protocol descriptions
From: Jakub Kicinski <kuba@kernel.org>
Date: 2022-08-11 04:47:08
Also in:
linux-doc
From: Jakub Kicinski <kuba@kernel.org>
Date: 2022-08-11 04:47:08
Also in:
linux-doc
On Wed, 10 Aug 2022 21:15:34 -0700 Stephen Hemminger wrote:
Would rather this be part of iproute2 rather than requiring it to be maintained separately and part of the kernel tree.
I don't understand what you're trying to say. What is "this", what is "separate" from what? Did I fall victim of the "if the cover letter is too long nobody actually reads it" problem? Or am I simply too tired to parse? iproute2 is welcome to use the protocol descriptions like any other user space, but I'm intending to codegen kernel code based on the YAML:
quoted
On the kernel side the YAML spec can be used to generate: - the C uAPI header - documentation of the protocol as a ReST file - policy tables for input attribute validation - operation tables
So how can it not be in the kernel tree?