]> git.baikalelectronics.ru Git - kernel.git/commit
ila: allow configuration of identifier type
authorTom Herbert <tom@quantonium.net>
Sun, 5 Nov 2017 23:58:24 +0000 (15:58 -0800)
committerDavid S. Miller <davem@davemloft.net>
Wed, 8 Nov 2017 02:20:48 +0000 (11:20 +0900)
commit7fa51327e0ddeb67bcb4ad32c85ff3191bb8c57f
tree714dee52f5339551dbbb6bb7b77374e25c1ef84d
parent8dd2fabefa51101277a1b67a11c983ed9de28944
ila: allow configuration of identifier type

Allow identifier to be explicitly configured for a mapping.
This can either be one of the identifier types specified in the
ILA draft or a value of ILA_ATYPE_USE_FORMAT which means the
identifier type is inferred from the identifier type field.
If a value other than ILA_ATYPE_USE_FORMAT is set for a
mapping then it is assumed that the identifier type field is
not present in an identifier.

Signed-off-by: Tom Herbert <tom@quantonium.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/uapi/linux/ila.h
net/ipv6/ila/ila.h
net/ipv6/ila/ila_lwt.c
net/ipv6/ila/ila_xlat.c