From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-ea0-x232.google.com (mail-ea0-x232.google.com [IPv6:2a00:1450:4013:c01::232]) by dpdk.org (Postfix) with ESMTP id 6596E5948 for ; Mon, 17 Feb 2014 12:04:01 +0100 (CET) Received: by mail-ea0-f178.google.com with SMTP id a15so7041337eae.23 for ; Mon, 17 Feb 2014 03:05:25 -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=vXbNe3UMHZnrIjJQh+S2CBQbFU2rTDFcRDfFWYlY99o=; b=C6RToPIg4S7Bt0OpUCuWCWlSYncLwFBuynjoDc8SRV05j5EafNdz75GNzbcWdz6fjm jDKmaxUNa4tGhRGgLpJntmC7Uw2FRzPeW4neMIRGwveFeYdh7rzKsXS8cdMGwZrJQTeo gb+o2KiC0sL623rivDNWDKZMucxDBwV3R3HLZfdy2nBBj5qovSWHb8MElK4gCxwavtbY dbFNWD8KXCdwGP9M+cjcf552A0uRpjtTWY8txRuHE8AlzvgW6RkdJnG9sWRyPZZrumSo cCCJFGTEJji4eJJaeOaz5qnbWu6oR7+TqfHmwzzouQ1yaJZ3vmWC1sI1DXqWN627zoie +W0g== MIME-Version: 1.0 X-Received: by 10.14.8.7 with SMTP id 7mr2023348eeq.56.1392635125201; Mon, 17 Feb 2014 03:05:25 -0800 (PST) Received: by 10.14.147.5 with HTTP; Mon, 17 Feb 2014 03:05:25 -0800 (PST) In-Reply-To: References: Date: Mon, 17 Feb 2014 12:05:25 +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 11:04:01 -0000 >> I finally got things working. I apparently missed an "ifconfig up" in the >> guest, before starting dpdk. I'm still confused why this would be needed. Is >> dpdk unable to do a full initialization of the virtual function from the guest? >> > You wouldn't be able to call ifconfig on your VF device if you have bound your guest VF device to igb_uio driver. Have you bound your VF device to igb_uio? Or you have enabled automatic port unbinding (which is disabled by default in recent releases)? 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. >> While I got one instance of DPDK running, I got a problem when starting two >> instances of DPDK running against different virtual functions. These virtual >> functions stems from the same physical interfaces. >> >> Starting them one or the other works fine. I have to adapt my static arp >> entries since they have different MAC addresses, but this is only expected. >> When starting them both however, I receive no packets. If one is running >> and currently processing packets, it will stop doing so the instance the second >> instance starts. >> > Are you referring to two different VM's each having a separate VF device, or are you trying to run two primary processes on one VM with different VF devices? 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. Regards Mats Liljegren