[vpp-dev] ?????? ?????? ?????? ?????? How to get interface stats using C api?

2017-09-28 Thread ????????
; >: 2017??9??27??(??) 3:15 >??: ""<15803846...@qq.com>;"Keith Burns"<alaga...@gmail.com>; >: "vpp-dev"<vpp-dev@lists.fd.io>; >: Re: [vpp-dev] ?? ?? How to get interface

[vpp-dev] ?????? ?????? ?????? How to get interface stats using C api?

2017-09-27 Thread ????????
"<alaga...@gmail.com>; ????: "vpp-dev"<vpp-dev@lists.fd.io>; ????: Re: [vpp-dev] ?? ?? How to get interface stats using C api? There are new C and C++ APIs added recently to vpp source code along with test programs. You can take a look at test/ext/vapi_c_t

[vpp-dev] ?????? ?????? How to get interface stats using C api?

2017-09-26 Thread ????????
?) 10:47 ??: ""<15803846...@qq.com>; : "vpp-dev"<vpp-dev@lists.fd.io>; : Re: ?????? [vpp-dev] How to get interface stats using C api? Apologies, It's a callback. We probably need some decent literature written for how to consume the va

[vpp-dev] ?????? How to get interface stats using C api?

2017-09-26 Thread ????????
-dev"<vpp-dev@lists.fd.io>; : Re: [vpp-dev] How to get interface stats using C api? Hi there, As of 17.10 you can now register for statistics on a per interface level. You need the sw_if_index of the interface you want stats for, but the calls are in https://git.fd.io/vpp/t

[vpp-dev] ?????? How to get interface stats using C api?

2017-09-26 Thread ????????
eive stats in my c program? Thanks?? -- -- ??: "Keith Burns";<alaga...@gmail.com>; : 2017??9??27??(??) 6:39 ??: ""<15803846...@qq.com>;"vpp-dev"<vpp-dev@lists.fd.io>;

Re: [vpp-dev] How to get interface stats using C api?

2017-09-26 Thread Keith Burns
Hi there, As of 17.10 you can now register for statistics on a per interface level. You need the sw_if_index of the interface you want stats for, but the calls are in https://git.fd.io/vpp/tree/src/vpp/stats/stats.api but as an example: Register: autoreply define

[vpp-dev] How to get interface stats using C api?

2017-09-26 Thread ????????
Hi, everyone! How to get interface stats using C api? For example, I want to know "GigabitEthernete/0/1" rx packets , what should I do? Thanks___ vpp-dev mailing list vpp-dev@lists.fd.io https://lists.fd.io/mailman/listinfo/vpp-dev