From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-ea0-x230.google.com (mail-ea0-x230.google.com [IPv6:2a00:1450:4013:c01::230]) by dpdk.org (Postfix) with ESMTP id EF590594F for ; Mon, 17 Feb 2014 13:27:42 +0100 (CET) Received: by mail-ea0-f176.google.com with SMTP id b10so3098956eae.7 for ; Mon, 17 Feb 2014 04:29:07 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=u8FtQIfpOugaBkkcWm1xVeDn1bSYCoCfFlola7kq/IY=; b=jTua0rYx3HqwG9ibk33f2Oi6JNmlztSoHHHYv07AtytaZ6bSNnOgbEM83z4WPu2jfP 4iGgJKOZKcvq0iRmYIpeIvPkNzWR/0J/8UUcPZfiPNejbIuYx1vb/Usa6eoZdouh73Qb yeIagfYYIqNTeNYfAKQk99e9EtXrhhfqu+j+PsJeesR2Y5aaJJpTKBW+9K4IG9etXTnS m5IXTIUV/vYJMMLI2Axr98N3LjdVLqgnZVXROZ70/glaWcg54ikOfbq79xM1yLiqSknN hNoJwgC0EM/vB+cAu7hwDTHwjc7OT7BHZUVMproJz8cyKY2rHb4W1kao9npVWXgdPfOQ Pudw== MIME-Version: 1.0 X-Received: by 10.15.49.65 with SMTP id i41mr844211eew.98.1392640146936; Mon, 17 Feb 2014 04:29:06 -0800 (PST) Received: by 10.14.147.5 with HTTP; Mon, 17 Feb 2014 04:29:06 -0800 (PST) In-Reply-To: References: Date: Mon, 17 Feb 2014 13:29:06 +0100 Message-ID: From: Mats Liljegren To: "Burakov, Anatoly" Content-Type: text/plain; charset=UTF-8 Cc: "dev@dpdk.org" Subject: Re: [dpdk-dev] How to debug packet sends to virtual functions X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 17 Feb 2014 12:27:43 -0000 Hi Anatoly, >> The guest starts with loading the igbvf kernel driver, uses ifconfig up, >> then loads and binds to igb_uio. After that, DPDK works. If I skip any step >> here it doesn't work. Skipping "ifconfig" step resulted in packets being >> received but I couldn't send them, they just got queued up but was never >> sent. >> > > Hm, never seen this before. Apologies if you have already mentioned this, but what NIC are you using? I'll see if I can replicate your issues. Not sure if I've mentioned it, but it is a quad I350. Port 0 and 3 on host only, and 1 and 2 are being used by DPDK in a guest. The challenge was to make a ping go from port 0 to 3 and back, via a somewhat modified DPDK l2fwd example. Port 1 and 2 had two virtual functions each, and each such pair was given to an instance of this l2fwd example. >> It's the latter, i.e. two primary processes running DPDK on the same VM but >> different VF devices. The VF devices belongs to the same physical devices >> though. > > I'll try that as well. If you need more help with how we set things up, I'll be happy to help you. Regards Mats Liljegren