From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-ee0-x235.google.com (mail-ee0-x235.google.com [IPv6:2a00:1450:4013:c00::235]) by dpdk.org (Postfix) with ESMTP id 1964E5320 for ; Wed, 29 Jan 2014 18:55:26 +0100 (CET) Received: by mail-ee0-f53.google.com with SMTP id t10so1082849eei.40 for ; Wed, 29 Jan 2014 09:56:44 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=B9blVTmxH5DVwgxtTSlEIe+62h5MHCIQR4EyxO9G2Tg=; b=zWy+wUm+hni8cDqODHls7X576y1jm1XI4fyJU81R4nm9WqjfrjmUbIfpD2AJB7F9pk 1QoVI8J4woejPbv7monSvdSk7G59HDy2TO+5tuDyJ4DSdn+CXHZSCsZ+QdEJAS/S9L/U gZdElusw9vJcSO2GGF+vNBw4vjiIaPat++gyYgdtWXUvJ/Ht5pVqqGfvoIxCD/+pDqR+ QiL0j6Rpgrk8FeSQniyo04vMFoERkhqfNFeqZEUt4NGJ/qNsklsu6p4gWzFmDUa3yMSk YXlH1ELvrbiN/mIZkZylywyMuxl7warLxz5wUptdy0F+Oe83CaR2EiAKdmfQnO5zlpl0 ifqg== MIME-Version: 1.0 X-Received: by 10.14.194.131 with SMTP id m3mr11481171een.2.1391018204781; Wed, 29 Jan 2014 09:56:44 -0800 (PST) Received: by 10.14.147.5 with HTTP; Wed, 29 Jan 2014 09:56:44 -0800 (PST) Date: Wed, 29 Jan 2014 18:56:44 +0100 Message-ID: From: Mats Liljegren To: "dev@dpdk.org" Content-Type: text/plain; charset=UTF-8 Subject: [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: Wed, 29 Jan 2014 17:55:26 -0000 I'm trying to get a modified version of the l2fwd example running, and have problems with packets being silently thrown away. I can receive packets, and my printf's indicates that the packets are being sent to the correct port, using correct MAC address as source address. And still, the packets are lost. Since the port is a virtual function, it seems like I cannot use tcpdump on it to see the network traffic. There is nothing coming out of the cable (activity light not flashing, the receiving end running tcpdump does not see any traffic). I'm using two X540 with two virtual functions each. The application runs in a KVM/Qemu environmen. Any suggestions how to debug this? Regards, Mats