]> git.baikalelectronics.ru Git - kernel.git/commit
ipv6: ioam: IOAM Generic Netlink API
authorJustin Iurman <justin.iurman@uliege.be>
Tue, 20 Jul 2021 19:42:58 +0000 (21:42 +0200)
committerDavid S. Miller <davem@davemloft.net>
Wed, 21 Jul 2021 15:14:33 +0000 (08:14 -0700)
commit3ed7ef978f3ae39a638eea85c55f36cfd81362cb
tree2cf7acb6bbc4ed3e0cd5c923aafc93877c942d21
parentebcc73ea1463438e42f4cc450953f387032016ad
ipv6: ioam: IOAM Generic Netlink API

Add Generic Netlink commands to allow userspace to configure IOAM
namespaces and schemas. The target is iproute2 and the patch is ready.
It will be posted as soon as this patchset is merged. Here is an overview:

$ ip ioam
Usage: ip ioam { COMMAND | help }
ip ioam namespace show
ip ioam namespace add ID [ data DATA32 ] [ wide DATA64 ]
ip ioam namespace del ID
ip ioam schema show
ip ioam schema add ID DATA
ip ioam schema del ID
ip ioam namespace set ID schema { ID | none }

Signed-off-by: Justin Iurman <justin.iurman@uliege.be>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/linux/ioam6_genl.h [new file with mode: 0644]
include/uapi/linux/ioam6_genl.h [new file with mode: 0644]
net/ipv6/ioam6.c