Re: [vpp-dev] Help regarding af_packet worker thread assertion

2017-06-21 Thread Sreejith Surendran Nair
gt; Chris. > > > > *From: * on behalf of Sreejith Surendran > Nair > *Date: *Wednesday, June 21, 2017 at 02:33 > *To: *vpp-dev > *Subject: *[vpp-dev] Help regarding af_packet worker thread assertion > > > > Hi All, > > This regarding running worker thread

[vpp-dev] Help regarding af_packet worker thread assertion

2017-06-20 Thread Sreejith Surendran Nair
Hi All, This regarding running worker threads with af_packet interface on VM ubuntu 16.10. I have tried configuring the af_packet interface with cpu worker thread support but I am getting assertion fail not sure if it is due to worker thread getting scheduled on core 0. Config : --- sta

Re: [vpp-dev] VPP build with external package ODP

2017-02-16 Thread Sreejith Surendran Nair
o make > suggestions. > > Can you come up with some proposal ? Possibly reasonably detailed writeup > on the mailing list? > > Thanks, > > Damjan > > > On 16 Feb 2017, at 11:16, Sreejith Surendran Nair linaro.org> wrote: > > Hi All , > > Gentle Remainder

Re: [vpp-dev] VPP build with external package ODP

2017-02-16 Thread Sreejith Surendran Nair
files to vpp install path. Thanks & Regards, Sreejith On 15 February 2017 at 12:10, Sreejith Surendran Nair < sreejith.surendrann...@linaro.org> wrote: > Hi All, > > I am working on the VPP/ODP Integration project. > > As part of build procedure I am building the OD

Re: [vpp-dev] Query regarding running worker thread in VPP Debug mode

2017-02-14 Thread Sreejith Surendran Nair
Feb 2017, at 14:58, Sreejith Surendran Nair linaro.org> wrote: > > Hi Damjan, > > Thank you for the kind reply. Sorry I had a doubt in the code I observed > we have support for worker threads in "af_packet" and "netmap" is it used > with dpdk platform onl

[vpp-dev] VPP build with external package ODP

2017-02-14 Thread Sreejith Surendran Nair
Hi All, I am working on the VPP/ODP Integration project. As part of build procedure I am building the ODP package(bin,lib,include) before the VPP build and using ODP prefix option with VPP install path (vpp/build-root/install-vpp_lite-native/odp) to copy the ODP package files. Recently I observe

Re: [vpp-dev] Query regarding running worker thread in VPP Debug mode

2017-02-13 Thread Sreejith Surendran Nair
ry 2017 at 17:51, Damjan Marion wrote: > > Hi Sreejith, > > You cannot use vpp_lite with multiple threads, vpp_lite buffer manager is > not thread safe. > > Thanks, > > Damjan > > On 13 Feb 2017, at 11:28, Sreejith Surendran Nair linaro.org> wrote: > > Hi

[vpp-dev] Query regarding running worker thread in VPP Debug mode

2017-02-13 Thread Sreejith Surendran Nair
Hi All, I am working on VPP/ODP integration project. I am trying to run VPP in debug mode with multi-thread support. I have configured the startup conf file with "workers" . But as I try to configure the interface and make it up, there is crash occuring due to assertion failure(cpu ). I have see

Re: [vpp-dev] Query regarding VPP Pool allocation

2017-02-11 Thread Sreejith Surendran Nair
hich executes binary >API scripts. > > > > > > HTH… Dave > > > > *From:* vpp-dev-boun...@lists.fd.io [mailto:vpp-dev-boun...@lists.fd.io] *On > Behalf Of *Mohsin Kazmi (sykazmi) > *Sent:* Wednesday, February 8, 2017 9:02 AM > *To:* Sreejith Surendran

Re: [vpp-dev] Query regarding VPP Pool allocation

2017-02-08 Thread Sreejith Surendran Nair
a > look... > > > > Thanks… Dave > > > > *From:* Sreejith Surendran Nair [mailto:sreejith.surendrann...@linaro.org] > > *Sent:* Tuesday, February 7, 2017 11:24 AM > *To:* Dave Barach (dbarach) > *Cc:* vpp-dev > *Subject:* Re: [vpp-dev] Query regardi

Re: [vpp-dev] Query regarding VPP Pool allocation

2017-02-07 Thread Sreejith Surendran Nair
to objects allocated in this > manner, unless you enjoy debugging dangling reference bugs. *Always* > memorize pool indices instead... > > > > Thanks… Dave > > > > *From:* vpp-dev-boun...@lists.fd.io [mailto:vpp-dev-boun...@lists.fd.io] *On > Behalf Of *Sreejith Sure

[vpp-dev] Query regarding VPP Pool allocation

2017-02-07 Thread Sreejith Surendran Nair
Hi All, I am working on VPP/ODP Integration. I had query regarding "pool_get" API. I am using call "pool_get(om->interfaces,oif) " with parameters "om->interfaces" and "oif" should we need to allocate memory for "om->interfaces" using "pool_alloc" before calling pool_get. I am presently not us

Re: [vpp-dev] Help regarding VPP build with ODP

2017-01-18 Thread Sreejith Surendran Nair
gt; > Have you tried adding your include path to vpp_CPPFLAGS in > build-data/packages/vpp.mk rather than the old way of adding to > vnet_CPPFLAGS in vnet.mk? Similarly for libraries, everything done in > vpp.mk. See if this works for you. > > Burt > > On Tue, Jan

[vpp-dev] Help regarding VPP build with ODP

2017-01-17 Thread Sreejith Surendran Nair
Hi All, I am working on VPP/ODP integration. I had made some changes earlier in the Makefiles(vnet.mk,vpp.mk) to build ODP with VPP. Below are the changes I made for ODP: 1) I had copied the ODP includes,bin and library to VPP installed path (vpp/build-root/install-vpp). 2) And added ODP install

Re: [vpp-dev] Query regarding VPP build without DPDK for ODP support

2017-01-06 Thread Sreejith Surendran Nair
ilds#vpp-lite > > It builds vpp without DPDK (used for various testing purposes) > > Ed > > On Thu, Jan 5, 2017 at 12:19 PM, Sreejith Surendran Nair < > sreejith.surendrann...@linaro.org> wrote: > >> Hi All, >> >> I am currently working on ODP(open data

[vpp-dev] Query regarding VPP build without DPDK for ODP support

2017-01-05 Thread Sreejith Surendran Nair
Hi All, I am currently working on ODP(open data plane) integration with VPP for pktio support. The ODP internally uses DPDK to detect the hardware NIC ports. Can I build VPP completely without existing DPDK support so that ODP can detect the hardware port directly using internal odp-dpdk API fram

Re: [vpp-dev] Query regarding VPP Af_packet/Netmap

2016-12-15 Thread Sreejith Surendran Nair -X (srsurend - TECH MAHINDRA LIM at Cisco)
Hi Mohsin, Thanks a lot for clarifying the doubt. Appreciate the help. Thanks & Regards, Sreejith [banner5] Sreejith Surendran Nair Engineer - Software srsur...@cisco.com<mailto:srsur...@cisco.com> Tel: Cisco Systems, Inc. Block C 9/7 Hosur Road BANGALORE 560 029 India cisco.c

[vpp-dev] Query regarding VPP Af_packet/Netmap

2016-12-14 Thread Sreejith Surendran Nair
Hi All, I am new to VPP I had a basic doubt with respect to af_packet and netmap configuration with VPP. As I understand we need to configure interface CLI to start af_packet and netmap service . ~# vppctl create host-interface name vpp0 ~# vppctl set interface state host-vpp0 up Is the purpo

[vpp-dev] DPDK driver unable to detect PC NIC port

2016-11-30 Thread Sreejith Surendran Nair
Hi Team, I am using Linux Centos 7 and I have build the VPP package on the system from git (followed the steps as in wiki). After running the package I observed the DPDK drivers are not able to bind to NIC ports. I tried couple of alternatives : reinstalled the VPP package, manual modprobe to UC

Re: [vpp-dev] VPP Compilation Issue on Centos

2016-11-27 Thread Sreejith Surendran Nair
gid vpp Thanks & Regards, Sreejith On 25 November 2016 at 09:22, Damjan Marion (damarion) wrote: > > Is this interface up? What “ifconfig" says? > > If interface is up VPP will not unbind it... > > On 25 Nov 2016, at 15:14, Sreejith Surendran Nair linaro.org> wrote:

Re: [vpp-dev] VPP Compilation Issue on Centos

2016-11-25 Thread Sreejith Surendran Nair
19259 1 uio_pci_generic > [root@localhost vpp]# > > > > On 25 November 2016 at 18:43, Damjan Marion (damarion) > wrote: > >> >> Can you share “show pci” output form VPP? >> >> >> On 25 Nov 2016, at 13:53, Sreejith Surendran N

Re: [vpp-dev] VPP Compilation Issue on Centos

2016-11-25 Thread Sreejith Surendran Nair
p]# lsmod | grep pci uio_pci_generic12588 0 uio19259 1 uio_pci_generic [root@localhost vpp]# On 25 November 2016 at 18:43, Damjan Marion (damarion) wrote: > > Can you share “show pci” output form VPP? > > > On 25 Nov 2016, at 13:53, Sreejith Surend

Re: [vpp-dev] VPP Compilation Issue on Centos

2016-11-25 Thread Sreejith Surendran Nair
t > loaded, > > ‘modprobe uio_pci_generic’ should do the job. > > > > Christophe > > > > *From:* Sreejith Surendran Nair [mailto:sreejith.surendrann...@linaro.org] > > *Sent:* vendredi 25 novembre 2016 11:41 > *To:* Dave Barach (dbarach) > *Cc:* Christophe FO

Re: [vpp-dev] VPP Compilation Issue on Centos

2016-11-25 Thread Sreejith Surendran Nair
d memory to the point where the > minimum number of hugetlb pages is not available. > > > > A reboot with the vpp packages installed should cure the problem. > > > > Thanks… Dave > > > > *From:* vpp-dev-boun...@lists.fd.io [mailto:vpp-dev-boun...@lists.f

Re: [vpp-dev] VPP Compilation Issue on Centos

2016-11-24 Thread Sreejith Surendran Nair
> > Christophe > > > > > > *From:* vpp-dev-boun...@lists.fd.io [mailto:vpp-dev-boun...@lists.fd.io] *On > Behalf Of *Sreejith Surendran Nair > *Sent:* jeudi 24 novembre 2016 07:10 > *To:* vpp-dev > *Subject:* [vpp-dev] VPP Compilation Issue on Centos > > &

[vpp-dev] VPP Compilation Issue on Centos

2016-11-23 Thread Sreejith Surendran Nair
Hi Team, I am using Centos 7 to build the VPP package but while running the vagrant build command I getting the below error with respect to Kernel headers ( no such file or directory). Could you please help and suggest if possible. [root@localhost 3.10.0-123.el7.x86_64]# uname -r 3.10.0-123.el7.

[vpp-dev] VPP Compilation Issue

2016-11-21 Thread Sreejith Surendran Nair
Hi Team, I am getting below compilation error in code when trying to run VPP first time. If possible can anyone help. Compilation Error: --- ./build-root/vagrant/build.sh CC vppinfra/mem_mheap.lo */home/sree/source/vpp/build-data/../vppinfra/vppinfra/mheap.c: In functio

Re: [vpp-dev] VPP Compilation Issue

2016-11-20 Thread Sreejith Surendran Nair
note that the current setup works only on 64bit machines. > > Regards, > Ajay Vishnu Bhat > > On 21 Nov 2016 10:41 am, "Sreejith Surendran Nair" < > sreejith.surendrann...@linaro.org> wrote: > >> Hi Team, >> >>> >>> I am getting bel

[vpp-dev] VPP Compilation Issue

2016-11-20 Thread Sreejith Surendran Nair
Hi Team, > > I am getting below compilation error in code when trying to run VPP first > time. If possible can anyone help. > > Compilation Error: > --- > ./build-root/vagrant/build.sh > CC vppinfra/mem_mheap.lo > */home/sree/source/vpp/build-data/../vppinfra/vppinfra/mh