From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-vn0-f52.google.com (mail-vn0-f52.google.com [209.85.216.52]) by dpdk.org (Postfix) with ESMTP id 37F69C85C for ; Mon, 22 Jun 2015 02:10:04 +0200 (CEST) Received: by vnav203 with SMTP id v203so2129551vna.8 for ; Sun, 21 Jun 2015 17:10:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:from:date:message-id:subject:to:content-type; bh=6nzKleGEAZ2Pcz2yYh9nrg3MyDh7x2kYmpV0/58W7ic=; b=wtMYXaETblFSxIsh/HSmciuCm3r/p7Jy3gnDh7J3rbcIKPfHBGIzcTJiwuQ0nWxc48 X41WMo1a8gvPmsh7LuSHExniVHg2xKed0CITtUt4NxehYBYMvPGoC/x/anlfDEhWsb1a UMQ8GEh6cSYRH+0Rv6oTKeWoSZHDx3nLnSPcWiKFmnFw3gidDWUAoaGKhLslAMgyOz2X MG/t+snTGDb5U+uN4S1JCZuuG5wbRzMDCwuVcFMnNm7TW2HpSS7Am5bomfjNYXKOXsGv aXGj7Rou5+HRe5gwsiO0DkSL2tGyAu7ANtSEPDEcBqRItxkqB4UKuaKNAsBwt4zbX/+7 3sJw== X-Received: by 10.52.231.97 with SMTP id tf1mr22913533vdc.21.1434931803605; Sun, 21 Jun 2015 17:10:03 -0700 (PDT) MIME-Version: 1.0 Received: by 10.31.70.199 with HTTP; Sun, 21 Jun 2015 17:09:44 -0700 (PDT) From: Daeyoung Kim Date: Sun, 21 Jun 2015 20:09:44 -0400 Message-ID: To: dev@dpdk.org Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.15 Subject: [dpdk-dev] DPDK packet capture question 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, 22 Jun 2015 00:10:05 -0000 Hello, I am a newbie to DPDK. I'm making a packet capture program from the l3fwd sample application. When I tested my program in a virtual environment, it worked. But in a real world, it does not work correctly. In the virtual environment, there are 3 VMs. VM1 sends DNS packets to VM3 and VM3 also replies to VM1. VM2 as DPDK promiscuous mode captures the packets. In this settings, the port 0 receives all the packets, but the port 1 receives nothing. I want to get all the packets on both ports, but anyway it's fine. Now, in the real world, a client sends DNS packets to a DNS server, but between them, there are 3 switches. The DPDK port 0 is connected to the switch 1 and the port 1 is connected the switch 3. The port 0 receives only DNS queries and the port 1 receives only DNS responses. I use Intel I-350 NIC. The network looks like below. CLIENT -> SWITCH1 -> SWITCH2 -> SWITCH3 -> DNS | | PORT 0 PORT 1 I don't know how to fix it. When I tested with WireShark, it received both packets on both ports. Do you have any idea? Am I missing something? Thank you very much in advance. Dan