Re: [vpp-dev] "tx frame not ready " error in host-vpp1out tx

2022-11-21 Thread Mohsin Kazmi via lists.fd.io
Hi Guangming, What is the VPP version are you using? -br Mohsin From: on behalf of Guangming Reply-To: "vpp-dev@lists.fd.io" Date: Tuesday, November 8, 2022 at 8:01 AM To: "Mohsin Kazmi (sykazmi)" , vpp-dev Subject: [vpp-dev] "tx frame not ready " error in host-vpp1out tx Hi,Mohsin I used

Re: [vpp-dev] Memif performance

2022-11-21 Thread Mohsin Kazmi via lists.fd.io
Hi Praveen, Are you using libmemif for C++ application? Can you share the performance numbers? -br Mohsin From: on behalf of praveen Reply-To: "vpp-dev@lists.fd.io" Date: Saturday, November 19, 2022 at 1:43 PM To: "vpp-dev@lists.fd.io" Subject: Re: [vpp-dev] Memif performance Team, Can any

Re: [vpp-dev] Throughput of VPP on KVM is Significantly Worse than Linux Kernel

2022-10-20 Thread Mohsin Kazmi via lists.fd.io
Linux kernel. Does it suggest that the virtio driver in dpdk has some issues? Regards, Xiaodong On Wed, Oct 12, 2022 at 3:40 AM Mohsin Kazmi via lists.fd.io<http://lists.fd.io> mailto:cisco@lists.fd.io>> wrote: Hi, You can use VPP native virtio driver in VM. ./dpdk-devbind.py -b

Re: [vpp-dev] Throughput of VPP on KVM is Significantly Worse than Linux Kernel

2022-10-12 Thread Mohsin Kazmi via lists.fd.io
Hi, You can use VPP native virtio driver in VM. ./dpdk-devbind.py -b vfio-pci 00:03.0 00:04.0 cd /home/vpp set loggin class pci level debug set loggin class virtio level debug create int virtio :00:03.0 gso-enabled create int virtio :00:04.0 gso-enabled https://s3-docs.fd.io/vpp

Re: [vpp-dev] VPP crashs when using tap interfaces.

2022-08-05 Thread Mohsin Kazmi via lists.fd.io
Hello, We are not supporting VPP 21.01. Please try with 22.06 or VPP master. Please run vpp in debug mode and share the backtrace if you still hit with the problem. BTW -br Mohsin From: on behalf of Khaled Salhi Reply-To: "vpp-dev@lists.fd.io" Date: Friday, August 5, 2022 at 9:16 AM To: "vp

Re: [vpp-dev] CPU usage for vpp

2022-07-20 Thread Mohsin Kazmi via lists.fd.io
Hi Xiaodong, What is the output of show int rx-placement -br Mohsin From: on behalf of Xiaodong Xu Reply-To: "vpp-dev@lists.fd.io" Date: Wednesday, July 20, 2022 at 8:44 PM To: "vpp-dev@lists.fd.io" Subject: [vpp-dev] CPU usage for vpp Hi, When I start vpp, the CPU usage will be close to 1

Re: [vpp-dev] Fastest way to connect application in user space to VPP #vpp

2022-04-08 Thread Mohsin Kazmi via lists.fd.io
No errors in VPP. You need to debug your environment to trace where the packets are being dropped or stuck. From: on behalf of "long...@gmail.com" Date: Friday, April 8, 2022 at 2:34 AM To: "vpp-dev@lists.fd.io" Subject: Re: [vpp-dev] Fastest way to connect application in user space to VPP #v

Re: [vpp-dev] Fastest way to connect application in user space to VPP #vpp

2022-04-07 Thread Mohsin Kazmi via lists.fd.io
Please check error counters in VPP sh errors Please trace the packet using tcpdump on the server side too, if packets are being dropped in Linux. -br Mohsin From: on behalf of "long...@gmail.com" Date: Thursday, April 7, 2022 at 3:08 PM To: "vpp-dev@lists.fd.io" Subject: Re: [vpp-dev] Fastest

Re: [vpp-dev] Fastest way to connect application in user space to VPP #vpp

2022-04-07 Thread Mohsin Kazmi via lists.fd.io
Hi, The trace looks good to me. Please use tcpdump to trace on Linux side to see what is happening. Please also check for error counters on Linux side. -br Mohsin From: on behalf of "long...@gmail.com" Date: Thursday, April 7, 2022 at 2:57 AM To: "vpp-dev@lists.fd.io" Subject: Re: [vpp-dev]

Re: [vpp-dev] Fastest way to connect application in user space to VPP #vpp

2022-04-06 Thread Mohsin Kazmi via lists.fd.io
You can check VPP error counters using: sh errors You can also trace the packet within VPP: Please add ‘trace add virtio-input 10’ before pinging through tap interface. Once you ping the desired IP address, please do ‘sh trace’. -br Mohsin From: on behalf of "long...@gmail.com" Date: Wednesday

Re: [vpp-dev] Fastest way to connect application in user space to VPP #vpp

2022-03-31 Thread Mohsin Kazmi via lists.fd.io
virtio device is using Linux Kernel driver “virtio-pci”. You need to rebind it to ‘vfio-pci’ be able to use it in user-space. There is a rebinding script in vpp: https://git.fd.io/vpp/tree/extras/scripts/pci-nic-bind -br mohsin From: on behalf of "long...@gmail.com" Date: Thursday, March 31,

Re: [vpp-dev] Fastest way to connect application in user space to VPP #vpp

2022-03-31 Thread Mohsin Kazmi via lists.fd.io
-enabled From: on behalf of "Mohsin Kazmi via lists.fd.io" Reply-To: "Mohsin Kazmi (sykazmi)" Date: Thursday, March 31, 2022 at 4:54 PM To: "long...@gmail.com" , "vpp-dev@lists.fd.io" Subject: Re: [vpp-dev] Fastest way to connect application in user spac

Re: [vpp-dev] Fastest way to connect application in user space to VPP #vpp

2022-03-31 Thread Mohsin Kazmi via lists.fd.io
Please add following to dpdk stanza in startup.conf “DPDK { dev :00:08.0 { tso on } enable-tcp-udp-checksum }” Or else try VPP native virtio without using dpdk: create int virtio :00:08.0 From: on behalf of "long...@gmail.com" Date: Thursday, March 31, 2022 at 4:40 PM To: "vpp-dev

Re: [vpp-dev] Fastest way to connect application in user space to VPP #vpp

2022-03-31 Thread Mohsin Kazmi via lists.fd.io
Hello, Can you please share the numbers you are getting? And also please share the output of: sh hardware sh tap sh threads sh cpu -br Mohsin From: on behalf of "long...@gmail.com" Date: Thursday, March 31, 2022 at 10:20 AM To: "vpp-dev@lists.fd.io" Subject: Re: [vpp-dev] Fastest way to conn

Re: [vpp-dev] Information of drop counters on "show interface"

2021-11-25 Thread Mohsin Kazmi via lists.fd.io
From: Akash S R Date: Thursday, November 25, 2021 at 12:21 PM To: "Mohsin Kazmi (sykazmi)" Cc: vpp-dev Subject: Re: [vpp-dev] Information of drop counters on "show interface" Hey, “Show errors” will give you information about drops if interface is down. I am unable to understand w.r.t. poli

Re: [vpp-dev] Information of drop counters on "show interface"

2021-11-24 Thread Mohsin Kazmi via lists.fd.io
Hello, Mostly drop errors are reported in per node counters. You can use CLI command “show errors” -br Mohsin From: on behalf of Akash S R Date: Wednesday, November 24, 2021 at 12:29 PM To: vpp-dev Subject: [vpp-dev] Information of drop counters on "show interface" Hello, I need to underst

Re: [vpp-dev] Please include Fixes: tag for regression fix

2021-11-02 Thread Mohsin Kazmi via lists.fd.io
We can also add fixline to git to get the formatted output i.e. vpp$ git fixline 3effb4e6 Fixes: 3effb4e63068 ("memif: integrate with new tx infra") One can add the following to .gitconfig file: fixline = log -1 --abbrev=12 --format='Fixes: %h (\"%s\")' -br Mohsin From: on behalf of "Damjan

Re: [vpp-dev] VPP binary API to make interface state up

2021-11-02 Thread Mohsin Kazmi via lists.fd.io
You are setting the “mp->flags = 0;” as (IF_STATUS_API_FLAG_LINK_UP & IF_STATUS_API_FLAG_ADMIN_UP == 0) To ‘UP’ the interface: u32 flags = IF_STATUS_API_FLAG_ADMIN_UP; mp->flags = clib_host_to_net_u32 (flags); To ‘DOWN’ the interface: u32 flags = 0; mp->flags = clib_host_to_net_u32 (flags

Re: [vpp-dev] VPP adding extra payload of 0's to packet in some node

2021-10-19 Thread Mohsin Kazmi via lists.fd.io
Hi Akash, Please provide the information about the interface(s) you are using either with vpp native driver or with dpdk? And ‘show trace’ will help here. -br Mohsin From: on behalf of Akash S R Date: Tuesday, October 19, 2021 at 11:03 AM To: Pim van Pelt Cc: vpp-dev , Ole Troan , Dave Bara

Re: [vpp-dev] Additional Payload of 18 bytes (0's) added to packet by VPP/Interface

2021-10-14 Thread Mohsin Kazmi via lists.fd.io
Actual packet data (46 bytes) is less than 64 bytes. NIC appends ‘00’ to make it 64 bytes packet. From: on behalf of Akash S R Date: Thursday, October 14, 2021 at 10:49 AM To: vpp-dev , Ole Troan , "Benoit Ganne (bganne)" Subject: [vpp-dev] Additional Payload of 18 bytes (0's) added to packet

Re: [vpp-dev] patch: fix cxq_vring field in virtio (affects taps)

2021-09-22 Thread Mohsin Kazmi via lists.fd.io
Hi Ivan, Thank you so much for reporting the issue. cxq_vring field is specific to virtio pci. It should not be accessed or set in tap driver. Please find the proper fix here: 1. https://gerrit.fd.io/r/c/vpp/+/33798/1 2. https://gerrit.fd.io/r/c/vpp/+/33796/3 -br Mohsin From: on behalf

Re: [vpp-dev] IPv6 in IPv6 Encapsulation

2021-05-26 Thread Mohsin Kazmi via lists.fd.io
Hello Jerome, You can disable checksum offload on veth pair in Linux. sudo ethtool -K veth0 tx off sudo ethtool -K veth0 rx off But it will not resolve the actual issue if an interface being used in future has enabled offloads. You need to compute the checksums in your custom node before en

Re: [vpp-dev] hw_address of vnet_hw_interface_t

2021-04-02 Thread Mohsin Kazmi via lists.fd.io
Hi, It is the responsibility of the interface drivers to allocate the hw_address i.e.: error = ethernet_register_interface (vnm, virtio_device_class.index, vif->dev_instance, vif->mac_addr, &vif->hw_if_index,

Re: [vpp-dev] Low network performance and network connectivity issues with host-interface #vnet

2020-07-08 Thread Mohsin Kazmi via lists.fd.io
Hello, eth0 is bind with guest OS i.e. Linux driver. Secondly, AF_PACKET is not quite performant when compared with other alternatives. You can completely avoid AF_PACKET to directly attach eth0 to VPP. You can achieve it either using vpp native virtio driver (if eth0 is virtio interface) or dp

Re: [vpp-dev] vpp crashes when running "ip punt redirect rx via "

2020-07-02 Thread Mohsin Kazmi via lists.fd.io
Hi Chuan, Please find the following fix for it. https://gerrit.fd.io/r/c/vpp/+/27760 It seems that order is issue. -br Mohsin From: on behalf of "Chuan Han via lists.fd.io" Reply-To: "chuan...@google.com" Date: Thursday, July 2, 2020 at 12:57 AM To: vpp-dev Subject: [vpp-dev] vpp crashes

Re: [vpp-dev] generic TCP MSS clamping

2020-05-28 Thread Mohsin Kazmi via lists.fd.io
Hi Miklos, May be, it will help https://gerrit.fd.io/r/c/vpp/+/15144 -br Mohsin From: on behalf of Ole Troan Date: Thursday, May 28, 2020 at 11:23 AM To: Miklos Tirpak Cc: "vpp-dev@lists.fd.io" Subject: Re: [vpp-dev] generic TCP MSS clamping Hi Miklos, > I see the NAT plugin already support

Re: [vpp-dev] vnet_gso_header_offset_parser error if vlib_buffer_t without ethernet_header_t

2020-01-20 Thread Mohsin Kazmi via Lists.Fd.Io
In case of point-to-point, you can set the checksum offload flag VNET_HW_INTERFACE_FLAG_SUPPORTS_TX_L4_CKSUM_OFFLOAD when you create demo interface. And need to calculate ip4_hdr_checksum in your tx node (ethernet_demo_device_class) if packet comes with VNET_BUFFER_F_OFFLOAD_IP_CKSUM set.

Re: [vpp-dev] vnet_gso_header_offset_parser error if vlib_buffer_t without ethernet_header_t

2020-01-15 Thread Mohsin Kazmi via Lists.Fd.Io
Hello, Can you please provide details about your setup, configuration, traffic flow and interfaces you are using? -br Mohsin From: on behalf of "jiangxiaom...@outlook.com" Date: Wednesday, January 15, 2020 at 3:01 AM To: "vpp-dev@lists.fd.io" Subject: [vpp-dev] vnet_gso_header_offset_parser

Re: [vpp-dev] VOM packaging for sweetcomb

2019-07-11 Thread Mohsin Kazmi via Lists.Fd.Io
Hi Yohan, You just need to add it for Debian in CI for package cloud. There is no change for RPMs. -br Mohsin On 7/10/19, 5:25 PM, "vpp-dev@lists.fd.io on behalf of Yohan Pipereau (ypiperea) via Lists.Fd.Io" wrote: Hi, I am working for sweetcomb project and as discussed during

Re: [vpp-dev] [sweetcomb-dev] cannot find vom library

2019-02-11 Thread Mohsin Kazmi via Lists.Fd.Io
Hi, Does this fix your issue? https://gerrit.fd.io/r/#/c/17459/? -br, Mohsin From: vpp-dev@lists.fd.io on behalf of Wang, Drenfong Sent: Monday, February 11, 2019 8:08 AM To: sweetcomb-...@lists.fd.io; vpp-dev@lists.fd.io; d...@barachs.net; Damjan Marion

Re: [vpp-dev] Connecting Cellular modem (wwan) interface to VPP

2019-01-31 Thread Mohsin Kazmi via Lists.Fd.Io
?On second PC (which is directly connected to VPP), you also need to create a tap interface in VPP which will be an interface to linux host and configure the addresses and you are good to go. From: vpp-dev@lists.fd.io on behalf of amir...@rad.com Sent: Thursd

Re: [vpp-dev] multi-queue tap interface #vpp

2019-01-29 Thread Mohsin Kazmi via Lists.Fd.Io
?Current implementation of tap doesn't support multi-queue. But it should not be hard to implement multi-queue support for tap driver. You are welcome to contribute. From: vpp-dev@lists.fd.io on behalf of Ranadip Das Sent: Tuesday, January 29, 2019 1:57 AM To