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: vpp-dev@lists.fd.io <vpp-dev@lists.fd.io> on behalf of Vijay Kumar via 
lists.fd.io <vjkumar2003=gmail....@lists.fd.io>
Date: Tuesday, 25 May 2021 at 14:07
To: vpp-dev <vpp-dev@lists.fd.io>
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: vpp-dev+ow...@lists.fd.io
Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub [arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to