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
vl_api_acl_add_replace_reply_t_handler: *73* : ACL index: 0
*73* pointing to the error code VNET_API_ERROR_INVALID_ARGUMENT. It gives some
clue.
--
Thanks & Regards,
Murthy
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#20016): https://lists.fd.
Hi All,
As per my current understanding of the code for ARP learning:
1. ARP is learned on a VPP worker
2. Send to main thread via rpc, by adding to the rcp queue
3. main thread picks up this from rpc queue
4. main thread takes thread barrier lock and updates the ARP table
In the step4, we are t
Hi ,
Is it possible to develop a vpp plugin in C++ (or) does VPP framework pose any
restrictions ?
Appreciate your inputs on this.
--
Thanks & Regards,
Murthy
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#20051): https://lists.fd.io/g/vpp-dev/m
Hi,
We had our software based on 20.05 vpp version.
Recently, we moved to fdio-2106 version and could compile it successfully.
However, memif_tx_burst() function is failing to send message to VPP with error
code "INVALID_ARGUMENT".
This was working in 20.05 version without any issues.
I see tha
Hi VPP-experts,
We are exploring ways to make the ACL plugin thread safe and need your inputs
on the same.
As of today, most of the ACL apis (acl-add/del and acl-lookup-context-add/del)
take thread barrier lock, due to which synchronization is automatically
achieved for the workers, who are tr
Hi,
We are trying to upgrade to fdio.2106 version from a previous version.
After upgrading to 21.06 version with our custom plugins, we are seeing that
vlib_get_plugin_symbol() to resolve a symbol from another plugin is always
returning null.
This was working fine in the earlier version.
I cr
Thanks Mohammed and Dave for the quick inputs.
Adding __clib_export solved my issue.
--
Thanks & Regards,
Murthy
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#20226): https://lists.fd.io/g/vpp-dev/message/20226
Mute This Topic: https://lists.fd.
This works fine for me where the code is fully written by us.
But, I have few functions which are kind of generated routines from a third
party library, where we do not have control to add this __clib_export.
Is there any way to work around this case?
--
Thanks & Regards,
Murthy
-=-=-=-=-=-=-=-=
Hi VPP Experts,
We have an issue at hand, where we are seeing non-uniform CPU utilizations
showing up for workers from "show threads".
We are doing lot of work as part of some timer node, which periodically does
maintenance of flows.
However, this maintenance activity, which is run as part of th
Hi VPP experts,
We are using memif for communication between an APP and VPP.
We recently tried moving to zero-copy memif based on the example
icmp_responder-zero-copy-slave.
This example shows the code for the APP being in SLAVE mode.
So, to go along with this, we made VPP as memif-MASTER and AP
Thanks MJ for the quick reply.
Will try this and check.
--
Thanks & Regards,
Murthy
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#20360): https://lists.fd.io/g/vpp-dev/message/20360
Mute This Topic: https://lists.fd.io/mt/86509719/21656
Group Owne
Hi Klemant/Elias/Vpp-Experts,
We are also seeing the same crash with fdio 21.06 version.
vec_resize_allocate_memory + 0x285
vlib_put_next_frame + 0xbd
Our main-heap size is set to 2G.
Is this a known issue (or) any fix that is available for this.
Any inputs will be helpful.
--
Thanks & Regard
Hi Ashish / VPP-experts,
We are also seeing the same crash with fdio 21.06 version.
vec_resize_allocate_memory + 0x285
vlib_put_next_frame + 0xbd
Our main-heap size is set to 2G.
Is this a known issue (or) any fix that is available for this.
Any inputs will be helpful.
--
Thanks & Regards,
Mu
Hi VPP experts,
We are facing some strange issue in the feature arc framwork.
We have two nodes inserted in "device-input" feature arc, for example,
"feature1" and "feature2".
We have enabled these features on two interfaces available.
"show interface ifc-1 features"
and
"show interface ifc-2
101 - 129 of 129 matches
Mail list logo