[vpp-dev] Could anyone please take a look at commit 7182?

2017-07-12 Thread Andrew Li (zhaoxili)
Dear vpp-dev, 23 days ago, I committed this patch: https://gerrit.fd.io/r/#/c/7182/ for the flowprobe plugin to fix a bug which will cause assertion error for certain parameters. The original committer Ole Troan seems to be not available after giving some comments. Could anyone please take a lo

Re: [vpp-dev] Why VPP drop packets while the average vectors per node is still low

2017-07-17 Thread Andrew Li (zhaoxili)
Hi Xiang, My best guess is that the rx-miss field comes from DPDK, quote from their datasheet: Packets are missed when the receive FIFO has insufficient space to store the incoming packet. This might be caused due to insufficient buffers allocated, or because there is insufficient bandwidth o

Re: [vpp-dev] Why VPP drop packets while the average vectors per node is still low

2017-07-17 Thread Andrew Li (zhaoxili)
working hard at all. So, it should be unlikely that the packets are dropped. Please follow the other thread with the VPP experts…Sorry for the possible confusion I brought to you. Thanks, Andrew On 17/07/2017, 3:56 PM, "vpp-dev-boun...@lists.fd.io on behalf of Andrew Li (zhaoxili)" wrot

Re: [vpp-dev] bug?

2017-07-19 Thread Andrew Li (zhaoxili)
Looks like a patch was submitted earlier on that one but not yet merged: https://gerrit.fd.io/r/#/c/7512/ Thanks, Andrew On 20/07/2017, 7:31 AM, "vpp-dev-boun...@lists.fd.io on behalf of Yuliang Li" wrote: Hi, I clone the code from https://gerrit.fd.io/r/vpp.

[vpp-dev] Discussion on flowStartNanoSeconds field in flow-per-packet plugin

2016-11-02 Thread Andrew Li (zhaoxili)
Hi everyone, Trying out the flow-per-packet plugin which Dave hacked and merged a few days ago. While it works fine in general I’ve noticed the flowStartNanoseconds field here stands for the time since vpp started. This brings in the problem that the collector has to know when VPP started as we

[vpp-dev] May I get clarification on the meaning of vpp_get_metrics api?

2016-11-13 Thread Andrew Li (zhaoxili)
Hi everyone, I’m now looking at vpp/vpp-api/vpp_get_metrics.c, which shows the following stats: 1. Vector_rate(vector_counts_per_main_loop / node_counts_per_main_loop): So based on my understanding this shows the average vector length per node per main loop(During the window of last X m

Re: [vpp-dev] May I get clarification on the meaning of vpp_get_metrics api?

2016-11-14 Thread Andrew Li (zhaoxili)
: "Andrew Li (zhaoxili)" Date: Monday, 14 November 2016 at 1:41 PM To: "vpp-dev@lists.fd.io" Subject: May I get clarification on the meaning of vpp_get_metrics api? Hi everyone, I’m now looking at vpp/vpp-api/vpp_get_metrics.c, which shows the following stats:

[vpp-dev] ioam_trace plugin: registration of HBH_OPTION_TYPE_IOAM_TRACE_DATA_LIST failed

2016-12-22 Thread Andrew Li (zhaoxili)
Hi vpp-dev, Yesterday when I upgraded my VPP to latest master, VPP was refusing to start. The last hint was: Dec 22 08:30:37 ubuntu-xenial vpp[6999]: 0: vl_msg_api_get_msg_ids:1324: WARNING: duplicate message range registration for 'ioam_trace_715b0386' Dec 22 08:30:37 ubuntu-xenial vpp[6999]:

Re: [vpp-dev] ioam_trace plugin: registration of HBH_OPTION_TYPE_IOAM_TRACE_DATA_LIST failed

2016-12-22 Thread Andrew Li (zhaoxili)
arach (dbarach)" Date: Thursday, 22 December 2016 at 10:39 PM To: "Andrew Li (zhaoxili)" , "vpp-dev@lists.fd.io" Subject: RE: [vpp-dev] ioam_trace plugin: registration of HBH_OPTION_TYPE_IOAM_TRACE_DATA_LIST failed Workaround: you can make the pain go away by trashin

[vpp-dev] FW: Error reading from file descriptor 9: Input/output error

2017-01-24 Thread Andrew Li (zhaoxili)
Hi vpp-dev, I’m encountering this strange issue: VPP keeps generating this error message into /var/log/syslog: Jan 24 23:28:19 localhost vpp[4749]: EAL: Error reading from file descriptor 9: Input/output error Jan 24 23:28:19 localhost vpp[4749]: /usr/bin/vpp[4749]: EAL: Error reading from fil

Re: [vpp-dev] Error reading from file descriptor 9: Input/output error

2017-01-25 Thread Andrew Li (zhaoxili)
Hi Damjan, Yes…and will it hurt anything other than printing this error message? If so we could move to VMXNET3. Thanks, Andrew From: Damjan Marion Date: Wednesday, 25 January 2017 at 6:27 PM To: "Andrew Li (zhaoxili)" Cc: "vpp-dev@lists.fd.io" Subject: Re: [vpp-dev] Err

Re: [vpp-dev] Error reading from file descriptor 9: Input/output error

2017-01-25 Thread Andrew Li (zhaoxili)
Thank you, Dave, and Damjan, that’s clear enough for this question…We’ll plan to switch to Vmxnet3 then. - Andrew From: "Dave Barach (dbarach)" Date: Wednesday, 25 January 2017 at 9:37 PM To: "Andrew Li (zhaoxili)" , Damjan Marion Cc: "vpp-dev@lists.fd.io"

[vpp-dev] The right way to disable dpdk-plugin?

2017-04-05 Thread Andrew Li (zhaoxili)
Hi vpp-dev, I’m trying to run VPP without dpdk enabled. According to previous mails, looks like I need to add this to startup.conf: plugins { plugin dpdk_plugin.so { disable } } However when I restart VPP, it was not happy with the fact that DPDK was gone: … Apr 5 23:28:12 guestendpoint-vpp-

Re: [vpp-dev] The right way to disable dpdk-plugin?

2017-04-06 Thread Andrew Li (zhaoxili)
It works, thanks Sergio. Thanks, Andrew On 06/04/2017, 3:41 PM, "Sergio Gonzalez Monroy" wrote: On 06/04/2017 07:37, Andrew Li (zhaoxili) wrote: > Hi vpp-dev, > > I’m trying to run VPP without dpdk enabled. According to previous mails, looks like I