From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wg0-f52.google.com (mail-wg0-f52.google.com [74.125.82.52]) by dpdk.org (Postfix) with ESMTP id B812E5A0A for ; Mon, 29 Jun 2015 02:22:08 +0200 (CEST) Received: by wgjx7 with SMTP id x7so54654449wgj.2 for ; Sun, 28 Jun 2015 17:22:08 -0700 (PDT) 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=t9oduV7u6aWu4HqO80EcFuqAdprvwlF7O3ttCgqHZ68=; b=Vv4VZ+c8h4kmIYZUMc6Y8OaOsHfPoGDvkYL5V7f8V0VlbWKP9qdILpfOOPiqPXUBcv M9pYbl6iu1Sw5uxdDcRutthQEW7c4xK7QMzQBUNrfOslFVx6SZRFxqkd4RrIQPYE531Q tJLLPEwt4ErE/VkuI8GUCW9Isaj34C1J9F6iQTrHUxZ5hY8Gl33b6FmtvEcpg//GhEOc 11c3NkHCs1aCyFwXCzERmL3Thvaetr2UgpSSmv69EuoYGCHFJuWkwR1NvOGBLcySJYnw j2Mbyb+ntWy9k8J/JU4LCcHDukuWfgeS3IF4Fqsp+KDFTiCKtEl4loUf7VTg6njiKtw2 vhjw== MIME-Version: 1.0 X-Received: by 10.180.101.233 with SMTP id fj9mr16992701wib.45.1435537328653; Sun, 28 Jun 2015 17:22:08 -0700 (PDT) Received: by 10.28.173.196 with HTTP; Sun, 28 Jun 2015 17:22:08 -0700 (PDT) In-Reply-To: References: Date: Mon, 29 Jun 2015 09:22:08 +0900 Message-ID: From: Keunhong Lee To: Daeyoung Kim Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.15 Cc: "dev@dpdk.org" Subject: Re: [dpdk-dev] Receiving packets on only one port 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, 29 Jun 2015 00:22:08 -0000 I don't know your situation exactly, but here are possible problems. 1. Your switch learned MAC addresses of two ports. 2. Your program bug. 3. l3fwd itself contains some bug. 4. You did not set all ports in promiscuous mode. You'd better try 'pktgen' application to test your environment. Keunhong. 2015-06-27 0:45 GMT+09:00 Daeyoung Kim : > Hello, > > I'm writing a packet capture program from the l3fwd. When I send DNS > packets, the wireshark simultaneously gets all the packets on two ports. > However, using my program with promiscuous mode, one port receives all the > packets, but the other port gets nothing. Do you know why it happens? Could > it be network topology problem using DPDK, a DPDK design like forwarding > mechanism, or just my program bugs? Any comments would be appreciated. > > Thanks, > Daeyoung >