Thank you for your answer!
I want to develop an app on an PC,and VPP run on another PC,my app use VPP API
to config VPP。Is this way not feasible?
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#13873): https://lists.fd.io/g/vpp-dev/message/13873
I want use vpp_api_test with socket address,so I use commond like this:
./vpp_api_test socket-name 192.168.1.16:5002
and I modify startup.conf like this:
unix {
cli-listen 192.168.1.16:5002
}
socksvr{
socket-name 192.168.1.16:5002
}
but it can't connect,why?
Thank you !
[Edited Message Follows]
I want to use vpp_api_test with socket address,so I use commond like this:
./vpp_api_test socket-name 192.168.1.16:5002
and I modify startup.conf like this:
unix {
cli-listen 192.168.1.16:5002
}
socksvr{
socket-name 192.168.1.16:5002
}
VPP run on PC which IP is
[Edited Message Follows]
I want use vpp_api_test with socket address,so I use commond like this:
./vpp_api_test socket-name 192.168.1.16:5002
and I modify startup.conf like this:
unix {
cli-listen 192.168.1.16:5002
}
socksvr{
socket-name 192.168.1.16:5002
}
but it can't connect,why?
Thank
our process mode need to construct some packets which is to be sent by a
specified thread
in A thread ,a node receive some packets ,when these packet deal finish,they
need to be sent to another node which is belong to B thread,
What can be done to meet this requirement?
Thanks
On Tue, Sep 10, 2019 at 12:44 AM, Christian Hopps wrote:
>
> UTSL
Thank you for reply。
In our scenario,we use the Intel ‘s DDP feature to hash different GTP packets
into different threads。And We want the GTP packets from the same UE to be
hashed on the same thread,DDP can‘t implement this
Thank you for your response。
I still have another question,does this mechanism involve copying?We need to
ensure packet forwarding efficiency
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#13933): https://lists.fd.io/g/vpp-dev/message/13933
Mute
in api file
I want to define a macro such as
define MAX_NUM (12)
define my_structure
{
u32 a;
u8[MAX_NUM];
}
"#define MAX_NUM (12)" is can't be recognized,how can i do to define this?
Thanks
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online
[Edited Message Follows]
in api file
I want to define a macro such as
define MAX_NUM (12)
define my_structure
{
u32 a;
u8[MAX_NUM];
}
"define MAX_NUM (12)" is can't be recognized,how can i do to define this?
Thanks
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
I use commond "trace add ip4_lookup 10" in vppctl.
when I show trace,no packets is recorded, why?
And I use trace add dpdk_input 10 , some packets can be recorded.
Thanks!
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#14028):
[Edited Message Follows]
I know,we can use rpc interface send message to main thread。
But our project has a need,we need to send message to worker threads in main
thread,what can I do?
Thanks
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#14613):
In main thread,how to send messages to worker threads
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#14613): https://lists.fd.io/g/vpp-dev/message/14613
Mute This Topic: https://lists.fd.io/mt/60049319/21656
Group Owner: vpp-dev+ow...@lists.fd.io
We think VPP uses DPDK for data receive from nic, but it seems no dpdk lib
exist in vpp project.
we also try to use readelf to check the libs used by vpp, or use strings check
the functions in each lib. We did not find how dpdk is used. So can you please
give some guide, how does vpp link dpdk
Thanks for reply
Is trace function useless in internal nodes?
I often see the following code
if(node->flags & VLIB_NODE_FLAG_TRACE)
{
...
}
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#14038): https://lists.fd.io/g/vpp-dev/message/14038
Mute
[Edited Message Follows]
Thanks for reply
Is trace function useless in internal nodes?
I often see the following code in internal nodes:
if(node->flags & VLIB_NODE_FLAG_TRACE)
{
...
}
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#14038):
we use vpp version 19.08
when I config Bond in VPP startup.conf
dpdk{
...
vdev eth_bond0,mode=1,slave=:01:00.0,slave=:01:00.1,xmit_policy=l34
..
}
But when vpp start,I show int
DBGvpp# show int
Name Idx State MTU (L3/IP4/IP6/MPLS) Counter
Count
[Edited Message Follows]
we use vpp version 19.08
I config bond in VPP startup.conf
dpdk{
...
vdev eth_bond0,mode=1,slave=:01:00.0,slave=:01:00.1,xmit_policy=l34
..
}
But when vpp start,I show int
DBGvpp# show int
Name Idx State MTU (L3/IP4/IP6/MPLS)
[Edited Message Follows]
we use vpp version 19.08
I config bond in VPP startup.conf
dpdk{
...
vdev eth_bond0,mode=1,slave=:01:00.0,slave=:01:00.1,xmit_policy=l34
..
}
But when vpp start,I show int
DBGvpp# show int
Name Idx State MTU (L3/IP4/IP6/MPLS)
Dear vpp experts,
We are tesing vpp in container recently, we runs an ligato vpp-base docker
image in an VM (guest os). For the NICs, we have 2 methods to access. 1. we
enable SR-IOV and make the VF accessible in VM. 2. we can run VPP on host to
manage the physical device and create
Hello,
I am trying to connect VPP by vpp_vat_socket via socket file.
However I am not able to connect to VPP via vpp_api_test over the socket file.
Is this expected behavior? How to connect to vpp via vpp_api_test over custom
socket file?
Thank you.
My startup.conf
unix
{
cli-listen
In our project, we want to use VPP for external communication in pod
In this pod, I want to use two containers to allow VPP and vpp_api_test
respectively ,
VPP is used to process messages received by pod from dpdk bound network
card,and vpp_api_test is used to configure VPP when messages are
[Edited Message Follows]
When I use vat connect vpp by shm, if vpp process is killed, vat can’t detect
disconnection, vat will not automatically quit
meanwhile I use some command in vat,I can get result “exec error: Misc",then I
restart vpp process, vat is still can't work,when I quit
[Edited Message Follows]
when I use vat connect vpp by shm, if vpp process is killed, vat can’t detect
disconnection, vat will not automatically quit,
meanwhile I use some command in vat,I can get result “exec error: Misc”
But When I use Vat connect vpp by Socket-name, if vpp process is
when I use vat connect vpp by shm, if vpp process is killed, vat can’t detect
disconnection, vat will not automatically quit,
meanwhile I use some commnand in vat,I can get result “exec error: Misc”
But When I use Vat connect vpp by Socket-name, if vpp process is killed, I use
some commnand
24 matches
Mail list logo