mpls: Save the L3 header offset in the meta-data before label imposition 90/33390/2
authorNeale Ranns <neale@graphiant.com>
Fri, 6 Aug 2021 09:03:45 +0000 (09:03 +0000)
committerNeale Ranns <neale@graphiant.com>
Sun, 3 Oct 2021 16:18:06 +0000 (16:18 +0000)
commit9bd92abc7cef482ce67a80ecbbeabb5eb586a06c
tree05b9dfc4a70c0ef56c2044c5ec73ccb60f78b1fe
parentf5462369f3ad22c9d19f54832faa2b6e61449f66
mpls: Save the L3 header offset in the meta-data before label imposition

Type: improvement

Subsequent features in the data-path can thus easily find the l3 header
without parsing the label stack.

Signed-off-by: Neale Ranns <neale@graphiant.com>
Change-Id: I26f7d4bbe9186aeb8654706579c72424e8ecca2c
src/vnet/dpo/mpls_label_dpo.c