]> 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)
commite6230f9a40a24b61900bae82df47247153926be1
tree2cf7acb6bbc4ed3e0cd5c923aafc93877c942d21
parent8abd9a0502bebf1317df8af21af51be4d444c7ba
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