Kernel patch proposes a LISP data-plane tunnel, twelve years after a rejected try
Vincent Jardin's net-next series leaves mapping state to userspace and treats each remote site as a nexthop, not a device.
Vincent Jardin has proposed a Linux tunnel device that would implement the data plane of the Locator/ID Separation Protocol, so a router can carry traffic for endpoint identifiers over UDP to the routing locators of remote sites without the kernel keeping a map of its own.
LISP, specified in RFC 9300, splits the address a host is known by (an endpoint identifier, or EID) from the address of the router that can reach it (a routing locator, or RLOC). The control plane in RFC 9301 publishes those mappings. Jardin's series, posted for net-next, adds only the forwarding half of a LISP router: a link of kind lisp that encapsulates IPv4 and IPv6 packets in a LISP header over UDP port 4341, with the RLOC family independent of the EID family. It reuses the kernel's existing UDP tunnel machinery, including segmentation offload and the encapsulation destination cache.
The design is a deliberate rejection of an earlier driver posted to the networking list in 2014 and never merged. That code created a device per remote RLOC, spoke only IPv4 locators, and filled a map-cache from traffic, which reviewers would not accept. This time the kernel resolves nothing and holds no state that packets create. A mapping is a route. The RLOC comes from lightweight-tunnel metadata on that route or its nexthop, which a userspace control plane writes the same way it writes routes for any other protocol. A packet with no RLOC is dropped. A remote site is one nexthop shared by its EID prefixes, which Jardin argues is what makes the data plane scale. He wrote that the design should let routing daemons such as FRRouting support LISP. The series adds the driver, documentation, and selftests, including a scale test that installs many sites on one device, and does not change existing paths. Jardin, of Free Mobile, listed himself as maintainer.
Userspace configuration is not in the kernel series. The iproute2 link type is a separate set of patches, and the new tests skip without it. Matthieu Baerts asked Jardin to share that work so continuous integration can build an iproute2 that understands lisp, instead of marking the series changes-requested because tests are skipped. Jardin pointed to the iproute2 series and said he would start on automated review comments, which flagged a possible reuse of a hash-list node before an RCU grace period, mismatches between the documentation and the driver, and selftest cleanup.