]> 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)
commita284d70e0a692fba31745833ef3da69ecff9e61d
tree714dee52f5339551dbbb6bb7b77374e25c1ef84d
parentb26932402c6fc893a6a05b2107e3a49b4059c202
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