Re: [vpp-dev] a question about hqos config in vpp

2018-07-20 Thread Sadegh Sehhat bakhsh
sorry, there is a typing error in my config file the true config is as follows: dpdk { dev :01:00.0 { num-rx-queues 1 hqos } dev :02:00.0 { num-rx-queues 1 } dev :03:00.0 { num-rx-queues 1 } dev :04:00.0 { num-rx-queues 1 } } On 21 July 2018 at 10:56, Sadegh Sehha

[vpp-dev] a question about hqos config in vpp

2018-07-20 Thread Sadegh Sehhat bakhsh
I want to config vpp so that i can use QoS scheduler. according to vpp documentation (https://docs.fd.io/vpp/18.04/qos_doc.html) i have to modify startup.conf and add "hqos" for the output interface that requires HQoS. as you can see in the following config I have just added hqos for dev :01:

Re: [SUSPECTED SPAM] [vpp-dev] Interface Mib II counters

2018-07-20 Thread Ole Troan
Hi David, > We are starting to use the new api, it looks good, thanks for this. > Documentation would be very appreciated Splendid. Any suggestions for improvements, please let us know. > Any idea how much more evolving it’s going to do? The base stuff should be pretty stable. So the evolving

Re: [vpp-dev] Sample plugin doest not show up with vpp 18.07

2018-07-20 Thread Dave Barach via Lists.Fd.Io
Please don’t remove extern declarations from header files... Damjan is exactly right. It’s oh so easy to end up with N separate, independent but identically-named data structure instances. It’s super-confusing when that happens. Thanks... Dave From: vpp-dev@lists.fd.io On Behalf Of abdul.ma.

Re: [vpp-dev] Sample plugin doest not show up with vpp 18.07

2018-07-20 Thread Damjan Marion via Lists.Fd.Io
No, it is not same... removing extern will result in sample_main instance in each object file created from C file which includes this specific header file. -- Damjan > On 20 Jul 2018, at 18:03, abdul.ma...@sofioni.com wrote: > > I think its the same if we define sample_main variable in sample.

Re: [vpp-dev] Sample plugin doest not show up with vpp 18.07

2018-07-20 Thread abdul . malik
I think its the same if we define SAMPLE_MAIN variable in SAMPLE.C file or if we remove the key word EXTERN in SAMPLE.H. I have tried removing EXTERN and it works but defining SAMPLE_MAIN in .c file should also work. On 2018-07-20 19:02, Damjan Marion via Lists.Fd.Io wrote: > This should be the p

Re: [vpp-dev] Sample plugin doest not show up with vpp 18.07

2018-07-20 Thread Damjan Marion via Lists.Fd.Io
This should be the proper fix for your issue: https://gerrit.fd.io/r/#/c/13589/ Please confirm... -- Damjan > On 20 Jul 2018, at 15:52, abdul.ma...@sofioni.com wrote: > > When I ran vpp 18.07 in interactive mode I found that vpp was unable to load > sample_plugin due to an error of undefine

Re: [vpp-dev] Sample plugin doest not show up with vpp 18.07

2018-07-20 Thread abdul . malik
When I ran vpp 18.07 in interactive mode I found that vpp was unable to load SAMPLE_PLUGIN due to an error of undefined variable *SAMPLE_MAIN* used in SAMPLE.C file. However, *SAMPLE_MAIN* is defined in SAMPLE.H file as follows. extern sample_main_t sample_main; Removing keyword EXTERN worked f

[vpp-dev] #vpp Cavium ThunderX (ARM64)

2018-07-20 Thread Stanislav Chlebec
Hello all I was trying to achieve cooperation of VPP with the NIC present in the ThunderX (c1.large.arm) It was not successful: https://gist.github.com/stanislav-chlebec/a36c43c2eee8c16d3d297e67bac1d711 Conclusion: VPP was successfully built on the system. VPP is not able to work with the NIC + vf

[vpp-dev] The environment variable PATH is changed after "Setup Framework"

2018-07-20 Thread Dai, Wei
Hi, All When I run "pybot -L TRACE -v TOPOLOGY_PATH:topologies/available/my-csit.yaml -s eth2p-eth-l2xcbase-func tests" It failed due to "not found lspci on TG". I add the code : return_code, _, _ = ssh.exec_command('echo $PATH') just before cmd = "[[ -f /etc/redhat-release ]]" in the function