aboutsummaryrefslogtreecommitdiff
path: root/Documentation
diff options
context:
space:
mode:
authorGravatar Jakub Kicinski <kuba@kernel.org> 2023-10-03 08:34:14 -0700
committerGravatar Jakub Kicinski <kuba@kernel.org> 2023-10-04 17:33:54 -0700
commit0629f22ec130940c9c8a15fa9a4994996816d474 (patch)
tree5f5ff0c65cd0534d6f9a3006fa0fe7e3a358912d /Documentation
parentnet: skb_queue_purge_reason() optimizations (diff)
downloadlinux-0629f22ec130940c9c8a15fa9a4994996816d474.tar.gz
linux-0629f22ec130940c9c8a15fa9a4994996816d474.tar.bz2
linux-0629f22ec130940c9c8a15fa9a4994996816d474.zip
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: Stanislav Fomichev <sdf@google.com> Link: https://lore.kernel.org/r/20231003153416.2479808-2-kuba@kernel.org Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'Documentation')
-rw-r--r--Documentation/netlink/specs/netdev.yaml2
1 files changed, 0 insertions, 2 deletions
diff --git a/Documentation/netlink/specs/netdev.yaml b/Documentation/netlink/specs/netdev.yaml
index c46fcc78fc04..14511b13f305 100644
--- a/Documentation/netlink/specs/netdev.yaml
+++ b/Documentation/netlink/specs/netdev.yaml
@@ -74,7 +74,6 @@ attribute-sets:
doc: Bitmask of enabled xdp-features.
type: u64
enum: xdp-act
- enum-as-flags: true
-
name: xdp-zc-max-segs
doc: max fragment count supported by ZC driver
@@ -87,7 +86,6 @@ attribute-sets:
See Documentation/networking/xdp-rx-metadata.rst for more details.
type: u64
enum: xdp-rx-metadata
- enum-as-flags: true
operations:
list: