Hi David,
So, if I correctly understand, this means that we could manage for example 136 segment paths of 30 labels each, 256 segment paths of 16 labels each, 1024 segment paths of 4 labels, ... In other words, the sum of all label stacks of all segment paths must fit under the 4k bytes limit. I understand that we must put a limit, but 4k bytes is short. Very short. At the maximum it only authorizes 4k connexions with only one label i.e. only 4K LDP, RSVP-TE or MP-BGP paths.On 4/6/17 10:12 AM, Donald Sharp wrote:I'm not sure I would call it 'waste'. The solution, as I understandThere is no waste.it, allocates the appopriate amount of memory to handle the # of labels handed to it with a *limit* of 4k bytes to the size that is alloc'ed internally to the kernel. This way they are keeping the data structure limit to the maximum size of a page on some platforms at worse case.exactly.