Hi ,There:
  I'm an absolute beginner at vpp. And I encountered some problems when I
start with vpp. Here is the details:
    1) if I start vpp without modifing value of item "socksvr"(use
default ) in startup.conf,
and run  vpp_api_test in another shell, it performances OK.
    2) if I start vpp with modifing value of item "socksvr" to "
127.0.0.1:9000" in startup.conf, and run  vpp_api_test in another shell
with "./vpp_api_test socket-name 127.0.0.1:9000" , it performances OK, too.
    3) if I start vpp with modifing value of item "socksvr" to "
192.168.1.1:9000" in startup.conf, and run  vpp_api_test in another
host(192.168.1.2) with "./vpp_api_test socket-name  192.168.1.1:9000"
,vpp_api_test hang-up.Then I start vpp_api_test with gdb ,
find it steps into dead cycle in function vl_socket_client_read_internal
which called by function vl_socket_client_read_internal, where at the C
file socket_client.c line 125, the value of var "msg_size" is 110190, but
the total sum of n returned by read is 102614,  and  all next n is -1 and
the errno is always EAGAIN.
  But in the case of 3,when I start vpp with gdb and step by step,
vpp_api_test performances OK sometimes.
I  don't find some valuable info on JIRA or Google.
 So I am in puzzle about the matter, and I don't known whether it's a bug
or maybe my environment has some problems. If not,  what should I do to fix
this ?
 Other development environment infos:
Centos 7   kernel 3.10.0-1160.59.1.el7.x86_64  , Vpp version 22.02.


Regards,
Kevenvy
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#21465): https://lists.fd.io/g/vpp-dev/message/21465
Mute This Topic: https://lists.fd.io/mt/91346308/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