[vpp-dev] vlib_main() taking maximum cycle in v1804 release

2018-04-26 Thread Saxena, Nitin
Hi, While running L3 Fwd test case with VPP v1804 release (released yesterday), perf tool shows vlib_main() taking maximum cycles. This has been observed on Aarch64 (Both on Marvell’s Macchiatobin and Cavium’s ThunderX products) and Broadwell machine as well. Perf top from Broadwell machine ===

Re: [vpp-dev] dpdk_lib_init: Why hi->max_packet_bytes passed to rte_eth_dev_set_mtu()

2018-01-24 Thread Saxena, Nitin
Hi, Can somebody provide input to my query? Thanks, Nitin On 23-Jan-2018, at 23:53, Saxena, Nitin mailto:nitin.sax...@cavium.com>> wrote: Hi, I am running VPP on Cavium’s OCTEONTx processor which is using VNET_DPDK_PMD_THUNDERX driver in dpdk. I am running into failure b

[vpp-dev] dpdk_lib_init: Why hi->max_packet_bytes passed to rte_eth_dev_set_mtu()

2018-01-23 Thread Saxena, Nitin
Hi, I am running VPP on Cavium’s OCTEONTx processor which is using VNET_DPDK_PMD_THUNDERX driver in dpdk. I am running into failure because dpdk_lib_init() and dpdk_device_setup() functions are calling rte_eth_dev_set_mtu() with argument hi->max_packet_bytes. 1 Line no:112 src/plugins/dp

Re: [vpp-dev] Re-verify a Commit?

2018-01-23 Thread Saxena, Nitin
Hi Jon, Press reply button and post a review comment of: recheck Thanks, Nitin > On 23-Jan-2018, at 10:29 PM, Jon Loeliger wrote: > > Hey vpp-dev-iants, > > How do I kick-off a re-verify request after a patch fails > to verify properly. It is the mystery "unknown failure", > so we just need t

[vpp-dev] gerrit 9904 VIRL verification is failing

2017-12-27 Thread Saxena, Nitin
Hi, I sent a patch (https://gerrit.fd.io/r/#/c/9904/) for review in which "vpp-csit-verify-virl-master" job is failing. Console logs (https://logs.fd.io/production/vex-yul-rot-jenkins-1/vpp-csit-verify-virl-master/8798/console.log.gz) shows following error. call_home\nF

Re: [vpp-dev] How to enable RSS in VPP

2017-11-29 Thread Saxena, Nitin
No I was not because I was testing VPP bridging. After enabling more flows I could see multiple queues receiving traffic. Thanks Dave. -Nitin From: Dave Barach (dbarach) Sent: Tuesday, November 28, 2017 10:21 PM To: Saxena, Nitin; vpp-dev@lists.fd.io Cc

[vpp-dev] How to enable RSS in VPP

2017-11-28 Thread Saxena, Nitin
HI, I am using ConnectX-4 NIC which has Rx RSS support however I can see VPP is not using RSS feature with this NIC. NIC is getting traffic from 1 queue only? Is this can be fixed in VPP? If yes how? Output from show hardware detail == UnknownEt

Re: [vpp-dev] 50GE interface support on VPP

2017-11-01 Thread Saxena, Nitin
Thanks for the info Daniel. -Nitin From: Bernier, Daniel Sent: Wednesday, November 1, 2017 6:58 PM To: Saxena, Nitin; Damjan Marion (damarion) Cc: vpp-dev@lists.fd.io Subject: Re: [vpp-dev] 50GE interface support on VPP Hi, I have had the same issue and

Re: [vpp-dev] 50GE interface support on VPP

2017-11-01 Thread Saxena, Nitin
I havent ran testpmd but with VPP I am able to switch traffic between two ports. Both ports in VPP bridge. Seems fine right -Nitin From: Damjan Marion (damarion) Sent: Wednesday, November 1, 2017 5:50:57 PM To: Saxena, Nitin Cc: Bernier, Daniel; vpp-dev

Re: [vpp-dev] 50GE interface support on VPP

2017-11-01 Thread Saxena, Nitin
) Sent: Wednesday, November 1, 2017 5:39:24 PM To: Saxena, Nitin Cc: Bernier, Daniel; vpp-dev@lists.fd.io Subject: Re: [vpp-dev] 50GE interface support on VPP mlx5 dpdk driver is telling us that speed_capa = 0, so no much love here. You should get at least ETH_LINK_SPEED_50G bit set by dpdk driver

Re: [vpp-dev] 50GE interface support on VPP

2017-11-01 Thread Saxena, Nitin
n ________ From: Damjan Marion (damarion) Sent: Wednesday, November 1, 2017 5:17 PM To: Saxena, Nitin Cc: Bernier, Daniel; vpp-dev@lists.fd.io Subject: Re: [vpp-dev] 50GE interface support on VPP Can you put breakpoint to port_type_from_speed_capa and catpture dev_info. I

Re: [vpp-dev] 50GE interface support on VPP

2017-11-01 Thread Saxena, Nitin
GT/s x4 igb Just Fyi I am running VPP on aarch64. Thanks, Nitin From: Damjan Marion (damarion) Sent: Wednesday, November 1, 2017 3:09 PM To: Saxena, Nitin Cc: Bernier, Daniel; vpp-dev@lists.fd.io Subject: Re: [vpp-dev] 50GE interface support on VPP Can you

Re: [vpp-dev] 50GE interface support on VPP

2017-10-30 Thread Saxena, Nitin
Hi Damjan, I am still seeing UnkownEthernet32/0/0/0 interface with Mellanox Connect X-4 NIC. I am using vpp v17.10 tag. I think the specified gerrit patch in following mail is part of v17.10 release. Attached logs. Thanks, Nitin From: vpp-dev-boun...@lists

[vpp-dev] [v1710-rc2][aarch64] dpdk/dpdk-17.08/buildtools/auto-config-h.sh getting incorrect $(CC)

2017-10-13 Thread Saxena, Nitin
Hi All, I was trying to get mellanox NIC ConnectX-4 working with VPP on Cavium's aarch64 SoC. After applying patch https://gerrit.fd.io/r/#/c/8390/ on top of v1710-rc2 and with some local changes I am able to compile VPP successfully. One of the compilation issue I faced was with dpdk/dpdk-17

Re: [vpp-dev] [vpp-v17.10] L2 forwarding errors in vhost-user configuration

2017-10-04 Thread Saxena, Nitin
Thanks for the clarification Damjan -Nitin From: Damjan Marion Sent: Wednesday, October 4, 2017 3:37 PM To: Saxena, Nitin Cc: vpp-dev@lists.fd.io; Steven Luong (sluong); Athreya, Narayana Prasad Subject: Re: [vpp-dev] [vpp-v17.10] L2 forwarding errors in vhost

Re: [vpp-dev] [v17.07.01]: vec_add2() causing crash on ARMv8

2017-10-03 Thread Saxena, Nitin
Thanks Brian. I switched to v1710. From: Brian Brooks Sent: Monday, October 2, 2017 11:08 PM To: Saxena, Nitin Cc: Dave Barach (dbarach); Narayana, Prasad Athreya; Damjan Marion (damarion); vpp-dev@lists.fd.io Subject: Re: [vpp-dev] [v17.07.01]: vec_add2

[vpp-dev] [vpp-v17.10] L2 forwarding errors in vhost-user configuration

2017-10-03 Thread Saxena, Nitin
Hi, While running ping between VM1 to VM2 on aarch64, configured using vhost-user interface, I am seeing following L2 errors in VPP v1710 for each ICMP packet sent DBGvpp# show err CountNode Reason 1096

Re: [vpp-dev] [vhost-user][armv8][v17.07.01] VM ping not working properly

2017-10-03 Thread Saxena, Nitin
behalf of Saxena, Nitin Sent: Monday, October 2, 2017 9:51 PM To: Steven Luong (sluong) Cc: Narayana, Prasad Athreya; vpp-dev@lists.fd.io Subject: Re: [vpp-dev] [vhost-user][armv8][v17.07.01] VM ping not working properly Hi Steven, Thanks for your help. I can understand your restrictions. Btw I am

Re: [vpp-dev] [vhost-user][armv8][v17.07.01] VM ping not working properly

2017-10-02 Thread Saxena, Nitin
Hi Steven, Thanks for your help. I can understand your restrictions. Btw I am trying to use ubuntu cloud image with VPP. Will let you know the result. Thanks, Nitin From: Steven Luong (sluong) Sent: Saturday, September 30, 2017 7:28 AM To: Saxena, Nitin Cc

Re: [vpp-dev] [v17.07.01]: vec_add2() causing crash on ARMv8

2017-10-02 Thread Saxena, Nitin
2017 2:24 AM To: Brian Brooks Cc: Narayana, Prasad Athreya; Damjan Marion (damarion); vpp-dev@lists.fd.io; Saxena, Nitin Subject: Re: [vpp-dev] [v17.07.01]: vec_add2() causing crash on ARMv8 As a quick hack: try moving "u32 interrupt_pending;" to the start of the structure

Re: [vpp-dev] [vhost-user][armv8][v17.07.01] VM ping not working properly

2017-09-28 Thread Saxena, Nitin
L2 input packets 17l2-floodL2 flood packets DBGvpp# Steven From: "Saxena, Nitin" mailto:nitin.sax...@cavium.com>> Date: Thursday, September 28, 2017 at 5:44 PM To: "Steven Luong (sluong)" mailto:slu...@cis

Re: [vpp-dev] [vhost-user][armv8][v17.07.01] VM ping not working properly

2017-09-28 Thread Saxena, Nitin
d 10 packets in trace. Thanks, Nitin From: vpp-dev-boun...@lists.fd.io<mailto:vpp-dev-boun...@lists.fd.io> mailto:vpp-dev-boun...@lists.fd.io>> on behalf of Saxena, Nitin mailto:nitin.sax...@cavium.com>> Sent: Thursday, September 28, 2017 9:32

Re: [vpp-dev] [vhost-user][armv8][v17.07.01] VM ping not working properly

2017-09-28 Thread Saxena, Nitin
Hi Steven, Please find attached tarball having valid output for show vhost. This time I did ping 11.0.0.2 -c 10 and captured 10 packets in trace. Thanks, Nitin From: vpp-dev-boun...@lists.fd.io on behalf of Saxena, Nitin Sent: Thursday, September 28, 2017

Re: [vpp-dev] [vhost-user][armv8][v17.07.01] VM ping not working properly

2017-09-28 Thread Saxena, Nitin
got it running and pings went through on ThunderX last week with ipv4. I’ll try ipv6 later today to see if the problem is specific to ipv6. Steven From: "Saxena, Nitin" mailto:nitin.sax...@cavium.com>> Date: Thursday, September 28, 2017 at 1:23 AM To: "vpp-dev@lists.fd.io

[vpp-dev] [v17.07.01]: vec_add2() causing crash on ARMv8

2017-09-28 Thread Saxena, Nitin
Hi All, I got a crash with vpp v17.07.01 on ARMv8 Soc @src/vnet/devices/virtio/vhost-user.c: Line no: 1852 if (clib_smp_swap (&dq->interrupt_pending, 0) || (node->state == VLIB_NODE_STATE_POLLING)){ } While debugging it turns out that value of (&dq->interrupt_pending) was not 8 byte alig

Re: [vpp-dev] [vhost-user][armv8][v17.07.01] VM ping not working properly

2017-09-28 Thread Saxena, Nitin
Hi All, I am running vhost-user on aarch64 SoC using vpp v17.07.01. I am running 4.12.9 kernel (ubuntu-16.04) both on host and VM. I am able to launch VM's successfully but my ping between two VM's does not work. In show error output I can see L2 forwarding errors in VPP. Attached tarball con

Re: [vpp-dev] [vhost-user][armv8][v1704]: VPP crashes while giving IP to VM interface

2017-09-21 Thread Saxena, Nitin
...@arm.com>> wrote: Try with CLIB_LOG2_CACHE_LINE_BYTES=6? vlib_get_buffer_index() has changed since v1704. Are you able to try the tip of tree? From: vpp-dev-boun...@lists.fd.io<mailto:vpp-dev-boun...@lists.fd.io> [mailto:vpp-dev-boun...@lists.fd.io] On Behalf Of Saxena, Nitin Sen

Re: [vpp-dev] [vhost-user][armv8][v1704]: VPP crashes while giving IP to VM interface

2017-09-20 Thread Saxena, Nitin
address to interface inside VM1 and each time VPP host process crashes. Attached crash dump with debug binaries. I have attached crash dumps with release binaries in earlier mail. Any pointer will be helpful. Thanks, Nitin On 15-Sep-2017, at 7:33 PM, Saxena, Nitin mailto:nitin.sax...@cavium.com

[vpp-dev] [vhost-user][armv8][v1704]: VPP crashes while giving IP to VM interface

2017-09-15 Thread Saxena, Nitin
Hi All, I am trying vhost-user configuration on Cavium's aarch64 SoC using VPP v1704. I mainly followed steps provided at following https://wiki.fd.io/view/VPP/Use_VPP_to_connect_VMs_Using_Vhost-User_Interface I am able to launch two VM's using qemu-system-aarch64. The host and guest kernel

Re: [vpp-dev] vhost-user stable implementation?: VPP native or DPDK

2017-09-15 Thread Saxena, Nitin
Hi, I am more interested in DPDK vhost performance numbers. I am able to get VPP vhost native numbers from CSIT Thanks, Nitin From: vpp-dev-boun...@lists.fd.io on behalf of Saxena, Nitin Sent: Friday, September 15, 2017 2:10 PM To: Steven Luong (sluong

Re: [vpp-dev] vhost-user stable implementation?: VPP native or DPDK

2017-09-15 Thread Saxena, Nitin
. Do we have benchmark numbers for both: VPP vhost-user and DPDK vhost? Thanks, Nitin From: Steven Luong (sluong) Sent: Monday, September 11, 2017 7:46 PM To: Guo, Ruijing; Saxena, Nitin; vpp-dev@lists.fd.io Subject: Re: [vpp-dev] vhost-user stable implementation

[vpp-dev] vhost-user stable implementation?: VPP native or DPDK

2017-09-10 Thread Saxena, Nitin
Hi All I went through following video regarding vhost-user. https://www.youtube.com/watch?v=z-ZRof2hDP0 The question is in this video it has been told by default VPP implementation of vhost-user being used and not the dpdk one. Since this video is 1 yr old and I am using vpp version 1704. Can

Re: [vpp-dev] Native feature support in VPP without dpdk

2017-01-25 Thread Saxena, Nitin
work on adding native VFIO. I will come back again on this in couple of days with full plan. Regards, Nitin On 25-Jan-2017, at 20:16, Damjan Marion mailto:dmarion.li...@gmail.com>> wrote: Hi, On 25 Jan 2017, at 06:14, Saxena, Nitin mailto:nitin.sax...@cavium.com>> wrote: Hi VPP de

[vpp-dev] Native feature support in VPP without dpdk

2017-01-25 Thread Saxena, Nitin
Hi VPP developers, I am new to VPP and we want to add support of some Cavium NICs/non-NICs in VPP. Our existing custom user space PF driver has VFIO NO IOMMU support to get MSIX interrupts from device. It seems VFIO support in VPP can be used via dpdk only. So my question 1) Is there any plan