Hi Hemant, When I said ‘in the control plane’ in my previous emails, I was referring to within the main thread of VPP, not in a separate user space process. Here the distinction is in the main thread, not in a work thread. When you are populating your 6 tuple lookup table, go find the adj for the destination you want to forward to: adj_nbr_add_or_lock(…) the use the resulting adj_index_t as the result of the 6-tuple lookup.
/neale From: vpp-dev@lists.fd.io <vpp-dev@lists.fd.io> on behalf of hemant via lists.fd.io <hemant=mnkcg....@lists.fd.io> Date: Thursday, 22 April 2021 at 17:51 To: bga...@cisco.com <bga...@cisco.com>, vpp-dev@lists.fd.io <vpp-dev@lists.fd.io> Subject: Re: [vpp-dev] rewrite constructed using ARPND Yes, thanks, Ben! Then, the other issue to close is what if interface adj rewrite is constructed using ARP/ND? Would a VPP user configure the interface adj in control plane? Hemant -----Original Message----- From: Benoit Ganne (bganne) <bga...@cisco.com> Sent: Thursday, April 22, 2021 11:40 AM To: hem...@mnkcg.com; vpp-...@lists.fd.ioontrol Subject: RE: [vpp-dev] rewrite constructed using ARPND > I created a new thread to drill down on adj rewrite constructed using > ARP/ND. I am saying, its not possible to create a control-plane entry > if the rewrite is constructed from ARP/ND learning. The reason is how > does the control-plane learn what ARP/ND have learnt? Does VPP > support a message from data plane to control plane? You mean something like ip neighbor events? I think you can an API message when a neighbor is added/removed, see https://git.fd.io/vpp/tree/src/vnet/ip-neighbor/ip_neighbor.api#n221 ben
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#19277): https://lists.fd.io/g/vpp-dev/message/19277 Mute This Topic: https://lists.fd.io/mt/82288467/21656 Group Owner: vpp-dev+ow...@lists.fd.io Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-