From: Hangbin Liu Add SEG6 local actions enum. Replace binary counters/flavors in seg6-local with nested seg6-local-cnt and seg6-local-flv. Signed-off-by: Hangbin Liu --- Documentation/netlink/specs/rt-route.yaml | 59 +++++++++++++++++++++++++++++-- 1 file changed, 57 insertions(+), 2 deletions(-) diff --git a/Documentation/netlink/specs/rt-route.yaml b/Documentation/netlink/specs/rt-route.yaml index 5e9537f7dfad..3929a877aa27 100644 --- a/Documentation/netlink/specs/rt-route.yaml +++ b/Documentation/netlink/specs/rt-route.yaml @@ -116,6 +116,29 @@ definitions: - rpl - ioam6 - xfrm + - + name: seg6-local-actions + type: enum + name-prefix: seg6-local-action- + enum-name: + entries: + - unspec + - end + - end-x + - end-t + - end-dx2 + - end-dx6 + - end-dx4 + - end-dt6 + - end-dt4 + - end-b6 + - end-b6-encap + - end-bm + - end-s + - end-as + - end-am + - end-bpf + - end-dt46 sub-messages: - @@ -484,6 +507,7 @@ attribute-sets: - name: action type: u32 + enum: seg6-local-actions - name: srh type: binary @@ -513,10 +537,12 @@ attribute-sets: type: u32 - name: counters - type: binary + type: nest + nested-attributes: seg6-local-cnt - name: flavors - type: binary + type: nest + nested-attributes: seg6-local-flv - name: rpl-iptunnel name-prefix: rpl-iptunnel- @@ -624,6 +650,35 @@ attribute-sets: - name: name type: string + - + name: seg6-local-cnt + name-prefix: seg6-local-cnt- + attributes: + - + name: pad + type: pad + - + name: packets + type: u64 + - + name: bytes + type: u64 + - + name: errors + type: u64 + - + name: seg6-local-flv + name-prefix: seg6-local-flv- + attributes: + - + name: operation + type: u32 + - + name: lcblock-bits + type: u8 + - + name: lcnode-fn-bits + type: u8 operations: enum-model: directional -- 2.55.0