xref: /openbmc/linux/Documentation/networking/ila.rst (revision 4b4193256c8d3bc3a5397b5cd9494c2ad386317d)
1*1d2698faSMauro Carvalho Chehab.. SPDX-License-Identifier: GPL-2.0
2*1d2698faSMauro Carvalho Chehab
3*1d2698faSMauro Carvalho Chehab===================================
4*1d2698faSMauro Carvalho ChehabIdentifier Locator Addressing (ILA)
5*1d2698faSMauro Carvalho Chehab===================================
6*1d2698faSMauro Carvalho Chehab
7*1d2698faSMauro Carvalho Chehab
8*1d2698faSMauro Carvalho ChehabIntroduction
9*1d2698faSMauro Carvalho Chehab============
10*1d2698faSMauro Carvalho Chehab
11*1d2698faSMauro Carvalho ChehabIdentifier-locator addressing (ILA) is a technique used with IPv6 that
12*1d2698faSMauro Carvalho Chehabdifferentiates between location and identity of a network node. Part of an
13*1d2698faSMauro Carvalho Chehabaddress expresses the immutable identity of the node, and another part
14*1d2698faSMauro Carvalho Chehabindicates the location of the node which can be dynamic. Identifier-locator
15*1d2698faSMauro Carvalho Chehabaddressing can be used to efficiently implement overlay networks for
16*1d2698faSMauro Carvalho Chehabnetwork virtualization as well as solutions for use cases in mobility.
17*1d2698faSMauro Carvalho Chehab
18*1d2698faSMauro Carvalho ChehabILA can be thought of as means to implement an overlay network without
19*1d2698faSMauro Carvalho Chehabencapsulation. This is accomplished by performing network address
20*1d2698faSMauro Carvalho Chehabtranslation on destination addresses as a packet traverses a network. To
21*1d2698faSMauro Carvalho Chehabthe network, an ILA translated packet appears to be no different than any
22*1d2698faSMauro Carvalho Chehabother IPv6 packet. For instance, if the transport protocol is TCP then an
23*1d2698faSMauro Carvalho ChehabILA translated packet looks like just another TCP/IPv6 packet. The
24*1d2698faSMauro Carvalho Chehabadvantage of this is that ILA is transparent to the network so that
25*1d2698faSMauro Carvalho Chehaboptimizations in the network, such as ECMP, RSS, GRO, GSO, etc., just work.
26*1d2698faSMauro Carvalho Chehab
27*1d2698faSMauro Carvalho ChehabThe ILA protocol is described in Internet-Draft draft-herbert-intarea-ila.
28*1d2698faSMauro Carvalho Chehab
29*1d2698faSMauro Carvalho Chehab
30*1d2698faSMauro Carvalho ChehabILA terminology
31*1d2698faSMauro Carvalho Chehab===============
32*1d2698faSMauro Carvalho Chehab
33*1d2698faSMauro Carvalho Chehab  - Identifier
34*1d2698faSMauro Carvalho Chehab		A number that identifies an addressable node in the network
35*1d2698faSMauro Carvalho Chehab		independent of its location. ILA identifiers are sixty-four
36*1d2698faSMauro Carvalho Chehab		bit values.
37*1d2698faSMauro Carvalho Chehab
38*1d2698faSMauro Carvalho Chehab  - Locator
39*1d2698faSMauro Carvalho Chehab		A network prefix that routes to a physical host. Locators
40*1d2698faSMauro Carvalho Chehab		provide the topological location of an addressed node. ILA
41*1d2698faSMauro Carvalho Chehab		locators are sixty-four bit prefixes.
42*1d2698faSMauro Carvalho Chehab
43*1d2698faSMauro Carvalho Chehab  - ILA mapping
44*1d2698faSMauro Carvalho Chehab		A mapping of an ILA identifier to a locator (or to a
45*1d2698faSMauro Carvalho Chehab		locator and meta data). An ILA domain maintains a database
46*1d2698faSMauro Carvalho Chehab		that contains mappings for all destinations in the domain.
47*1d2698faSMauro Carvalho Chehab
48*1d2698faSMauro Carvalho Chehab  - SIR address
49*1d2698faSMauro Carvalho Chehab		An IPv6 address composed of a SIR prefix (upper sixty-
50*1d2698faSMauro Carvalho Chehab		four bits) and an identifier (lower sixty-four bits).
51*1d2698faSMauro Carvalho Chehab		SIR addresses are visible to applications and provide a
52*1d2698faSMauro Carvalho Chehab		means for them to address nodes independent of their
53*1d2698faSMauro Carvalho Chehab		location.
54*1d2698faSMauro Carvalho Chehab
55*1d2698faSMauro Carvalho Chehab  - ILA address
56*1d2698faSMauro Carvalho Chehab		An IPv6 address composed of a locator (upper sixty-four
57*1d2698faSMauro Carvalho Chehab		bits) and an identifier (low order sixty-four bits). ILA
58*1d2698faSMauro Carvalho Chehab		addresses are never visible to an application.
59*1d2698faSMauro Carvalho Chehab
60*1d2698faSMauro Carvalho Chehab  - ILA host
61*1d2698faSMauro Carvalho Chehab		An end host that is capable of performing ILA translations
62*1d2698faSMauro Carvalho Chehab		on transmit or receive.
63*1d2698faSMauro Carvalho Chehab
64*1d2698faSMauro Carvalho Chehab  - ILA router
65*1d2698faSMauro Carvalho Chehab		A network node that performs ILA translation and forwarding
66*1d2698faSMauro Carvalho Chehab		of translated packets.
67*1d2698faSMauro Carvalho Chehab
68*1d2698faSMauro Carvalho Chehab  - ILA forwarding cache
69*1d2698faSMauro Carvalho Chehab		A type of ILA router that only maintains a working set
70*1d2698faSMauro Carvalho Chehab		cache of mappings.
71*1d2698faSMauro Carvalho Chehab
72*1d2698faSMauro Carvalho Chehab  - ILA node
73*1d2698faSMauro Carvalho Chehab		A network node capable of performing ILA translations. This
74*1d2698faSMauro Carvalho Chehab		can be an ILA router, ILA forwarding cache, or ILA host.
75*1d2698faSMauro Carvalho Chehab
76*1d2698faSMauro Carvalho Chehab
77*1d2698faSMauro Carvalho ChehabOperation
78*1d2698faSMauro Carvalho Chehab=========
79*1d2698faSMauro Carvalho Chehab
80*1d2698faSMauro Carvalho ChehabThere are two fundamental operations with ILA:
81*1d2698faSMauro Carvalho Chehab
82*1d2698faSMauro Carvalho Chehab  - Translate a SIR address to an ILA address. This is performed on ingress
83*1d2698faSMauro Carvalho Chehab    to an ILA overlay.
84*1d2698faSMauro Carvalho Chehab
85*1d2698faSMauro Carvalho Chehab  - Translate an ILA address to a SIR address. This is performed on egress
86*1d2698faSMauro Carvalho Chehab    from the ILA overlay.
87*1d2698faSMauro Carvalho Chehab
88*1d2698faSMauro Carvalho ChehabILA can be deployed either on end hosts or intermediate devices in the
89*1d2698faSMauro Carvalho Chehabnetwork; these are provided by "ILA hosts" and "ILA routers" respectively.
90*1d2698faSMauro Carvalho ChehabConfiguration and datapath for these two points of deployment is somewhat
91*1d2698faSMauro Carvalho Chehabdifferent.
92*1d2698faSMauro Carvalho Chehab
93*1d2698faSMauro Carvalho ChehabThe diagram below illustrates the flow of packets through ILA as well
94*1d2698faSMauro Carvalho Chehabas showing ILA hosts and routers::
95*1d2698faSMauro Carvalho Chehab
96*1d2698faSMauro Carvalho Chehab    +--------+                                                +--------+
97*1d2698faSMauro Carvalho Chehab    | Host A +-+                                         +--->| Host B |
98*1d2698faSMauro Carvalho Chehab    |        | |              (2) ILA                   (')   |        |
99*1d2698faSMauro Carvalho Chehab    +--------+ |            ...addressed....           (   )  +--------+
100*1d2698faSMauro Carvalho Chehab	       V  +---+--+  .  packet      .  +---+--+  (_)
101*1d2698faSMauro Carvalho Chehab   (1) SIR     |  | ILA  |----->-------->---->| ILA  |   |   (3) SIR
102*1d2698faSMauro Carvalho Chehab    addressed  +->|router|  .              .  |router|->-+    addressed
103*1d2698faSMauro Carvalho Chehab    packet        +---+--+  .     IPv6     .  +---+--+        packet
104*1d2698faSMauro Carvalho Chehab		   /        .    Network   .
105*1d2698faSMauro Carvalho Chehab		  /         .              .   +--+-++--------+
106*1d2698faSMauro Carvalho Chehab    +--------+   /          .              .   |ILA ||  Host  |
107*1d2698faSMauro Carvalho Chehab    |  Host  +--+           .              .- -|host||        |
108*1d2698faSMauro Carvalho Chehab    |        |              .              .   +--+-++--------+
109*1d2698faSMauro Carvalho Chehab    +--------+              ................
110*1d2698faSMauro Carvalho Chehab
111*1d2698faSMauro Carvalho Chehab
112*1d2698faSMauro Carvalho ChehabTransport checksum handling
113*1d2698faSMauro Carvalho Chehab===========================
114*1d2698faSMauro Carvalho Chehab
115*1d2698faSMauro Carvalho ChehabWhen an address is translated by ILA, an encapsulated transport checksum
116*1d2698faSMauro Carvalho Chehabthat includes the translated address in a pseudo header may be rendered
117*1d2698faSMauro Carvalho Chehabincorrect on the wire. This is a problem for intermediate devices,
118*1d2698faSMauro Carvalho Chehabincluding checksum offload in NICs, that process the checksum. There are
119*1d2698faSMauro Carvalho Chehabthree options to deal with this:
120*1d2698faSMauro Carvalho Chehab
121*1d2698faSMauro Carvalho Chehab- no action	Allow the checksum to be incorrect on the wire. Before
122*1d2698faSMauro Carvalho Chehab		a receiver verifies a checksum the ILA to SIR address
123*1d2698faSMauro Carvalho Chehab		translation must be done.
124*1d2698faSMauro Carvalho Chehab
125*1d2698faSMauro Carvalho Chehab- adjust transport checksum
126*1d2698faSMauro Carvalho Chehab		When ILA translation is performed the packet is parsed
127*1d2698faSMauro Carvalho Chehab		and if a transport layer checksum is found then it is
128*1d2698faSMauro Carvalho Chehab		adjusted to reflect the correct checksum per the
129*1d2698faSMauro Carvalho Chehab		translated address.
130*1d2698faSMauro Carvalho Chehab
131*1d2698faSMauro Carvalho Chehab- checksum neutral mapping
132*1d2698faSMauro Carvalho Chehab		When an address is translated the difference can be offset
133*1d2698faSMauro Carvalho Chehab		elsewhere in a part of the packet that is covered by
134*1d2698faSMauro Carvalho Chehab		the checksum. The low order sixteen bits of the identifier
135*1d2698faSMauro Carvalho Chehab		are used. This method is preferred since it doesn't require
136*1d2698faSMauro Carvalho Chehab		parsing a packet beyond the IP header and in most cases the
137*1d2698faSMauro Carvalho Chehab		adjustment can be precomputed and saved with the mapping.
138*1d2698faSMauro Carvalho Chehab
139*1d2698faSMauro Carvalho ChehabNote that the checksum neutral adjustment affects the low order sixteen
140*1d2698faSMauro Carvalho Chehabbits of the identifier. When ILA to SIR address translation is done on
141*1d2698faSMauro Carvalho Chehabegress the low order bits are restored to the original value which
142*1d2698faSMauro Carvalho Chehabrestores the identifier as it was originally sent.
143*1d2698faSMauro Carvalho Chehab
144*1d2698faSMauro Carvalho Chehab
145*1d2698faSMauro Carvalho ChehabIdentifier types
146*1d2698faSMauro Carvalho Chehab================
147*1d2698faSMauro Carvalho Chehab
148*1d2698faSMauro Carvalho ChehabILA defines different types of identifiers for different use cases.
149*1d2698faSMauro Carvalho Chehab
150*1d2698faSMauro Carvalho ChehabThe defined types are:
151*1d2698faSMauro Carvalho Chehab
152*1d2698faSMauro Carvalho Chehab      0: interface identifier
153*1d2698faSMauro Carvalho Chehab
154*1d2698faSMauro Carvalho Chehab      1: locally unique identifier
155*1d2698faSMauro Carvalho Chehab
156*1d2698faSMauro Carvalho Chehab      2: virtual networking identifier for IPv4 address
157*1d2698faSMauro Carvalho Chehab
158*1d2698faSMauro Carvalho Chehab      3: virtual networking identifier for IPv6 unicast address
159*1d2698faSMauro Carvalho Chehab
160*1d2698faSMauro Carvalho Chehab      4: virtual networking identifier for IPv6 multicast address
161*1d2698faSMauro Carvalho Chehab
162*1d2698faSMauro Carvalho Chehab      5: non-local address identifier
163*1d2698faSMauro Carvalho Chehab
164*1d2698faSMauro Carvalho ChehabIn the current implementation of kernel ILA only locally unique identifiers
165*1d2698faSMauro Carvalho Chehab(LUID) are supported. LUID allows for a generic, unformatted 64 bit
166*1d2698faSMauro Carvalho Chehabidentifier.
167*1d2698faSMauro Carvalho Chehab
168*1d2698faSMauro Carvalho Chehab
169*1d2698faSMauro Carvalho ChehabIdentifier formats
170*1d2698faSMauro Carvalho Chehab==================
171*1d2698faSMauro Carvalho Chehab
172*1d2698faSMauro Carvalho ChehabKernel ILA supports two optional fields in an identifier for formatting:
173*1d2698faSMauro Carvalho Chehab"C-bit" and "identifier type". The presence of these fields is determined
174*1d2698faSMauro Carvalho Chehabby configuration as demonstrated below.
175*1d2698faSMauro Carvalho Chehab
176*1d2698faSMauro Carvalho ChehabIf the identifier type is present it occupies the three highest order
177*1d2698faSMauro Carvalho Chehabbits of an identifier. The possible values are given in the above list.
178*1d2698faSMauro Carvalho Chehab
179*1d2698faSMauro Carvalho ChehabIf the C-bit is present,  this is used as an indication that checksum
180*1d2698faSMauro Carvalho Chehabneutral mapping has been done. The C-bit can only be set in an
181*1d2698faSMauro Carvalho ChehabILA address, never a SIR address.
182*1d2698faSMauro Carvalho Chehab
183*1d2698faSMauro Carvalho ChehabIn the simplest format the identifier types, C-bit, and checksum
184*1d2698faSMauro Carvalho Chehabadjustment value are not present so an identifier is considered an
185*1d2698faSMauro Carvalho Chehabunstructured sixty-four bit value::
186*1d2698faSMauro Carvalho Chehab
187*1d2698faSMauro Carvalho Chehab     +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
188*1d2698faSMauro Carvalho Chehab     |                            Identifier                         |
189*1d2698faSMauro Carvalho Chehab     +                                                               +
190*1d2698faSMauro Carvalho Chehab     |                                                               |
191*1d2698faSMauro Carvalho Chehab     +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
192*1d2698faSMauro Carvalho Chehab
193*1d2698faSMauro Carvalho ChehabThe checksum neutral adjustment may be configured to always be
194*1d2698faSMauro Carvalho Chehabpresent using neutral-map-auto. In this case there is no C-bit, but the
195*1d2698faSMauro Carvalho Chehabchecksum adjustment is in the low order 16 bits. The identifier is
196*1d2698faSMauro Carvalho Chehabstill sixty-four bits::
197*1d2698faSMauro Carvalho Chehab
198*1d2698faSMauro Carvalho Chehab     +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
199*1d2698faSMauro Carvalho Chehab     |                            Identifier                         |
200*1d2698faSMauro Carvalho Chehab     |                               +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
201*1d2698faSMauro Carvalho Chehab     |                               |  Checksum-neutral adjustment  |
202*1d2698faSMauro Carvalho Chehab     +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
203*1d2698faSMauro Carvalho Chehab
204*1d2698faSMauro Carvalho ChehabThe C-bit may used to explicitly indicate that checksum neutral
205*1d2698faSMauro Carvalho Chehabmapping has been applied to an ILA address. The format is::
206*1d2698faSMauro Carvalho Chehab
207*1d2698faSMauro Carvalho Chehab     +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
208*1d2698faSMauro Carvalho Chehab     |     |C|                    Identifier                         |
209*1d2698faSMauro Carvalho Chehab     |     +-+                       +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
210*1d2698faSMauro Carvalho Chehab     |                               |  Checksum-neutral adjustment  |
211*1d2698faSMauro Carvalho Chehab     +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
212*1d2698faSMauro Carvalho Chehab
213*1d2698faSMauro Carvalho ChehabThe identifier type field may be present to indicate the identifier
214*1d2698faSMauro Carvalho Chehabtype. If it is not present then the type is inferred based on mapping
215*1d2698faSMauro Carvalho Chehabconfiguration. The checksum neutral adjustment may automatically
216*1d2698faSMauro Carvalho Chehabused with the identifier type as illustrated below::
217*1d2698faSMauro Carvalho Chehab
218*1d2698faSMauro Carvalho Chehab     +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
219*1d2698faSMauro Carvalho Chehab     | Type|                      Identifier                         |
220*1d2698faSMauro Carvalho Chehab     +-+-+-+                         +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
221*1d2698faSMauro Carvalho Chehab     |                               |  Checksum-neutral adjustment  |
222*1d2698faSMauro Carvalho Chehab     +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
223*1d2698faSMauro Carvalho Chehab
224*1d2698faSMauro Carvalho ChehabIf the identifier type and the C-bit can be present simultaneously so
225*1d2698faSMauro Carvalho Chehabthe identifier format would be::
226*1d2698faSMauro Carvalho Chehab
227*1d2698faSMauro Carvalho Chehab     +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
228*1d2698faSMauro Carvalho Chehab     | Type|C|                    Identifier                         |
229*1d2698faSMauro Carvalho Chehab     +-+-+-+-+                       +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
230*1d2698faSMauro Carvalho Chehab     |                               |  Checksum-neutral adjustment  |
231*1d2698faSMauro Carvalho Chehab     +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
232*1d2698faSMauro Carvalho Chehab
233*1d2698faSMauro Carvalho Chehab
234*1d2698faSMauro Carvalho ChehabConfiguration
235*1d2698faSMauro Carvalho Chehab=============
236*1d2698faSMauro Carvalho Chehab
237*1d2698faSMauro Carvalho ChehabThere are two methods to configure ILA mappings. One is by using LWT routes
238*1d2698faSMauro Carvalho Chehaband the other is ila_xlat (called from NFHOOK PREROUTING hook). ila_xlat
239*1d2698faSMauro Carvalho Chehabis intended to be used in the receive path for ILA hosts .
240*1d2698faSMauro Carvalho Chehab
241*1d2698faSMauro Carvalho ChehabAn ILA router has also been implemented in XDP. Description of that is
242*1d2698faSMauro Carvalho Chehaboutside the scope of this document.
243*1d2698faSMauro Carvalho Chehab
244*1d2698faSMauro Carvalho ChehabThe usage of for ILA LWT routes is:
245*1d2698faSMauro Carvalho Chehab
246*1d2698faSMauro Carvalho Chehabip route add DEST/128 encap ila LOC csum-mode MODE ident-type TYPE via ADDR
247*1d2698faSMauro Carvalho Chehab
248*1d2698faSMauro Carvalho ChehabDestination (DEST) can either be a SIR address (for an ILA host or ingress
249*1d2698faSMauro Carvalho ChehabILA router) or an ILA address (egress ILA router). LOC is the sixty-four
250*1d2698faSMauro Carvalho Chehabbit locator (with format W:X:Y:Z) that overwrites the upper sixty-four
251*1d2698faSMauro Carvalho Chehabbits of the destination address.  Checksum MODE is one of "no-action",
252*1d2698faSMauro Carvalho Chehab"adj-transport", "neutral-map", and "neutral-map-auto". If neutral-map is
253*1d2698faSMauro Carvalho Chehabset then the C-bit will be present. Identifier TYPE one of "luid" or
254*1d2698faSMauro Carvalho Chehab"use-format." In the case of use-format, the identifier type field is
255*1d2698faSMauro Carvalho Chehabpresent and the effective type is taken from that.
256*1d2698faSMauro Carvalho Chehab
257*1d2698faSMauro Carvalho ChehabThe usage of ila_xlat is:
258*1d2698faSMauro Carvalho Chehab
259*1d2698faSMauro Carvalho Chehabip ila add loc_match MATCH loc LOC csum-mode MODE ident-type TYPE
260*1d2698faSMauro Carvalho Chehab
261*1d2698faSMauro Carvalho ChehabMATCH indicates the incoming locator that must be matched to apply
262*1d2698faSMauro Carvalho Chehaba the translaiton. LOC is the locator that overwrites the upper
263*1d2698faSMauro Carvalho Chehabsixty-four bits of the destination address. MODE and TYPE have the
264*1d2698faSMauro Carvalho Chehabsame meanings as described above.
265*1d2698faSMauro Carvalho Chehab
266*1d2698faSMauro Carvalho Chehab
267*1d2698faSMauro Carvalho ChehabSome examples
268*1d2698faSMauro Carvalho Chehab=============
269*1d2698faSMauro Carvalho Chehab
270*1d2698faSMauro Carvalho Chehab::
271*1d2698faSMauro Carvalho Chehab
272*1d2698faSMauro Carvalho Chehab     # Configure an ILA route that uses checksum neutral mapping as well
273*1d2698faSMauro Carvalho Chehab     # as type field. Note that the type field is set in the SIR address
274*1d2698faSMauro Carvalho Chehab     # (the 2000 implies type is 1 which is LUID).
275*1d2698faSMauro Carvalho Chehab     ip route add 3333:0:0:1:2000:0:1:87/128 encap ila 2001:0:87:0 \
276*1d2698faSMauro Carvalho Chehab	  csum-mode neutral-map ident-type use-format
277*1d2698faSMauro Carvalho Chehab
278*1d2698faSMauro Carvalho Chehab     # Configure an ILA LWT route that uses auto checksum neutral mapping
279*1d2698faSMauro Carvalho Chehab     # (no C-bit) and configure identifier type to be LUID so that the
280*1d2698faSMauro Carvalho Chehab     # identifier type field will not be present.
281*1d2698faSMauro Carvalho Chehab     ip route add 3333:0:0:1:2000:0:2:87/128 encap ila 2001:0:87:1 \
282*1d2698faSMauro Carvalho Chehab	  csum-mode neutral-map-auto ident-type luid
283*1d2698faSMauro Carvalho Chehab
284*1d2698faSMauro Carvalho Chehab     ila_xlat configuration
285*1d2698faSMauro Carvalho Chehab
286*1d2698faSMauro Carvalho Chehab     # Configure an ILA to SIR mapping that matches a locator and overwrites
287*1d2698faSMauro Carvalho Chehab     # it with a SIR address (3333:0:0:1 in this example). The C-bit and
288*1d2698faSMauro Carvalho Chehab     # identifier field are used.
289*1d2698faSMauro Carvalho Chehab     ip ila add loc_match 2001:0:119:0 loc 3333:0:0:1 \
290*1d2698faSMauro Carvalho Chehab	 csum-mode neutral-map-auto ident-type use-format
291*1d2698faSMauro Carvalho Chehab
292*1d2698faSMauro Carvalho Chehab     # Configure an ILA to SIR mapping where checksum neutral is automatically
293*1d2698faSMauro Carvalho Chehab     # set without the C-bit and the identifier type is configured to be LUID
294*1d2698faSMauro Carvalho Chehab     # so that the identifier type field is not present.
295*1d2698faSMauro Carvalho Chehab     ip ila add loc_match 2001:0:119:0 loc 3333:0:0:1 \
296*1d2698faSMauro Carvalho Chehab	 csum-mode neutral-map-auto ident-type use-format
297