Hi Vijay, I’d advise you to create a new fixup function (c.f. gre44_fixup) that deals with the extra headers you want.
/neale From: [email protected] <[email protected]> on behalf of Vijay Kumar via lists.fd.io <[email protected]> Date: Tuesday, 25 May 2021 at 14:07 To: vpp-dev <[email protected]> Subject: [vpp-dev] Regarding vnet/gre Hi, I have a requirement to add extension fields (like QFI, RQI) into the GRE packet header leaving the VPP. Upon analyzing the packet trace, I found that gre4_input graph node is called whenever GRE packets enter VPP but for outgoing packets, the GRE header is added by the tunnel's mid-chain adjacencies. There is no GRE graph node specifically for adding outgoing GRE header. Is it a good idea to add code changes in the adj-midchain-tx node for adding new fields related to outgoing GRE packets? Pls advise. Thanks. Vijay.
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#19458): https://lists.fd.io/g/vpp-dev/message/19458 Mute This Topic: https://lists.fd.io/mt/83074159/21656 Group Owner: [email protected] Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
