Commit 0629f22e authored by Jakub Kicinski's avatar Jakub Kicinski

ynl: netdev: drop unnecessary enum-as-flags

enum-as-flags can be used when enum declares bit positions but
we want to carry bitmask in an attribute. If the definition
is already provided as flags there's no need to indicate
the flag-iness of the attribute.
Acked-by: default avatarStanislav Fomichev <sdf@google.com>
Link: https://lore.kernel.org/r/20231003153416.2479808-2-kuba@kernel.orgSigned-off-by: default avatarJakub Kicinski <kuba@kernel.org>
parent d86e5fbd
...@@ -74,7 +74,6 @@ attribute-sets: ...@@ -74,7 +74,6 @@ attribute-sets:
doc: Bitmask of enabled xdp-features. doc: Bitmask of enabled xdp-features.
type: u64 type: u64
enum: xdp-act enum: xdp-act
enum-as-flags: true
- -
name: xdp-zc-max-segs name: xdp-zc-max-segs
doc: max fragment count supported by ZC driver doc: max fragment count supported by ZC driver
...@@ -87,7 +86,6 @@ attribute-sets: ...@@ -87,7 +86,6 @@ attribute-sets:
See Documentation/networking/xdp-rx-metadata.rst for more details. See Documentation/networking/xdp-rx-metadata.rst for more details.
type: u64 type: u64
enum: xdp-rx-metadata enum: xdp-rx-metadata
enum-as-flags: true
operations: operations:
list: list:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment