On Thu, Nov 10, 2016 at 6:09 PM, David Lebrun <david.leb...@uclouvain.be> wrote: > Oops. The easiest fix I can think of is adding an option to > enable/disable seg6's LWT which would select CONFIG_LWTUNNEL. That would > still let the core SR processing be enabled by default.
So you'd split SRH functionality in three parts? Core (default on), lwtunnel (default off) and inline? It seems to me that once you've done the work to enable the core code to work when CONFIG_LWTUNNEL is off, you can just enable/disable the LWT part of SRH depending on whether CONFIG_LWTUNNEL is compiled in or not. That might save you a config option.