[vpp-dev] Compilation errors seen in VPP v23.02-rc1 on Centos 8

2023-01-23 Thread Chinmaya Aggarwal
Hi, I am trying to compile VPP v23.02-rc1 on Centos 8, but saw below compilation issues:- a) In command "make install-ext-deps" :- patching file lib/common.mk --- configuring xdp-tools 1.2.9 - log: /opt/vpp/build/external/rpm/tmp/xdp-tools.config.log --- building xdp-tools 1.2.9 - log:

Re: [vpp-dev] VPP 22.10 : VCL not accepting UDP connections

2023-01-23 Thread Chinmaya Aggarwal
Hi, We are using connected socket (setting VPPCOM_ATTR_SET_CONNECTED) but still facing this issue. Has something changed between VPP v21.06 and the new release for the connected udp socket? Thanks and Regards, Chinmaya Agarwal. -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to

Re: [vpp-dev] VPP 22.10 : VCL not accepting UDP connections

2023-01-19 Thread Chinmaya Aggarwal
Hi, We re-compiled VPP 22.10 by cherry picking the below commits:- udp: fix tx handling of non-connected sessions : 15952b261f92959ca14cf6679efc318c12e90de6 udp: support for disabling tx csum : f8ee39ff715ec713045af69da465ba4da8248212 udp: explicit udp output node This allows for custom next

[vpp-dev] VPP 22.10 : VCL not accepting UDP connections

2023-01-18 Thread Chinmaya Aggarwal
Hi, We are testing VCL in VPP 22.10 and facing the issue that VCL is not able to accept UDP connections and we are seeing rx full in "show session verbose" command:-- vpp# show session verbose Connection                                                  State          Rx-f      Tx-f [0:0][U]

[vpp-dev] Mailing list post in locked state

2023-01-13 Thread Chinmaya Aggarwal
Hi, Some of the mailing list post that I posted is showing to me in locked state. I am not able to post any update/query or reply on those posts. What is the reason for this locked state? Thanks and Regards, Chinmaya Agarwal. -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to

Re: [vpp-dev] issue: ConnectX-5 interface state can not up

2023-01-12 Thread Chinmaya Aggarwal
Hi Li, I tired the same use case in VPP v22.10 and it is working fine for me. Thanks and Regards, Chinmaya Agarwal. -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#22460): https://lists.fd.io/g/vpp-dev/message/22460 Mute This Topic:

Re: [vpp-dev] issue: ConnectX-5 interface state can not up

2023-01-06 Thread Chinmaya Aggarwal
Hi Li, The topic you pointed was raised by me. I could get through this issue by using MLX5 with RDMA plugin instead of DPDK. With RDMA it is working fine for me. You can try using RDMA if it suits your use case. Thanks and Regards, Chinmaya Agarwal. -=-=-=-=-=-=-=-=-=-=-=- Links: You receive

Re: [vpp-dev] LACP bonding not working with RDMA driver

2023-01-06 Thread Chinmaya Aggarwal
Hi, I could get LACP bonding working with RDMA driver now. I was going through the RDMA plugin code and found there is a concept of "mode" in RDMA interfaces. When I modified the interface command like below, I could see the LACP bonding working:- vpp# create int rdma host-if eth1 mode ibv

[vpp-dev] Support for VPP compilation in offline mode

2023-01-03 Thread Chinmaya Aggarwal
Hi, Currently as part of VPP compilation, there are commands such as "make install-dep" and "make install-ext-deps" which downloads required dependent packages from internet. We want to automate the VPP compilation in offline mode i.e. our environment will not have internet access and we want

Re: [vpp-dev] Running multiple VPP processes causing VAPI API failures

2022-12-21 Thread Chinmaya Aggarwal
Hi, Is there a way by which we can restrict this extra "vpp" daemon from starting, if the main vpp process is already running? Thanks and Regards, Chinmaya Agarwal. -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#22358):

Re: [vpp-dev] VPP crashes with vlib_worker_thread_barrier_syn_int:thread deadlock

2022-12-21 Thread Chinmaya Aggarwal
Hi, You can try adding the line "path /usr/lib/vpp_plugins/" at the top in plugins{} section in startup.conf file and do a VPP restart. That should fix your problem. Thanks, Chinmaya Agarwal -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online

[vpp-dev] Running multiple VPP processes causing VAPI API failures

2022-12-12 Thread Chinmaya Aggarwal
Hi, We have a main VPP process running and we have IPIP tunnels configured in VPP which we try to fetch using VAPI API calls. It works fine in normal scenarios but when we by mistake executed the command "vpp" from linux command line, we saw that an additional VPP daemon started running and

Re: [vpp-dev] VPP crash while create ipip tunnel after a certain limit

2022-12-08 Thread Chinmaya Aggarwal
On Wed, Dec 7, 2022 at 08:04 PM, Sudhir CR wrote: > > heapsize and statseg Thanks for your response. What should be the ideal ratio between heapsize and  statseg? Thanks and Regards, Chinmaya Agarwal. -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply

[vpp-dev] VPP crash while create ipip tunnel after a certain limit

2022-12-07 Thread Chinmaya Aggarwal
Hi, As per our use case, we need to have a large number of ipip tunnels in VPP (approx 1). When we try to configure that many tunnels inside VPP, after a certain limit it crashes with below core dump:- Dec 07 20:01:27 j3norvmstm01 vpp[2053130]: ipipCouldn't create

Re: [vpp-dev] How to make VPP work with Mellanox ConnectX-6 NICs?

2022-11-21 Thread Chinmaya Aggarwal
Hi Elias, We are trying to configure Mellanox ConnectX-5 interface with VPP v22.02 using RDMA driver. We are able to create rdma interface, but when we try to configure those rdma interfaces inside lacp bonding we don't see it working. The "show bond" command only shows one active member

Re: [vpp-dev] How to make VPP work with Mellanox ConnectX-6 NICs?

2022-11-21 Thread Chinmaya Aggarwal
Hi Elias, We are trying to configure Mellanox ConnectX-5 interface with VPP v22.02 using RDMA driver. We are able to create rdma interface, but when we try to configure those rdma interfaces inside lacp bonding we don't see it working. The "show bond" command only shows one active member

Re: [vpp-dev] LACP bonding not working with RDMA driver

2022-11-15 Thread Chinmaya Aggarwal
Hi, As suggested we tried putting the rdma interfaces in promiscuous mode, but still facing the same issue:- vpp# set interface promiscuous on eth1/0 vpp# set interface promiscuous on eth2/1 What could be the possible reason for this issue? Thanks and Regards, Chinmaya Agarwal.

[vpp-dev] LACP bonding not working with RDMA driver

2022-11-11 Thread Chinmaya Aggarwal
Hi, We have two mlx5 interface eth1 and eth2. We configured a rdma host interface for each of these interface on VPP and further configured bonding on the rdma interfaces. But when we execute command "show bond" it just shows only 1 active member. vpp# show bond interface name   sw_if_index 

[vpp-dev] Gerrit Review Id 37298

2022-10-10 Thread Chinmaya Aggarwal
Hi, I have added a fix as gerrit review id 37298. *Problem Statement:* While configuring End.AD.Flow localsid, vpp gives error if we configure vlan sub interface as iif interface. vpp# sr localsid address 2001:f1:f1:11::111 behavior end.ad.flow nh 9.9.10.102 oif GigabitEthernet0/9/0 iif

[vpp-dev] Mellanox Interface not coming up in VPP 22.02

2022-09-26 Thread Chinmaya Aggarwal
Hi, We have compiled VPP v22.02 with mellanox (MLNX_OFED_LINUX-5.5-1.0.3.2-rhel8.4-x86_64) on Centos 8.4 VM. We are able to configure interface (having mellanox driver) inside VPP but when we try bringing up the interface using "set interface state..", it shows the error "Interface start

[vpp-dev] Not able to configure iif interface as sub interface in End.AD.Flow

2022-09-16 Thread Chinmaya Aggarwal
Hi, We are trying to test a use case in Srv6 proxy using VPP v22.02, where we want to configure a End.AD.Flow sid that has iff interface as vlan sub interface. But when we run the below command, we see the error:- vpp# sr localsid address 2001:f1:f1:11::111 behavior end.ad.flow nh 9.9.10.102

[vpp-dev] VPP crashes when lcp host interface is added in network bridge

2022-07-21 Thread Chinmaya Aggarwal
Hi, As per our use case, we have created a vhost interface in VPP and further created lcp host interface for the same in linux using below commands:- vpp# create vhost socket /tmp/vm00.sock vpp# lcp create VirtualEthernet0/0/0 host-if enp7s0 netns dataplane On linux, we then tried adding

[vpp-dev] Memory region shows empty for vhost interface

2022-07-14 Thread Chinmaya Aggarwal
Hi, We are running VPP v22.02. We found a link stating how to connect a VM to VPP (running on base machine). https://fd.io/docs/vpp/v2101/usecases/vhost/index.html As per the link, on VPP, we created a vhost interface:- vpp# create vhost socket /tmp/vm00.sock VirtualEthernet0/0/0 Also, we

Re: [vpp-dev] VPP crashing if we configure srv6 policy with five sids in the sidlist

2022-07-13 Thread Chinmaya Aggarwal
Hi, We executed few more tests on this and we observed that after applying the above policy with 4 sids, we can see packet coming out of the interface. But as soon we add the 5th sid or more we don't see the packet coming out of the interface and VPP crashes after sometime. We got the below

Re: [vpp-dev] VPP crashing if we configure srv6 policy with five sids in the sidlist

2022-07-05 Thread Chinmaya Aggarwal
We have executed below command on VPP CLI:- vpp# sr policy add bsid C1::999:1 next 2001:a9:a9:a3::111 next 2001:a9:a9:a3::112 next 2001:a9:a9:a3::113 next 2001:a9:a9:a3::114 next 2001:a9:a9:a3::101 insert spray fib-table 5000 vpp# sr steer l3 2001:900:901:1:9:b200::1/120 via bsid C1::999:1

[vpp-dev] VPP crashing if we configure srv6 policy with five sids in the sidlist

2022-07-05 Thread Chinmaya Aggarwal
Hi, We saw a VPP crash when we configure srv6 policy having 5 sids in the sid list. Below is the dump we got:- Jul  5 04:20:42 j3chysr01stg01 vnet[13470]: received signal SIGSEGV, PC 0x7f5151cf4256, faulting address 0x100280f570 Jul  5 04:20:42 j3chysr01stg01 vnet[13470]: #0 

Re: [vpp-dev] End.AD.Flow with Ipv6 next hop address

2022-07-04 Thread Chinmaya Aggarwal
Hi, Is there a way by which we can make End.AD.Flow sid, with ipv6 next hop, work for both ipv4 and ipv6 traffic? Thanks and Regards, Chinmaya Agarwal. -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#21604):

[vpp-dev] End.AD.Flow with Ipv6 next hop address

2022-06-29 Thread Chinmaya Aggarwal
Hi, There is a use case where we want to pass ipv4 and ipv6 traffic both from a single End.AD.flow (with ipv6 next hop address) sid. We created the sid using below command:- sr localsid address 2001:a9:a9:a3::111 behavior end.ad.flow nh 2001:a9:a9:b1::102 oif GigabitEthernet0/9/0 iif

Re: [vpp-dev] LACP bond interface not working

2022-06-21 Thread Chinmaya Aggarwal
Hi, Any suggestions on the issue as to why lacp bond in VPP is not working on VM but it is working on physical machine. Also, are there any log files we can refer to debug the issue on VM? Thanks and Regards, Chinmaya Agarwal. -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to

[vpp-dev] Configuring linux kernel bond interface in VPP

2022-06-17 Thread Chinmaya Aggarwal
Hi, We configure linux kernel physical interface on VPP using below steps:- 1. Whitelisting the physical interface in /etc/vpp/startup.conf. 2. Bringing the kernel interface down. 3. Restarting vpp service. Is there a similar way by which we can configure linux bond interface in VPP? I don't

Re: [vpp-dev] LACP bond interface not working

2022-06-17 Thread Chinmaya Aggarwal
Hi, We are trying these VPP's lacp bond configuration on virt-manager VM. Also, we tried the same configuration on VPP installed physical machine. We could see VPP lacp bond configuration working on physical machine while we don't see it working in case of virt-manager VM. We have Centos 8.4

Re: [vpp-dev] LACP bond interface not working

2022-06-14 Thread Chinmaya Aggarwal
Hi, Thanks for your response. The bond has been created with mode 802.3ad. Below is the network configuration file:- [root@localhost ~]# cat /etc/sysconfig/network-scripts/ifcfg-bond0 NAME=bond0 DEVICE=bond0 BONDING_MASTER=yes TYPE=Bond ONBOOT=yes BONDING_OPTS=mode=802.3ad HWADDR=

Re: [vpp-dev] LACP bond interface not working

2022-06-14 Thread Chinmaya Aggarwal
Hi, The setup we are trying on has VM1 (running VPP) and VM2 directly connected to each other via two physical interface of same nic (which will be bonded together). On VM2, we have created bond interface for the two physical interface using nmcli. enp7s0: mtu 1500 qdisc fq_codel master

[vpp-dev] LACP bond interface not working

2022-06-13 Thread Chinmaya Aggarwal
Hi, We are trying to create a lacp bond interface on VPP v21.06. Below is the configuration we are trying:- vpp# create bond mode lacp id 0 vpp# set int state BondEthernet0 up vpp# bond add BondEthernet0 GigabitEthernet7/0/0 vpp# bond add BondEthernet0 GigabitEthernet8/0/0 vpp# set int state

Re: [vpp-dev] VPP v22.02 not coming up

2022-06-02 Thread Chinmaya Aggarwal
Hi, Based on our latest findings for the issue that I was facing regarding dpdk{} and linux-cp{} sections being present in startup.conf and VPP not coming up, we found out that if we provide plugin path in the startup.conf, then I don't face this issue anymore and everything seems to be

Re: [vpp-dev] VPP v22.10-rc0~1 can't inject routes from Linux Control Plane.

2022-05-26 Thread Chinmaya Aggarwal
On Thu, May 26, 2022 at 08:03 AM, Fabio Bizzi wrote: > > GigabitEthernet6/0/0 Hi, How did you manage to get GigabitEthernet6/0/0 in VPP? As there is no dpdk{} section for whitelisting kernel interfaces. -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply

[vpp-dev] VPP v22.02 not coming up

2022-05-24 Thread Chinmaya Aggarwal
Hi, I have compiled VPP v22.02 on Centos 8.4. I was able to compile it. But when I installed it and modified /etc/vpp/startup.conf, vpp service is not able to come up. I added below sections in /etc/vpp/startup.conf:- dpdk { socket-mem 1024 dev :00:08.0 dev :00:09.0 dev :00:0a.0

[vpp-dev] End of life for VPP releases

2022-05-10 Thread Chinmaya Aggarwal
Hi, We are planning to go to production environment with VPP so we would like to know the end of life of following VPP versions i.e v21.06 (currently we are on it) and v22.02 (latest VPP versions). What is the end of life for the mentioned VPP versions? Thanks and Regards, Chinmaya Agarwal.

Re: [vpp-dev] Prevent blackhole routes being leaked into VPP

2022-04-07 Thread Chinmaya Aggarwal
Hi, As suggested, we added blackhole routes in linux using below command sudo ip netns exec dataplane ip -6 route add blackhole 2001:50:10:a111::101/64 table 1203 proto bgp And then we added ipip tunnel route via API. Below is the output for "vppctl show ip6 fib table 1203

Re: [vpp-dev] Prevent blackhole routes being leaked into VPP

2022-04-05 Thread Chinmaya Aggarwal
Hi, We are adding blackhole routes via linux command "sudo ip netns exec dataplane ip -6 route add blackhole 2001:50:10:a111::101/64 table 1203" After adding blackhole routes on linux (that are leaked to vpp), if we try to view the route in vpp ,we get the below output [root@j3chysr01stg05 ~]#

[vpp-dev] Prevent blackhole routes being leaked into VPP

2022-04-04 Thread Chinmaya Aggarwal
Hi, We have integrated linux-cp and linux-nl plugin in VPP. We create table 1203 on VPP and on linux (in namespace dataplane). We added a blackhole route on linux using below command:- sudo ip netns exec dataplane ip -6 route add blackhole 2001:50:10:a111::101/64 table 1203 When I view this

[vpp-dev] Configuring linux kernel VLAN interfaces in VPP

2022-03-17 Thread Chinmaya Aggarwal
Hi, Is there a way by which I can bind vlan interfaces, created on linux kernel, in vpp similar to the way we do for physical interfaces? Thanks and Regards, Chinmaya Agarwal. -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#21051):

Re: [vpp-dev] Ping reply packets reaching vnet interface with correct vlan tags are not seen in VPP for VLAN interface.

2021-12-13 Thread Chinmaya Aggarwal
Hi, We have an observation that if we change the device type of our interface from virtio to e1000 or we keep device type virtio as is and set promiscuous on for the parent interface of vlan interface, we could get our end to end packet flow working with VLAN interfaces configured, for both

Re: [vpp-dev] Ping reply packets reaching vnet interface with correct vlan tags are not seen in VPP for VLAN interface.

2021-12-10 Thread Chinmaya Aggarwal
Hi, We are trying to debug this issue and we have a question regarding this that If the packet is seen on the vnet interface of the VM hosting VPP, and not seen in VPP packet trace, can we debug something at VPP level? Thanks and Regards, Chinmaya Agarwal. -=-=-=-=-=-=-=-=-=-=-=- Links: You

Re: [vpp-dev] Ping reply packets reaching vnet interface with correct vlan tags are not seen in VPP for VLAN interface.

2021-12-09 Thread Chinmaya Aggarwal
Hi, We found another similar kind of an issue https://lists.fd.io/g/vpp-dev/topic/74220020#16397 But there is no resolution for it as of now. Thanks and Regards, Chinmaya Agarwal. -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#20608):

Re: [vpp-dev] Ping reply packets reaching vnet interface with correct vlan tags are not seen in VPP for VLAN interface.

2021-12-08 Thread Chinmaya Aggarwal
Hi, After applying IP and link state from linux (as per my previous post), we actually see IP and state being copied to VPP as well. vpp# show interface address GigabitEthernet0/8/0 (up): GigabitEthernet0/8/0.1400 (up): L3 24.24.10.101/24 L3 2001:24:10:a111::101/64 local0 (dn): tap1 (up):

[vpp-dev] Ping reply packets reaching vnet interface with correct vlan tags are not seen in VPP for VLAN interface.

2021-12-08 Thread Chinmaya Aggarwal
Hi, We have two VMs running on Centos 8.4 and base server running on Centos 7.8. VM1 is running VPP(v21.06) and VM2 is a normal linux machine. VM1 is connected to VM2 on GigabitEthernet0/8/0 interface. We created a VLAN interface (with VLAN id 1400) on both the VMs and we are trying to ping

[vpp-dev] API to use to fetch IP route information from VPP

2021-10-18 Thread Chinmaya Aggarwal
Hi, We want to get ip route information from VPP using VAPI. We were referencing ip.api file, where we see two versions of ip route dump API i.e. ip_route_dump and ip_route_v2_dump. So, which one should we use for our implementation? Thanks and Regards, Chinmaya Agarwal.

[vpp-dev] Advertising prefixes in VPP fib via BGP

2021-09-20 Thread Chinmaya Aggarwal
Hi, I am using linux-cp and linux-nl plugins to install BGP routes in VPP and it is working fine for us. After this, we installed a sr policy and sr steering policy for an IPv4 prefix 81.81.81.0/64 and we want to advertise this prefix via BGP. Can we do it in a dynamic way using linux-cp and

[vpp-dev] Issue in sr localsid VAPI message dump

2021-08-27 Thread Chinmaya Aggarwal
Hi, We are trying to fetch sr localsids configured in VPP using sr_localsids_dump and sr_localsids_details API messages. When we do so, we see an issue that the value of "behavior" field is alwsys 0. On debugging the issue, we found that in file src/vnet/srv6/sr_api.c file, after the execution

Re: [vpp-dev] FIB entry being created on peer VPP node for the localsid

2021-08-09 Thread Chinmaya Aggarwal
Hi, We have a use case where we have two VPP nodes i.e. VN1 and VN2 , in a local redundancy testing setup, VN1 is acting as primary node and VN2 is acting as secondary node. VN1 has localsid configuration on it. VN2 has a neighbor and fib entry corresponding to the localsid of VN1. Now when we

Re: [vpp-dev] FIB entry being created on peer VPP node for the localsid

2021-08-03 Thread Chinmaya Aggarwal
Hi Neale, Thank you. As mentioned in the post, we see a different behaviour on linux srv6 where it adds localsid as neighbor only and does not modify route table. So, why the handing for this is different in VPP? Thanks and Regards, Chinmaya Agarwal. -=-=-=-=-=-=-=-=-=-=-=- Links: You

[vpp-dev] FIB entry being created on peer VPP node for the localsid

2021-08-03 Thread Chinmaya Aggarwal
Hi, We have two VMs i.e. VM 1 and VM 2 running VPP. We are configuring localsid and nd proxy corresponding to that localsid on VM1. sr localsid address 2001:7a0:10::111 behavior end psp set ip6 nd proxy GigabitEthernet0/8/0 2001:7a0:10::111 When packet on VM 2 tries tires to reach VM 1's

[vpp-dev] View IPv6 default route

2021-07-13 Thread Chinmaya Aggarwal
Hi, How can we get IPv6 default routes using vpp cli? Thanks and Regards, Chinmaya Agarwal. -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#19753): https://lists.fd.io/g/vpp-dev/message/19753 Mute This Topic: https://lists.fd.io/mt/84176732/21656

[vpp-dev] Interfacing with VPP for retrieving configuration and statistical data from VPP

2021-07-09 Thread Chinmaya Aggarwal
Hi, VPP provides set of vppctl cli commands for getting the configuration done on VPP, i.e route table , interfaces etc. Also, VPPCTL shows statistics data as well in some cases, for instance : - "show sr localsids" command not only shows the localsids we have configured but also the

Re: [vpp-dev] Default Routes learned from RA being erased after a certain duration

2021-07-08 Thread Chinmaya Aggarwal
Hi Team, A gentle reminder. Could someone please help with this? Thanks and Regards, Chinmaya Agarwal. -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#19723): https://lists.fd.io/g/vpp-dev/message/19723 Mute This Topic:

[vpp-dev] Creating multiple VAPI connections from a single application

2021-07-05 Thread Chinmaya Aggarwal
Hi, We are trying to create multiple vapi connections simultaneously, using  vapi_connect() function, but it is failing. We saw an old post: - https://lists.fd.io/g/vpp-dev/message/11140?p=,,,20,0,0,0::Created,,vapi+connection,20,2,0,2803 It state that multiple VAPI connections were not

Re: [vpp-dev] Issue in VPP v21.06 compilation

2021-07-01 Thread Chinmaya Aggarwal
We are using Centos 8.4.2105 and gcc version 8.4.1. Also, we have downloaded and installed mellanox driver from below link : - https://www.mellanox.com/products/infiniband-drivers/linux/mlnx_ofed Driver Version : 5.3-1.0.0.1 Thanks and Regards, Chinmaya Agarwal. -=-=-=-=-=-=-=-=-=-=-=- Links:

Re: [vpp-dev] Issue in VPP v21.06 compilation

2021-07-01 Thread Chinmaya Aggarwal
Hi, We were able to find a workaround for NASM installation issue. We deleted nasm-2.14.02.tar.xz from /opt/vpp/build/external/downloads/ and executed "make install-ext-deps"  again. But, this time we see another issue : - [722/1977] Generating rte_bus_vdev_def with a custom command [723/1977]

[vpp-dev] Issue in VPP v21.06 compilation

2021-06-30 Thread Chinmaya Aggarwal
Hi, We are trying to compile VPP v21.06 from stable/2106 branch with MLX5 support. We enabled MLX5 support in vpp by doing below changes : - vi build/external/packages/dpdk.mk DPDK_MLX5_PMD                ?= y DPDK_MLX5_COMMON_PMD         ?= y We then executed # make install-dep This

Re: [vpp-dev] Support for localsid behaviors (T.Insert, T.Encaps, H.Insert and H.Encaps)

2020-09-29 Thread Chinmaya Aggarwal
On Tue, Sep 29, 2020 at 07:29 AM, Pablo wrote: > > Yes, those are supported. Hi Pablo, What we infer of the documentation link that you shared is that we can configure encap or inline at per policy level. But, H.Insert and H.Encaps are headend node behaviour. So how are these two related?

[vpp-dev] Support for localsid behaviors (T.Insert, T.Encaps, H.Insert and H.Encaps)

2020-09-29 Thread Chinmaya Aggarwal
Hi, I am checking the localsid behaviors supported in VPP v20.05.1 and cannot find T.Insert, T.Encaps, H.Insert and H.Encaps in the list. Are these behaviors supported in VPP? If not, are there any plans to add support for them? Thanks and Regards, Chinmaya Agarwal. -=-=-=-=-=-=-=-=-=-=-=-

[vpp-dev] Problem in configuring interfaces in VPP for Centos 8.1

2020-08-26 Thread Chinmaya Aggarwal
Hi, We are installing VPP 20.05.1 on Centos 8.1 by compiling the RPMs for el/8. We have igb I350 drivers on the interface. We are facing the issue that once we whitelist the kernel interface, bring it down and then restart vpp, the interface is not visible in "show interface" command :-

[vpp-dev] VAPI getting hanged on VPP restart

2020-08-12 Thread Chinmaya Aggarwal
Hi, I have an application that uses vapi to connect to vpp. If I restart VPP, my application gets stuck at the first vapi call. I then have to restart my application to bring back it to normal state. I think this is due to a broken connection. Is there a way to reconnect to vpp without

Re: [vpp-dev] VPP getting hanged after consecutive VAPI requests

2020-08-07 Thread Chinmaya Aggarwal
Can anyone please suggest what is going wrong here? -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#17160): https://lists.fd.io/g/vpp-dev/message/17160 Mute This Topic: https://lists.fd.io/mt/75986184/21656 Group Owner: vpp-dev+ow...@lists.fd.io

Re: [vpp-dev] queue drain warning on calling vapi_disconnect()

2020-08-04 Thread Chinmaya Aggarwal
Hi, We have implemented sending periodic control ping requests from our application. We are sending these control ping messages on every 20 seconds. We are not seeing the queue drain issue now. Is this the correct way to implement it? -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent

[vpp-dev] VPP getting hanged after consecutive VAPI requests

2020-08-04 Thread Chinmaya Aggarwal
Hi, While integrating VAPI in our application, we observed that after executing a certain number of consecutive VAPI requests, the VPP goes in a hanged state and we receive a SIGABRT signal in our application. For the first request to our application, we execute four VAPI requests (SR policy

[vpp-dev] queue drain warning on calling vapi_disconnect()

2020-07-30 Thread Chinmaya Aggarwal
Hi, We are integrating VAPI in our application. We created connection to vapi using  vapi_connect() and everything works fine for us. But during termination, when we call vapi_disconnect() we get the following warning in our logs multiple times :- vl_client_disconnect:323: queue drain: 21

[vpp-dev] Issue faced while deleting segment list in sr policy

2020-07-20 Thread Chinmaya Aggarwal
Hi, We are testing VAPI for sr policy. We added two sr policies :- Policy 1 bsid : 3d97:5fd3:fd2b:e77:a0:d358:c873:9a98 SID List at index 0 : 2001:19:a1::1,2001:19:a2::1,2001:19:a3::1 SID List at index 1 : 2001:19:b1::1,2001:19:b2::1,2001:19:b3::1 SID List at index 2 :

Re: [vpp-dev] VPP 20.05.1 tomorrow 15th July 2020

2020-07-14 Thread Chinmaya Aggarwal
Hi, Code for change id 27656 has been merged in master branch. This can be merged in stable/2005 Get Outlook for Android From: vpp-dev@lists.fd.io on behalf of Andrew Yourtchenko via lists.fd.io Sent: Tuesday, July 14, 2020 10:34:02 PM

[vpp-dev] Jenkins build failing for Change Id : 27872

2020-07-13 Thread Chinmaya Aggarwal
Hi, We have submitted a fix for an issue ( https://lists.fd.io/g/vpp-dev/topic/74894689#16747 )  for review (Change id : 27872). But our jenkins build is failing. We see following error in the log :- 17:13:10 ipsecmb ESN NONE/SHA1-96 IPSec test 17:13:10

[vpp-dev] Connecting PCI interface to VPP without VPP restart

2020-07-09 Thread Chinmaya Aggarwal
Hi, A general way to configure kernel interface in VPP is to whitelist that interface (using its PCI address), bringing down the interface and then restarting VPP. But, is there a way we can configure kernel interface in VPP at runtime (using some commands may be) without restarting VPP?

Re: [vpp-dev] VPP gerrit build failing on master branch

2020-07-07 Thread Chinmaya Aggarwal
Please find attached nasm.build.log, nasm.config.log and nasm.install.log. Thanks and Regards, Chinmaya Agarwal nasm.build.log Description: Binary data nasm.config.log Description: Binary data nasm.install.log Description: Binary data -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages

Re: [vpp-dev] VPP gerrit build failing on master branch

2020-07-07 Thread Chinmaya Aggarwal
Execution of " make install-ext-dep " is giving the same error : - root@ggnlabvm-hnsnfvsdn03:~/vpp# make install-ext-dep make -C build/external install-deb make[1]: Entering directory '/root/vpp/build/external' make[2]: Entering directory '/root/vpp/build/external' dpkg-buildpackage: info: source

[vpp-dev] VPP gerrit build failing on master branch

2020-07-07 Thread Chinmaya Aggarwal
Hi, I cloned the VPP gerrit repository on my Ubuntu 18 machine. Execution of "make install-dep" works fine but on executing "make build" , I am getting following error :- --- building ipsec-mb 0.53 - log: /root/vpp/build-root/build-vpp_debug-native/external/ipsec-mb.build.log make[4]:

[vpp-dev] VPP Gerrit Building failing on master branch

2020-07-07 Thread Chinmaya Aggarwal
Hi, I cloned the VPP gerrit repository on my Ubuntu 18 machine. Execution of "make install-dep" works fine but on executing "make build" , I am getting following error :- --- building ipsec-mb 0.53 - log: /root/vpp/build-root/build-vpp_debug-native/external/ipsec-mb.build.log make[4]:

[vpp-dev] Not able to install VPP 20.05 on Centos 8.1

2020-07-07 Thread Chinmaya Aggarwal
Hi, We are trying to install VPP on Centos 8.1. We encountered following issue :- 1. We couldn't find VPP release packages for distro/version el/8. So, we are unable to install it through "yum install ..". 2. We then tried to compile VPP v20.05. During compilation, we faced issue while running

Re: [vpp-dev] VPP C API application compilation issue on using S and W functions

2020-06-30 Thread Chinmaya Aggarwal
Hi Ole, As suggested by you, we are trying vapi for our SRv6 use case, we were able to generate sr.api.json for sr.api using src/tools/vppapigen/generate_json.py. We then generated sr.api.vapi.h using src/vpp-api/vapi/vapi_c_gen.py. On going through sr.api.vapi.h, we found a function

Re: [vpp-dev] Fetching SR Policy data using VPP C API

2020-06-30 Thread Chinmaya Aggarwal
Hi, We have submitted a new review request for this issue (Change Id : 27729). We have downgraded the API and declared it experimental. Kindly review the same. Thanks and Regards, Chinmaya Agarwal. -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online

Re: [vpp-dev] Fetching SR Policy data using VPP C API

2020-06-26 Thread Chinmaya Aggarwal
Hi, To reiterate what we have understood, if we downgrade the api and declare it experimental (by setting "option version = 0.0.1"), we need not add  "option status="in_progress" for the typedefs and messages we are modifying and we can simply use the original typedefs and messages and do the

Re: [vpp-dev] VPP C API application compilation issue on using S and W functions

2020-06-26 Thread Chinmaya Aggarwal
Hi Dave, We have our application (using VPP C API) running outside of VPP.  We linked vpp libs in our application ( vatplugin, vppinfra, vlibmemoryclient, svm, vppapiclient). Attaching file vpp_connect_test.c that creates connection with VPP and calls VPP C API to modify a sr policy. We have

Re: [vpp-dev] Fetching SR Policy data using VPP C API

2020-06-26 Thread Chinmaya Aggarwal
y foreach_vpe_api_msg macro to register the appropriate handler functions. Is this what we are suppose to do or is there some other way to cater the new in-progress message? Thanks and Regards, Chinmaya Agarwal. From: Andrew  Yourtchenko Sent: Thursday, June 25, 2020

Re: [vpp-dev] VPP C API application compilation issue on using S and W functions

2020-06-25 Thread Chinmaya Aggarwal
Ok, and how can we use S and W functions in our application to send request and wait for reply? -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#16818): https://lists.fd.io/g/vpp-dev/message/16818 Mute This Topic:

Re: [vpp-dev] VPP C API application compilation issue on using S and W functions

2020-06-25 Thread Chinmaya Aggarwal
I am following fd.io wiki link https://wiki.fd.io/view/VPP/How_To_Use_The_C_API It says so. Are we not suppose to link vlib? -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#16816): https://lists.fd.io/g/vpp-dev/message/16816 Mute This Topic:

[vpp-dev] VPP C API application compilation issue on using S and W functions

2020-06-25 Thread Chinmaya Aggarwal
Hi, We are testing VPP C API for our use case. We have a scenario where we want to wait for the reply of our API request. For this, we are trying to use S and W functions defined in src/vlibapi/vat_helper_macros.h. But we get the following error on compiling our source code : -

Re: [vpp-dev] Fetching SR Policy data using VPP C API

2020-06-25 Thread Chinmaya Aggarwal
Fix for this issue submitted for gerrit review (Change Id : 27668 ) -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#16813): https://lists.fd.io/g/vpp-dev/message/16813 Mute This Topic: https://lists.fd.io/mt/74894689/21656 Group Owner:

Re: [EXTERNAL] Re: [vpp-dev] VPP sequential policy command execution giving error

2020-06-25 Thread Chinmaya Aggarwal
Fix for this issue submitted for gerrit review (Change Id : 27656 ) -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#16812): https://lists.fd.io/g/vpp-dev/message/16812 Mute This Topic: https://lists.fd.io/mt/74477804/21656 Group Owner:

Re: [vpp-dev] Issue while pushing code for gerrit review

2020-06-24 Thread Chinmaya Aggarwal
Its working now, Thanks. -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#16808): https://lists.fd.io/g/vpp-dev/message/16808 Mute This Topic: https://lists.fd.io/mt/75076228/21656 Group Owner: vpp-dev+ow...@lists.fd.io Unsubscribe:

Re: [vpp-dev] Issue while pushing code for gerrit review

2020-06-24 Thread Chinmaya Aggarwal
Still not working for me. I executed git commit -s --amend -m 'Type: fix sr: fix for SID index across segment lists within a sr policy' But still git log shows commit a3c7df5131c9905a209cee017e80fdff6b5b2e6e (HEAD -> review/chinmaya_agarwal/fix/vpp_topic_74477804) Author: Chinmaya Agarwal

Re: [vpp-dev] Issue while pushing code for gerrit review

2020-06-24 Thread Chinmaya Aggarwal
After i commit my fix, i run the script ./extras/scripts/check_commit_msg.sh and it gives me error : - root@ggnlabvm-hnsnfvsdn03:~/vpp# ./extras/scripts/check_commit_msg.sh === ERROR === Unknown commit type '' in commit message body. Commit

[vpp-dev] Issue while pushing code for gerrit review

2020-06-23 Thread Chinmaya Aggarwal
Hi, I have raised an issue on VPP mailing list ( https://lists.fd.io/g/vpp-dev/topic/74894689 ). I have done the fix for this issue and want to submit the fix for gerrit review. I followed the steps described in

Re: [EXTERNAL] Re: [vpp-dev] VPP sequential policy command execution giving error

2020-06-17 Thread Chinmaya Aggarwal
Can anyone please suggest something for this? -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#16748): https://lists.fd.io/g/vpp-dev/message/16748 Mute This Topic: https://lists.fd.io/mt/74477804/21656 Group Owner: vpp-dev+ow...@lists.fd.io

Re: [vpp-dev] Fetching SR Policy data using VPP C API

2020-06-17 Thread Chinmaya Aggarwal
Can anyone please suggest something for this? -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#16747): https://lists.fd.io/g/vpp-dev/message/16747 Mute This Topic: https://lists.fd.io/mt/74894689/21656 Group Owner: vpp-dev+ow...@lists.fd.io

[vpp-dev] Fetching SR Policy data using VPP C API

2020-06-15 Thread Chinmaya Aggarwal
Hi, We have added sr policies in VPP using VPP C API. We now want to fetch these policy data similar to what we get in "show sr policies", using VPP C API. How can we fetch this data using VPP C API so that the segment list indices are similar to those in "show sr policies" command? Below is a

Re: [EXTERNAL] Re: [vpp-dev] VPP sequential policy command execution giving error

2020-06-15 Thread Chinmaya Aggarwal
Can anyone please help us out here? -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#16723): https://lists.fd.io/g/vpp-dev/message/16723 Mute This Topic: https://lists.fd.io/mt/74477804/21656 Group Owner: vpp-dev+ow...@lists.fd.io Unsubscribe:

Re: [EXTERNAL] Re: [vpp-dev] VPP sequential policy command execution giving error

2020-06-11 Thread Chinmaya Aggarwal
[Edited Message Follows] We also found one more issue while reading sr policies having multiple sid list using VPP C API. Suppose we have a sr policy having: - BSID : C1::999:3 SID List 1 : 2001:db8:1:c1::1, 2001:db8:1:c2::1 SID List 2 : 2001:db8:1:c3::1, 2001:db8:1:c4::1 While parsing SID

Re: [EXTERNAL] Re: [vpp-dev] VPP sequential policy command execution giving error

2020-06-11 Thread Chinmaya Aggarwal
[Edited Message Follows] We also found one more issue while reading sr policies having multiple sid list using VPP C API. Suppose we have a sr policy having: - BSID : C1::999:3 SID List 1 : 2001:db8:1:c1::1, 2001:db8:1:c2::1 SID List 2 : 2001:db8:1:c3::1, 2001:db8:1:c4::1 While parsing SID

Re: [EXTERNAL] Re: [vpp-dev] VPP sequential policy command execution giving error

2020-06-11 Thread Chinmaya Aggarwal
We also found one more issue while reading sr policies having multiple sid list using VPP C API. Suppose we have a sr policy having: - BSID : C1::999:3 SID List 1 : 2001:db8:1:c1::1, 2001:db8:1:c2::1 SID List 2 : 2001:db8:1:c3::1, 2001:db8:1:c4::1 While parsing SID List 1, we get

Re: [EXTERNAL] Re: [vpp-dev] VPP sequential policy command execution giving error

2020-06-11 Thread Chinmaya Aggarwal
We have been following this approach. But, we got doubtful of this approach because we found few API level difference between VPP v20.01 and VPP v20.05. We have raised our concern yesterday in a separate post

[vpp-dev] VPP C API difference between VPP v20.05 and v 20.01

2020-06-10 Thread Chinmaya Aggarwal
We are trying to use VPP C API in our C application to call VPP functionality in our system. Our system has different sub systems running different VPP versions. We want to have single C application interacting with different versions of VPP. We started with reading SRv6 policy and steering

  1   2   >