[vpp-dev] Flow API questions/Hierarchical Queuing feature support

2021-06-28 Thread satish amara
Subject: Flow API questions/Hierarchical Queuing feature support Hi, I have a question about Flow API. test flow [add|del|enable|disable] [index ] " "[src-ip ] [dst-ip ] " "[ip6-src-ip ] [ip6-dst-ip ] " "[src-port ] [dst-port ] " "[proto ] " "[gtpc te

[vpp-dev] Flow API questions/Hierarchical Queuing feature support

2021-06-28 Thread satish amara
[Edited Message Follows] Subject: Flow API questions/Hierarchical Queuing feature support Hi, I have a question about Flow API. test flow [add|del|enable|disable] [index ] " "[src-ip ] [dst-ip ] " "[ip6-src-ip ] [ip6-dst-ip ] " "[src-port ] [dst-port ] " "[proto ] "

[vpp-dev] Flow API questions/Hierarchical Queuing feature support

2021-06-28 Thread satish amara
[Edited Message Follows] Subject: Flow API questions/Hierarchical Queuing feature support Hi, I have a question about Flow API. test flow [add|del|enable|disable] [index ] " "[src-ip ] [dst-ip ] " "[ip6-src-ip ] [ip6-dst-ip ] " "[src-port ] [dst-port ] " "[proto ] "

[vpp-dev] Flow API questions/Hierarchical Queuing feature support

2021-06-28 Thread satish amara
[Edited Message Follows] Subject: Flow API questions/Hierarchical Queuing feature support Hi, I have a question about Flow API. test flow [add|del|enable|disable] [index ] " "[src-ip ] [dst-ip ] " "[ip6-src-ip ] [ip6-dst-ip ] " "[src-port ] [dst-port ] " "[proto ] "

[vpp-dev] Flow API questions/Hierarchical Queuing feature support

2021-07-01 Thread satish amara
[Edited Message Follows] Subject: #vpp #dpdk Flow API questions/Hierarchical Queuing feature support Hi, I have a question about Flow API. test flow [add|del|enable|disable] [index ] " "[src-ip ] [dst-ip ] " "[ip6-src-ip ] [ip6-dst-ip ] " "[src-port ] [dst-port ] " "[

[vpp-dev] Flow API questions/Hierarchical Queuing feature support

2021-07-01 Thread satish amara
[Edited Message Follows] Subject: #vpp #dpdk Flow API questions/Hierarchical Queuing feature support Hi, I have a question about Flow API. test flow [add|del|enable|disable] [index ] " "[src-ip ] [dst-ip ] " "[ip6-src-ip ] [ip6-dst-ip ] " "[src-port ] [dst-port ] " "[

[vpp-dev] Multi-threading

2021-07-09 Thread satish amara
Hi, I am trying to understand and educate myself on which data structures in VPP infra are thread-safe for multi-threading. If I have multiple workers and using data structures in VPP infra in a custom plugin. .VPPINFRA (Infrastructure) — Vector Packet Processor 01 documentation (fdio-vpp.readt

[vpp-dev] Multi-threading

2021-07-09 Thread satish amara
[Edited Message Follows] Hi, I am trying to understand and educate myself on which data structures in VPP infra are thread-safe for multi-threading. If I have multiple workers and using data structures in VPP infra in a custom plugin. I see some documentation but not on all. . VPPINFRA (Infras

Re: [vpp-dev] no dpdk plugin in vpp

2021-07-09 Thread satish amara
Hi Tony, You have a couple of DPDK drivers. You can try loading uio-pci-generic and see if it works. Regards, Satish K Amara -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#19739): https://lists.fd.io/g/vpp-dev/message/19739 Mute This Topic: https:

[vpp-dev] Multi-threading locks and synchronization

2021-07-11 Thread satish amara
Hi, I have a few questions about how synchronization is being done when there are multiple workers/threads accessing the same data structure. For example IPsec headers have a seq number which gets incremented. If we have IPsec flow and encrypting packets on VPP do we assume that packets in the

[vpp-dev] Multi-threading locks and synchronization

2021-07-11 Thread satish amara
[Edited Message Follows] Hi, I have a few questions about how synchronization is being done when there are multiple workers/threads accessing the same data structure. For example, IPsec headers have a seq number that gets incremented. If we have IPsec flow and encrypting packets on VPP do we assu

[vpp-dev] Multi-threading locks and synchronization

2021-07-12 Thread satish amara
[Edited Message Follows] Hi, I have a few questions about how synchronization is being done when there are multiple workers/threads accessing the same data structure. For example, IPsec headers have a seq number that gets incremented. If we have IPsec flow and encrypting packets on VPP do we assu

Re: [vpp-dev] Multi-threading locks and synchronization

2021-07-12 Thread satish amara
Does this mean all the packets need to be flushed out or processed before the new config is applied? On Mon, Jul 12, 2021 at 11:04 AM Damjan Marion wrote: > > On 11.07.2021., at 17:10, satish amara wrote: > > [Edited Message Follows] > Hi, >I have a few questions about

Re: [vpp-dev] Multi-threading locks and synchronization

2021-07-12 Thread satish amara
in packets due to config changes?  Does this mean all the packets need to be flushed out or processed before the new config is applied? On Mon, Jul 12, 2021 at 11:04 AM Damjan Marion < dmar...@me.com > wrote: > > > >> On 11.07.2021., at 17:10, satish amara &

Re: [EXTERNAL] Re: [vpp-dev] Multi-threading locks and synchronization

2021-07-12 Thread satish amara
Thank you for your explanation.  What is recommended way if a custom plugin is working on multiple threads. Direct the packet in the same flow to the same thread or use spinlocks for synchronization. It looks like for IPSEC VPP code is trying the process the packets on the same flow on the same

Re: [EXTERNAL] Re: [vpp-dev] Multi-threading locks and synchronization

2021-07-13 Thread satish amara
Sync is needed. It's a question about the design of packet flow in  VPP. Locks can be avoided if the packets in a flow are processed by the same thread. -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#19757): https://lists.fd.io/g/vpp-dev/message/19

[vpp-dev] VPP on different Linux Platforms

2021-07-13 Thread satish amara
e any specific Linux flavors dependency. Thanks, Satish Amara. -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#19759): https://lists.fd.io/g/vpp-dev/message/19759 Mute This Topic: https://lists.fd.io/mt/84184116/21656 Group Owner: vpp-dev+ow...@lists.

Re: [vpp-dev] VPP on different Linux Platforms

2021-07-15 Thread satish amara
Thanks, I am trying to understand the dependencies of VPP are based on the OS kernel/Linux flavors (Centos, Redhat, Ubuntu). What version of Linux kernel it can run. Downloading and Installing VPP — The Vector Packet Processor 20.01 documentation (fd.io), ( https://fd.io/docs/vpp/master/getting

Re: [vpp-dev] VPP on different Linux Platforms

2021-07-15 Thread satish amara
[Edited Message Follows] Thanks, I am trying to understand the dependencies of VPP are based on the OS kernel/Linux flavors (Centos, Redhat, Ubuntu). What version of Linux kernel it can run. Downloading and Installing VPP — The Vector Packet Processor 20.01 documentation (fd.io), ( https://fd.

[vpp-dev] HQOS in latest VPP

2021-07-15 Thread satish amara
Hi, It looks like Hierarchical Queuing support is not supported in the latest VPP release. The last release I see is 20.01. Any plans to support it again in the future VPP? I don't see the config commands or nor hqos code in the latest VPP release. Thanks, Satish K Amara -=-=-=-=-=-=-=-=-=

Re: [EXTERNAL] [vpp-dev] Multi-threading locks and synchronization

2021-07-15 Thread satish amara
rstand all the semantics. On Tue, Jul 13, 2021 at 3:39 PM Damjan Marion wrote: > > > > On 13.07.2021., at 18:41, satish amara wrote: > > > > Sync is needed. It's a question about the design of packet flow in VPP. > Locks can be avoided if the packets in a f

[vpp-dev] OSPF and other routing protocols on VPP

2021-07-16 Thread satish amara
Hi, I am investigating how we can implement routing protocol on the VPP platform. I see some info on VPP Sandbox/router - fd.io Trying to understand what is the recommended way. Anybody ported OSPF /BGP to VPP Host Stack VPP/HostStack - fd.io

[vpp-dev] User Applications on VPP

2021-07-22 Thread satish amara
Hi, I see we have a couple of options for user applications to use the VPP TCP/IP stack. Either by VCL or LD_PRELOAD. I am trying to understand if we can selectively intercept syscalls and injects them into VLS for specific applications. Is LD_PRELOAD can application specific. If so what is the

Re: [vpp-dev] User Applications on VPP

2021-07-22 Thread satish amara
syscalls are intercepted. Also note that we don’t > intercept all syscalls (check ldp.c for more details). So yes, the > architecture in your diagram should be possible. > > Regards, > Florin > > On Jul 22, 2021, at 9:35 AM, satish amara wrote: > > Hi Florin, >Thanks! It

[vpp-dev] Compiling some of the tests code in VPP infra

2021-07-26 Thread satish amara
Hi, I am trying to see how to compile some of the test file like test_vec.c files in VPP infra. The main functions are #ifdef in CLIB_UNIX. I checked the make files not sure where and how to enable this and compile the code. Please let me know relevant make files change to compile and run that

[vpp-dev] VPP classifier and session commands

2021-08-03 Thread satish amara
Hi, I have few questions about the usage of CLI commands. FD.io VPP: src/vnet/classify We have classify sessions command and classify table command. Is it possible to classify packets and create sessions

[vpp-dev] VPP IPSEC traffic is not passing thru when DPDK is enabled.

2021-08-17 Thread satish amara
Hi, There is an issue when the DPDK is owning the LAN interface for IPSEC traffic. I have a network setup of 2 VPP routers connected by the IPSEC tunnel on WAN interface and have LAN interface for sending out traffic and VPP is acting as IPSEC gateway.. The issue I am seeing traffic encrypted b

[vpp-dev] DPDK initialization issues

2021-08-18 Thread satish amara
calculated TotalHugepageSize then set this parameter # to current shmmax value. kernel.shmmax=2147483648 But in spite of the error, I was able to ping thru the interface owned by DPDK. Seeing issue for IPSEC traffic. So trying to find where the issue is Thanks, Satish Amara -=-=-=-=-=-=-=-=-=-=-=-

[vpp-dev] DPDK initialization issues

2021-08-18 Thread satish amara
where the issue is Thanks, Satish Amara -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#19983): https://lists.fd.io/g/vpp-dev/message/19983 Mute This Topic: https://lists.fd.io/mt/84979398/21656 Group Owner: vpp-dev+ow...@lists.fd.io Unsubscr

Re: [vpp-dev] DPDK initialization issues

2021-08-19 Thread satish amara
essage- > > From: vpp-dev@lists.fd.io On Behalf Of satish > amara > > Sent: mercredi 18 août 2021 20:37 > > To: vpp-dev@lists.fd.io > > Cc: Damjan Marion > > Subject: [vpp-dev] DPDK initialization issues > > > > [Edited Message Follows] >

Re: [vpp-dev] DPDK initialization issues

2021-08-19 Thread satish amara
pdk, see > "create interface virtio" cli commands. > > Best > ben > > > -Original Message- > > From: satish amara > > Sent: jeudi 19 août 2021 16:39 > > To: Benoit Ganne (bganne) > > Cc: vpp-dev@lists.fd.io; Damjan Marion > > Su

Re: [vpp-dev] DPDK initialization issues

2021-08-19 Thread satish amara
Also, I noticed an interesting thing. After I stop the (exit) VPP the queued packets are sent out by the DPDK driver. On Thu, Aug 19, 2021 at 11:32 AM satish amara wrote: > What is surprising is everything works fine until I do IPSEC. The ping to > local networks on the eth3 interface

Re: [vpp-dev] DPDK initialization issues

2021-08-19 Thread satish amara
g from VPP1 to host 192.168.100.20 looks good. On Thu, Aug 19, 2021 at 11:49 AM Benoit Ganne (bganne) wrote: > That looks suspicious for sure... Can you try with VPP native virtio > driver instead of DPDK? > > ben > > > -Original Message- > > From: satish am

Re: [vpp-dev] DPDK initialization issues

2021-08-19 Thread satish amara
gt; > > -Original Message- > > From: satish amara < satishkam...@gmail.com > > > Sent: jeudi 19 août 2021 17:43 > > To: Benoit Ganne (bganne) < bga...@cisco.com > > > Cc: vpp-dev@lists.fd.io ; Damjan Marion < dmar...@me.com > > > Subject: Re: [vpp-d

[vpp-dev] BFD developers on VPP

2021-08-20 Thread satish amara
Hi, I see VPP supports BFD on VPP. Any plans when multi-hop is supported. I would like to have a BFD session with a remote peer that could be multiple hops away. FD.io VPP: BFD module "Bidirectional Forwarding Detection in VPP currently support

[vpp-dev] Issues adding ACL with binary_api

2021-08-23 Thread satish amara
Hi, I am tried to add ACL rule by following commands. There was no error. A new ACL index is created by when I do show ACL , count is 0, and the ACL rule is not displayed. vat# acl_add_replace ipv4 permit src 30.30.30.1/32 dst 40.40.40.1/32 sport 1000 dport 1000, ipv4 permit src 10.10.10.0/

[vpp-dev] Issues adding ACL with binary_api

2021-08-23 Thread satish amara
[Edited Message Follows] Hi, I tried to add ACL rule by following commands.  There was no error. A new ACL index is created. When I do show  ACL , count is 0, and the  ACL rule is not displayed. vat# acl_add_replace  ipv4 permit src 30.30.30.1/32 ( http://30.30.30.1/32 ) dst 40.40.40.1/32 ( ht

Re: [vpp-dev] Issues adding ACL with binary_api

2021-08-25 Thread satish amara
I was able to run the same command on the centos platform when I build the image.   I am seeing this issue when I install the VPP package Downloading and Installing VPP — The Vector Packet Processor 21.06 documentation (fd.io) ( https://fd.io/docs/vpp/latest/gettingstarted/installing/#installing

Re: [vpp-dev] DPDK initialization issues

2021-09-21 Thread satish amara
Hi Ben, Thank you. How do I enable that? I dint compile the VPP code. I just installed the VPP packages on VM and trying to test the IPSEC config. Regards, Satish Amara -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#20173): https://lists.fd.io/g

Re: [vpp-dev] DPDK initialization issues

2021-09-21 Thread satish amara
[Edited Message Follows] " That looks suspicious for sure... Can you try with VPP native virtio driver instead of DPDK? " Hi Ben, Thank you. How do I enable that? I dint compile the VPP code. I just installed the VPP packages on VM and trying to test the IPSEC config. Regards, Sa

[vpp-dev] VPP binary API/VPP_API_TEST program

2021-09-29 Thread satish amara
Hi, I am seeing issues when I run the following commands in vpp_api_test. The following commands return none. In spite, there are routes and interfaces configured on vpp. vat# sw_interface_dump vat# ip_route_dump vat# The following command is not giving full details vat# ikev2_profile_dump pr

[vpp-dev] VPP Binary API Python issues.

2021-09-30 Thread satish amara
Hi, I am trying to get IKEv2 SA using Python API. I see following issue. File "./client.py", line 88, in dump_ikev2_sa() File "./client.py", line 65, in dump_ikev2_sa for res in vpp.api.ikev2_sa_dump(): File "/usr/lib/python2.7/site-packages/vpp_papi/vpp_papi.py", line 113, in __c

Re: [vpp-dev] VPP Binary API Python issues.

2021-09-30 Thread satish amara
2021 at 2:26 PM wrote: > Did you include the whole backtrace? > You also want to use python3. > > Cheers, > Ole > > > On 30 Sep 2021, at 19:52, satish amara wrote: > > > > Hi, > >I am trying to get IKEv2 SA using Python API. I see following issue. &

[vpp-dev] VPP Binary API Python issues.

2021-09-30 Thread satish amara
-- Forwarded message - From: satish amara Date: Thu, Sep 30, 2021 at 3:21 PM Subject: Re: [vpp-dev] VPP Binary API Python issues. To: In the same code, I am dumping the interface info and IPSEC SA. I don't see any issue there. The issue happens only for some binary API. O

[vpp-dev] VPP Binary API Python issues.

2021-09-30 Thread satish amara
[Edited Message Follows] -- Forwarded message - From: *satish amara* < satishkam...@gmail.com > Date: Thu, Sep 30, 2021 at 3:21 PM Subject: Re: [vpp-dev] VPP Binary API Python issues. To: < otr...@employees.org > In the same code script, I am dumping the interface in

[vpp-dev] VPP Packet drops in handoff during IPSEC encryption

2022-01-06 Thread satish amara
Hi, I am seeing the following issue when we are sending a lot of traffic on VPP with 10 Gig interfaces from one interface to another interface traffic and have IPSEC tunnel for outgoing traffic to the remote site [ LAN to WAN]. The issue happens when there are multiple RX queues, RSS enabled a