Hi VPP-Experts,
We need to classify the packets in our custom plugins in synchronous to some
other functionality.
To achieve this: we are planning to use following approach. Can you let us
know, if this approach works fine without any unforeseen road blocks at some
point.
1. Use the existing v
Hi,
>From the documentation I have read so far and from the classifier code I have
>gone through:
VPP classifier works on mask and match to classify the packets.
But, I didnt see any logic in the classifier code that classifies packets based
on any rule like "range of values".
For example: is t
Hi ,
We are planning to use "ACL as a service" framework using the lookup contexts
for performing packet classifications from our custom plugin. While this seem
to be achievable, we have one issue at our hand.
We would like to program the ACLs ( add/delete of ACL rules ) also from our
custom p
Thanks Andrew for the reply.
Instead, now, we are looking at "ACL lookup context" framework to add them as
acl rules and use for packet classification. Hope this should work for us
without any issues.
--
Thanks & Regards,
Murthy
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to th
Hi Neale,
Thank you very much for the reply.
The main problem that we are facing is:
The plugin that we are planning to develop need to configure the classification
rules dynamically ( ACLs ).
Hence, we can not use VPP-API approach to configure the ACLs first.
We need to add the ACLs based on so
Hi Andrew,
Our custom plugin will receive these rules per each session from an external
entity.
The number of sessions may go into millions.
Yes, as you rightly said, these are rules are very dynamic in nature and these
will be added and deleted with addition of session and it's deletion
respe
Hi Andrew,
Sure. I am in the process of doing the harness code to test the ACL-plugin
approach.
Will post the results to this thread in a week's time.
--
Thanks & Regards,
Murthy
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#13135): https://list
Hi,
Is there any built-in framework/CLI within VPP, that keeps track of cache
hits/misses for D-cache and I-Cache at graph node or plugin level ? (or) we
need to use general linux perf tools for getting this data ? Even if we do this
using perf tools, we may get this at the whole process level,
Hi,
Is there any way we can get the cache hits/misses ( I-Cache and D-Cache ) for a
specific plugin/graph node ?
Linux perf tools give these at the process level, but may not be much help if
we want to really bench mark a specific graph node.
Any info in this regard ?
--
Thanks & Regards,
Murt
Thanks Dave for the quick info.
Will try these things.
--
Thanks & Regards,
Murthy
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#13189): https://lists.fd.io/g/vpp-dev/message/13189
Mute This Topic: https://lists.fd.io/mt/31867441/21656
Group Owner
Thanks Damjon for the info.
Will try these inputs.
--
Thanks & Regards,
Murthy
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#13190): https://lists.fd.io/g/vpp-dev/message/13190
Mute This Topic: https://lists.fd.io/mt/31866981/21656
Group Owner: vp
Hi ,
I am trying to register my plugin as an ACL user by using
register_user_module().
I am getting a user_id of value 0. ( by looking at my logs, I could confirm
this )
However, when I see vppctl CLI "show acl-plugin lookup user" , its showing
"abp" plugin got registered with
user_id index=0
Hi Andrew,
I got what the issue is, but not sure how to get around this problem.
My plugin is first subscribing for ACL service by calling register_user_module.
Also, I could see that it is getting added into acl_users.
But, after this, acl_init() is getting called, due to which, the acl_users i
Thanks Ben for the quick inputs.
Will try this and update this thread.
--
Thanks & Regards,
Murthy
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#13204): https://lists.fd.io/g/vpp-dev/message/13204
Mute This Topic: https://lists.fd.io/mt/31878554/
Hi Ben,
I dont see any constructs called runs_before or runs_after within
VLIB_INIT_FUNCTION macro.
I am getting compilation error when I try these changes. I could not find any
VLIB_INITS in 1810 (or) 1904 versions of the code.
Here is the code I tried.
VLIB_INIT_FUNCTION (my_custom_plugin_in
Hi Damjan,
In the example you mentioned where bar_init() is trying to find if foo_plugin
is really loaded or not.
If foo_plugin is found to be not loaded, a warning is printed and returning a 0.
But this does not gaurantee that bar_init() is called once again after a while,
isnt it ?
So, in thi
Thanks Ben.
Do you see any other way to achieve this order in previous versions of the code.
--
Thanks & Regards,
Murthy
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#13213): https://lists.fd.io/g/vpp-dev/message/13213
Mute This Topic: https://li
Sorry. I should have asked how to get the init functions in a specific order.
Coz, ACL plugin init is getting called after my customplugin init and hence the
registration from my plugin is getting wiped off.
--
Thanks & Regards,
Murthy
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent t
Hi Neale,
Thanks for the information.
I have been trying to use this approach but not successful.
I am trying to call acl plugin's init function from my custom plugin. But,
looks like, it is not able to get the acl_init symbol, and hence the custom
plugin loading itself is failing.
Following i
Donno, my previous reply didnt come to the group, hence resending.
Hi Dave,
In fact, I tried using vlib_get_plugin_symbol for acl_init() function.
But, since its a static function, I am returned with NULL.
--
Thanks & Regards,
Murthy
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent t
Hi Andrew,
I was trying to get this info on one other thread and did not realize your
message in this thread.
If I put this in feature_enable function, I need to trigger this function via
API (or) CLI, which we want to avoid.
We want to get the registration as part of our plugin initialization.
Hi Dave,
I tried using the perfmon plugin for cpu-cycles event on continuous ping over a
memif channel.
But, I am seeing that the command always return saying "Data Collection in
progress".
DBGvpp# set pmc cpu-cycles
Start collection for 1 events, wait 1.00 seconds
DEADMAN: collection still run
Hi Andrew,
One difference I see between our plugin vs Gbp plugin is:
In Gbp plugin, register_module is getting called as part of an API handler,
which is usually after the system comes to a stable state.
Whereas in our case, we are calling register_module as part of our plugin init
function, w
Hi Andrew,
We dont want to have any extra config/APIs to drive this registration and
hence, we did not go via that approach.
To work around this, I have started a timer of 1 sec in my custom plugin init
function.
After 1 sec, I am registering with the ACL service, and this solved my issue
for
Hi ,
I am trying to use the perfmon plugin for cpu-cycles event.
I am doing a continuous ping over a memif channel.
But, I am seeing that the command always return saying "Data Collection in
progress".
DBGvpp# set pmc cpu-cycles
Start collection for 1 events, wait 1.00 seconds
DEADMAN: collecti
Hi Dave,
Thanks for the reply.
I am still seeing the same issue.
Here is what I am doing.
1) Created 2 VPP instances
2) Created Memif interfaces on each of them and assigned IP addresses to them
3) Able to ping the IPs from one another successfully.
4) On VPP-1, started ping of interface on V
Hi ,
Have a question on the Memif TX interface selection.
I have VPP with 2 worker threads connecting to an external application.
Have two memif interfaces, so that each thread can make use of one Memif
interface dedicately.
show memif
interface memif0/0
remote-name "remoteApp"
remote-interfac
Hi,
We have a custom graph node that receives packets from udp graph node and we
would like to trace packets pertaining to a specific 5-tuple flow from our
custom graph node point onwards.
Does following steps really possible to achieve for this functionality ?
1. Make the custom-graph node to
Thanks Dave for the inputs.
--
Thanks & Regards,
Murthy
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#13673): https://lists.fd.io/g/vpp-dev/message/13673
Mute This Topic: https://lists.fd.io/mt/32744859/21656
Group Owner: vpp-dev+ow...@lists.fd.io
Hi ,
Would like to know if vnet policer is thread safe or not.
To be more specific: can multiple WORKER threads (not main thread) add vnet
policers at the same time without any issues ?
In contrast to the "main" thread adding the policers via vpp-api, the "worker"
threads add the policers due
Hi ,
Need some inputs on the lock less architecture with multi-threaded VPP system.
>From the experiences we had so far, taking a lock ( whatsoever small time the
>lock is taken for ) degrades
the performance. Hence, trying to see if we have any feasibility of lockless
architecture in VPP.
We h
Hi Dave,
I totally agree with you that my email was an over-simplification of a bigger
issue for sure.
What we are trying to see is:
can a single thread handle both control plane and data plane activities for a
particular application object ( ex: a flow object) , so that, a need of lock
can be
Hi,
Is there anyway I can associate a VPP sub-interface to a particular ip-fib
table id ?
I could able to associate a physical interface to a table id, but not a sub
interface. I did not find a CLI option to do this. Any inputs pls.
--
Thanks & Regards,
Murthy
-=-=-=-=-=-=-=-=-=-=-=-
Links: You
Thanks john for the quick inputs. That helps.
--
Thanks & Regards,
Murthy
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#13857): https://lists.fd.io/g/vpp-dev/message/13857
Mute This Topic: https://lists.fd.io/mt/33050491/21656
Group Owner: vpp-dev
Hi,
We are seeing one strange issue when we use memif.
We have vpp with 2 workers. This VPP is running as memif-server.
worker-0 ==> rx-placement with memif
worker-1 ==> rx-placement with an IP interface ( dpdk based )
As soon as we have the memif client connected to VPP, we see degradation in
Hi ,
We are trying to develop a VPP API client which needs synchronous reply
handling.
Hence, we were thinking of NOT having a separate pthread for receiving the
response from VPP.
We are planning to use no_rx_pthread version of connect api.
Is there any example code to receive and handle the r
Thanks Ole for the quick response.
Will got through the doc and give it a try.
--
Thanks & Regards,
Murthy
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#13957): https://lists.fd.io/g/vpp-dev/message/13957
Mute This Topic: https://lists.fd.io/mt/34
Hi ,
We are facing a strange issue, which we are not able to debug even after
spending a good amount of time.
We are seeing "show node counters" displaying very high number of values all of
a sudden for few unrelated nodes like "null-node" and "vmxnet3-input".
The values are also keep on changin
Hi ,
I have a basic question on how object pools are accessed by multiple threads in
VPP. Do we have any locks underlying that safe gaurd the object pools ?
For example:
In acl_main_t, we have a pool of acl lists as below.
*acl_list_t *acls; /* Pool of ACLs */*
This list will be populated by vp
Thanks Andrew for the quick reply.
Can you please point me to the code where the barrier lock is getting applied
for acls.
--
Thanks & Regards,
Murthy
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#14051): https://lists.fd.io/g/vpp-dev/message/140
Thanks Damjon for the suggestion.
As suggested, I have tried processing the buffers and send to another thread
and another node-in same thread in the same function using two apis you
mentioned.
Though it is surely achievable, the code looks lot cluttery and non-uniform now.
Hence, I am thinking
Hi,
We are trying to come up with VPP-API-CLIENT module that has no special RX
thread.
As we dont have no RX thread, we are planning to read messages from shared
memory from our main dispatcher.
To do this, we want to poll on an FD to check if any message arrived in the SHM
queue.
I was looking
Thanks Dave for the quick reply.
Main problem we are seeing with having RX thread is:
1) Our application sends VPP-API-request in main thread and stores the Request
and context information in a list
2) If the response comes in the RX thread, we need to access the context
information list in thi
Thanks Ole for the response.
We will weigh between performance of "unix domain sockets" vs "lock contention
with rx thread" approached and go accordingly.
--
Thanks & Regards,
Murthy
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#14585): https://l
Thanks a lot Dave for offering the help.
The change would be of great help for us.
Please let us know, once you have a patch, so that we can selectively take that
patch and import.
--
Thanks & Regards,
Murthy
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply
Thank you Dave.
Will import this patch and try.
--
Thanks & Regards,
Murthy
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#14597): https://lists.fd.io/g/vpp-dev/message/14597
Mute This Topic: https://lists.fd.io/mt/55586364/21656
Group Owner: vpp-
Hi ,
We are seeing crash in vlib_worker_thread_barrier_sync_int() function as soon
as we send a CLI command to VPP.
We are sending CLI command to VPP via a script, which may not be waiting enough
for VPP initialization to settle.
I see that the crash is happening in the following piece of code.
Hi,
We are facing a strange problem when we moved from single worker to multi
worker VPP.
Our application plugin registers for a specific udp port and gets the packets
from udp_local node.
In Single Worker VPP:
We see that our app-plugin-node is receiving frames of bigger
[Edited Message Follows]
Hi,
We are facing a strange problem when we moved from single worker to multi
worker VPP.
Our application plugin registers for a specific udp port and gets the packets
from udp_local node.
In Single Worker VPP:
We see that our app-plugin-node is r
Hi,
We are facing a strange problem when we moved from single worker to multi
worker VPP.
Our application plugin registers for a specific udp port and gets the packets
from udp_local node.
In Single Worker VPP:
We see that our app-plugin-node is receiving frames of bigger
Retrying my luck once again.
Hi,
We are facing a strange problem when we moved from single worker to multi
worker VPP.
Our application plugin registers for a specific udp port and gets the packets
from udp_local node.
In Single Worker VPP:
We see that our app-plugin-node
Hi,
We are seeing a VPP crash (ASSERT) with following stack trace, when we try to
create a DPO from within a VPP worker.
The below crash clear shows that DPO creation is restricted only to the main
thread, since the ASSERT is making sure that the thread id is 0.
* Backtrace of "Thread workers
Hi Neale,
Thanks a lot for the inputs.
It solved our issue.
As a side question:
Is there any mechanism for the main thread to send the result to the worker
thread?
--
Thanks & Regards,
Murthy
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#15003)
Hi ,
Have one basic doubt on applicability of VppCom library for a use case that we
have as below.
Use Case with following requirements:
1. control plane app needs to communicate with different VPP worker threads
2. control plane app may need to send messages to vpp workers with message size
th
Hi Florin,
Thank you very much for quick inputs. I have gone through your youtube video
from kubecon and it cleared lot of my doubts.
You presented it in a very clear manner.
As you rightly pointed out, VppCom will be a overhead for our use case.
All we need is just a shared memory communicatio
Hi,
Have a question on number of API clients that we can have a from a client
process.
Can't we have more than one VPP-API-Clients from a single process ?
>From the code, I observed that we have api_main in the client code which is
>used for communication towards VPP, which may restrict us to ha
Hi,
We are seeing following error when we try to connect to VPP via VCL test client.
Is this a known issue?
startup file that we are using on VPP:
unix {
nodaemon
log /tmp/vpp.log
full-coredump
cli-listen /run/vpp/cli.sock
# gid vpp
}
#api-segment {
# gid v
We are currently using opaque2 which has 10 uint32.
Can i increase this size to 30 uint32s.
What kind of impact/restrictions we have for this opaque2 metadata sizes.
Please let us know.
--
Thanks & Regards,
Murthy
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/R
Hi,
We are looking for a way to get all the packets on a particular TCP port to
reach our plugin.
For UDP ports, we could see that udp_register_dst_port() can be used to get
packets on a specific UDP port.
But, for TCP, we could not see any registration function like this.
Any pointers on this
Hi ,
I think, this topic has been discussed in few of the earlier questions, but
still I could not find a one that gave a workable solution in totality.
We are trying to write a BGP application which hosts BGP peering sessions,
using VPP as a dataplane entity.
We tried following few options wit
Hi Luca,
Thanks a lot for this info.
Really appreciate timely inputs on this.
We are currently on fdio 1810 version. Will we be able check this plugins to
this version? (or) we have to move to 20.01 ?
Please let us know.
--
Thanks & Regards,
Murthy
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive al
which fdio release version you are using?
--
Thanks & Regards,
Murthy
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#15712): https://lists.fd.io/g/vpp-dev/message/15712
Mute This Topic: https://lists.fd.io/mt/71738703/21656
Group Owner: vpp-dev+ow.
Hi ,
We have a TCP application trying integrate with VPP-VCL framework.
Our application has its own dispatch loop with epoll and we would like to know
if VCL framework has any linux fd ( like an eventfd for the entire svm message
queue ) that we can add into our epoll to poll for VCL session me
Hi Florin,
Thank you very much for the inputs.
These are very difficult to understand unless we go through the code in detail.
Today, Whole day, I was trying to follow your instructions and get this working
by looking at the code as well.
However, I am not fully successful.
Before going further,
Hi Florin,
Thanks a lot for the detailed explanation. This kind of gives an overview of
this area, which really helps in our integration.
Just one more question:
We are planning to remove the concept of vcl worker in our worker, as our app
is a single threaded app and will not be multi-threaded
Hi Florin,
Over the weekend, I went through the document that you mentioned and it gave me
a good overview. Thanks for pointing to that doc.
However, my task of integrating mqs->epfd into our main dispatch loop still
seems to be needing more finer details of the code.
With this respect, I have
Hi ,
Is there any way to find the source node of a buffer. Basically, I want to know
from which node this buffer came.
I understand that each graph node shall have a design which is independant of
the source node.
However, the source node information may be useful in case of debugging some
cras
Thanks Neale for the quick inputs.
I am planning to add src_node index in the buffer metadata ( opaque2) for this
purpose.
Hoping that this helps in our debugging.
--
Thanks & Regards,
Murthy
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#15850):
Hi,
We have a module that need to receive the packets and buffer some of the
packets until some duration and process them after a specific duration and send
them out.
To achieve this, we are currently noting down all the buffer indices in a frame
that needs to be buffered and storing them in a
Few questions on VPP memory usage.
1. Using pmap -p i am collecting the total memory usage of vpp
process at the beginning of my test. ( it is X KB )
2. I ran test for few hours which will obviously have lot of pool_get/pool_put
3. Collected the same same pmap output and the memory usage grown t
Thanks Dave and Damjan for quick inputs.
This helps in understanding the memory mgmt in vpp.
Inline to your questions.
1. Can you capture "show memory main-heapsh” before and after?
We are currently in fdio.1810 and i am not seeing this option.
2. One more quick question.
With this model of memor
Hi,
Is there anyway we can get info what are all vectors and pools each plugin is
using and their corresponding memory usage.
We are chasing some memory leak issue and if VPP has a builtin way of getting
this info, we want to take leverage of it.
If VPP does not have any built-in way, do you gu
Hi,
I remember seeing some questions regarding this in fdio mailing list, but not
able to find it now.
We have a plugin which has 10 functions that are needed by 3 other plugins (
which are owned by us ).
As of now, we are doing vlib_get_plugin_symbol() and getting the symbols.
But , I remembe
Hi ,
We are having a scenario to support as below and we would like to know what we
are doing here is correct or not.
1. Our graph node receives a frame with TWO buffers
2. Graph node decides to process FIRST buffer and enqueues the packet to a
next-node.
3. Graph node decides to store the SECO
Having some issue while accessing entries of a pool in GDB.
I have a pool of some structures.
custom_struct *pool;
This custom_struct has alignment with 64 byte cache_line.
now, I have added 3 entries in this pool. The code seems to be working fine in
adding/deleting/traversing this pool using
Hi,
We are seeing some issue in our plugin that seems to caused by the change of
pointer for a pool element.
The scenario is as below. Can you please let us know , if this can really occur.
1. We have multiple workers
2. We have one global pool of custom-structures ( this is a non-fixed pool)
Hi ,
Seeing some strange issue when using memif to transfer some messages from
client to VPP.
Each of the message that we want to transfer from client to VPP is around 64 KB.
When the client sends messages ( each of size 64 KB) to VPP in quick
succession, we are seeing that the buffer is gettin
[Edited Message Follows]
Hi ,
Seeing some strange issue when using memif to transfer some messages from
client to VPP.
Each of the message that we want to transfer from client to VPP is around 64 KB.
When the client sends messages ( each of size 64 KB) to VPP in quick
succession, we are seeing
Hi ,
We are seeing a crash while doing add_trace for a vlib_buffer in our graph node.
#0 0x74ee0feb in raise () from /lib64/libc.so.6
#1 0x74ecb5c1 in abort () from /lib64/libc.so.6
#2 0x0040831c in os_panic () at
/fdio/src/fdio.1810/src/vpp/vnet/main.c:368
#3 0x7
Hi VPP-Folks,
I am a newbie to VPP and trying out my hands on memif.
While I was able to run the icmpr-epoll example with VPP and check the
communication using ping command.
But, as soon as I move the icmp side example to multithreaded version
(icmpr-mt), ping fails from VPP side with reason as
Trying my luck once again.
Hi VPP-Folks,
I am a newbie to VPP and trying out my hands on memif.
I was able to run the icmpr-epoll example with VPP and check the communication
using ping command.
But, as soon as I move the icmp example to multithreaded version (icmpr-mt),
ping fails from VPP
Hi ,
We have a use case, where we receive packets in a tunnel, and the inner packet
may be fragments.
If we want to reassemble the inner fragments and get one single packet, does
VPP already have a framework that has this functionality.
If it's already there, we can make use of it.
I saw MAP pl
Thanks a lot Klement for this quick info.
This will serve our purpose.
--
Thanks & Regards,
Murthy
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#16853): https://lists.fd.io/g/vpp-dev/message/16853
Mute This Topic: https://lists.fd.io/mt/75234196/2
Hi ,
We are seeing following observations when we do performance tests with our
plugin/graphnodes.
1. When we have 1 subscriber session, our custom-graph-node takes 1.35e1 cycles
( 60 vec/call )
2. When we have 200 subscriber sessions, the same custom-graph-node takes 1.2e2
cycles ( same 60 v
Hi ,
We are seeing a crash when we are trying to do ACL rulematch within a lookup
context.
#0 0x7f7786498ca0 in multi_acl_match_get_applied_ace_index
(am=0x7f77866caa00 , is_ip6=0, match=0x7f7791fff610)
at src/plugins/acl/public_inlines.h:625
#1 0x7f7786498f27 in hash_multi_acl_match_
Hi Andrew,
Thanks for the quick response.
All the activity that we are performing with ACLs, like , add and delete of
ACLs from multiple workers, we are doing by taking a lock.
This will ensure that no two workers will be able to operate on ACLs at the
same time.
Is there any specific restrict
Hi Andrew,
Thanks for your suggestions on this.
We did few more tests today, and here are some observations.
Please let us know your thoughts on this.
1) We added a lock on the datapath also while doing rulematch using acl apis.
The same lock is getting acquired while doing acl adds from other t
Hi Andrew,
We could not try the same test with the change you suggested.
We will try it for sure in this week.
Regarding our scenario for example:
we have 4 workers.
All the 4 workers can create ACLs and also can process data.
During high load of data and create ACLs, we are seeing this crash.
Th
Hi,
We have a query on one of the requirements we have.
1. We would like to tap all the ip4 packets into our custom graph node.
2. But, we want to tap the ip packets only after reassembly is completed, if
fragments are received.
I was looking at ip-local feature arc, if this works for our requi
Thanks a lot Matt for the quick inputs.
We are interested in packets destined for our interfaces only. Hence, I will
try with ip4-local.
--
Thanks & Regards,
Murthy
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#17215): https://lists.fd.io/g/vpp-
Hi,
Have a query on the ARP resolution.
We have a Router and VPP-box connected.
We are trying to do some peering from router’s loopback IP. This loopback IP is
not in the connected subnet-range.
Due to this, router is initiating an ARP request with src as non-connected-IP
in the payload.
VPP
Hi Dave,
Thanks for the quick inputs.
I tried enabling the proxy-arp in both the following ways.
But, still I am seeing the drop as below.
CLIs tried:
=
set ip arp proxy 203.0.113.2 - 203.0.113.4
set interface proxy-arp intfc1 enable
trace command o/p indicating the ARP drop:
=
Neale /Ben,
We already have a static route to reach the peer. Even after that, we are
getting this error.
And this error is as per the VPP's ARP code. It's not allowing the ARP-REQUEST
from a non-connected source IP.
If we dont know allow this, I am not 100% sure how multihop-BGP peering kind o
Hi,
Is there an easier way to add a static route programatically from a VPP plugin.
I know that this can be done easily via vppctl CLI or via vppapi infrastructure.
However, if we want to achieve the same from a VPP plugin, is there a way we
can use CLI/vppapi infra directly rather than calling
Hi ,
We wanted to have our custom graph node to receive all the IP packets that are
destined to our local interfaces.
However, we want the packets after reassmbly is done by the vnet reassembly
code, if needed.
Hence, we added a custom_feature on the ip4-unicast feature-arc as below.
VNET_FEAT
Hi,
Looking at the ip4 full reassembly graph nodes for the purpose of punting the
fragments and getting the reassembled packets from our custom graph node.
However, from the code it seems that, is_custom_app flag is effectively
disabled.
I see that the node function is always getting called wi
[Edited Message Follows]
Hi,
Looking at the ip4 full reassembly graph nodes for the purpose of punting the
fragments and getting the reassembled packets from our custom graph node.
However, from the code it seems that, is_custom_app flag is effectively
disabled.
I see that the node function i
Thanks Klement for the quick response.
I can make the changes you suggested. But, one major doubt I have is on the
HANDOFF scenario.
Let's say, as part of custom-reasm-node, if the packet is decided to be handed
off to another thread, then the next_node is ALWAYS getting set as
"ip4-full-reass
Ok. I think, required changes would be more complex / involved than I initially
imagined.
Can you please make these changes.
--
Thanks & Regards,
Murthy
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#17346): https://lists.fd.io/g/vpp-dev/message/1
Thanks a lot Klement.
Will give it a try with this patch and get back to you. (Hopefully , by early
next week ).
--
Thanks & Regards,
Murthy
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#17365): https://lists.fd.io/g/vpp-dev/message/17365
Mute Th
1 - 100 of 129 matches
Mail list logo