Neale,

 

Great, thanks!

 

Hemant

 

From: Neale Ranns <ne...@graphiant.com> 
Sent: Friday, April 23, 2021 9:43 AM
To: hem...@mnkcg.com; bga...@cisco.com; vpp-dev@lists.fd.io
Subject: Re: [vpp-dev] rewrite constructed using ARPND

 

 

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 <mailto:vpp-dev@lists.fd.io>  <vpp-dev@lists.fd.io
<mailto:vpp-dev@lists.fd.io> > on behalf of hemant via lists.fd.io
<hemant=mnkcg....@lists.fd.io <mailto:hemant=mnkcg....@lists.fd.io> >
Date: Thursday, 22 April 2021 at 17:51
To: bga...@cisco.com <mailto:bga...@cisco.com>  <bga...@cisco.com
<mailto:bga...@cisco.com> >, vpp-dev@lists.fd.io
<mailto:vpp-dev@lists.fd.io>  <vpp-dev@lists.fd.io
<mailto: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 <mailto:bga...@cisco.com> > 
Sent: Thursday, April 22, 2021 11:40 AM
To: hem...@mnkcg.com <mailto:hem...@mnkcg.com> ; vpp-...@lists.fd.ioontrol
<mailto: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

Attachment: smime.p7s
Description: S/MIME cryptographic signature

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#19279): https://lists.fd.io/g/vpp-dev/message/19279
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]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to