ynl: expose xdp-zc-max-segs

Also rename it to dashes, to match the rest. And fix unrelated
spelling error while we're at it.

Signed-off-by: Stanislav Fomichev <sdf@google.com>
Reviewed-by: Jakub Kicinski <kuba@kernel.org>
Link: https://lore.kernel.org/r/20230727163001.3952878-2-sdf@google.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
This commit is contained in:
Stanislav Fomichev 2023-07-27 09:29:58 -07:00 committed by Jakub Kicinski
parent f5fbd3246c
commit e5c157f081

View file

@ -14,7 +14,7 @@ definitions:
-
name: basic
doc:
XDP feautues set supported by all drivers
XDP features set supported by all drivers
(XDP_ABORTED, XDP_DROP, XDP_PASS, XDP_TX)
-
name: redirect
@ -63,7 +63,7 @@ attribute-sets:
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
type: u32
checks:
@ -83,6 +83,7 @@ operations:
attributes:
- ifindex
- xdp-features
- xdp-zc-max-segs
dump:
reply: *dev-all
-