]> asedeno.scripts.mit.edu Git - linux.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)
commit70d5aef48a421a68bd9d1bf8f8267af406681580
tree714dee52f5339551dbbb6bb7b77374e25c1ef84d
parent84287bb3285634b60c55c00a1d5ed843b44fde92
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