netlink: specs: ovs: remove fixed header fields from attrs
authorJakub Kicinski <kuba@kernel.org>
Fri, 15 Dec 2023 01:57:33 +0000 (17:57 -0800)
committerDavid S. Miller <davem@davemloft.net>
Fri, 15 Dec 2023 12:17:16 +0000 (12:17 +0000)
commit3ada0b33c454e2c8e3909b6d90576e993ac52d78
tree84ed6453f62ea9d5e65a9d74765b3395cad4e8e3
parent283f105bc82529648fa640e647095743d63283e0
netlink: specs: ovs: remove fixed header fields from attrs

Op's "attributes" list is a workaround for families with a single
attr set. We don't want to render a single huge request structure,
the same for each op since we know that most ops accept only a small
set of attributes. "Attributes" list lets us narrow down the attributes
to what op acctually pays attention to.

It doesn't make sense to put names of fixed headers in there.
They are not "attributes" and we can't really narrow down the struct
members.

Remove the fixed header fields from attrs for ovs families
in preparation for C codegen support.

Reviewed-by: Donald Hunter <donald.hunter@gmail.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Documentation/netlink/specs/ovs_datapath.yaml
Documentation/netlink/specs/ovs_flow.yaml
Documentation/netlink/specs/ovs_vport.yaml