From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id C5C76A0530 for ; Thu, 23 Jan 2020 19:26:11 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 2D5263253; Thu, 23 Jan 2020 19:26:11 +0100 (CET) Received: from mail-qk1-f174.google.com (mail-qk1-f174.google.com [209.85.222.174]) by dpdk.org (Postfix) with ESMTP id 37AAF322C for ; Thu, 23 Jan 2020 19:26:09 +0100 (CET) Received: by mail-qk1-f174.google.com with SMTP id v195so4369941qkb.11 for ; Thu, 23 Jan 2020 10:26:09 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=T+PcMO1Cq2cPLttcXG866qPAUH75cJokeDUfv83t0yo=; b=m/lW8LLv4SAeyrNk6yzw3b4soOw42jZE0xAndqfEp2yZy6MnETB8nekqZZ2YDV1g3a icIr2xPpD4tCdmK0ZA8i7S2rz6ULayToSIEuyMHnhubya8wYOLUMAt5SzHHLmCUi5WHA 1r6YsuPfRrN0XVJrZatRd1GZn6VYhNfFm2D1O0bgSLUBIY9HiX1MrGZOlCs7cEWl5eAP R+taPg9pALOI5QH9/RQzmVdlwXTMeGxYFNfgq1c9bpwrAUMJKVOdsHtuRc2Xk1RYbE9Z NjYF/sFbpwjP2GhkUqBik1kIIgXrRdMZ69dUBJcVvE9B1Zcx9Uc5OvKJ3uhi0Yw3liE6 smmw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=T+PcMO1Cq2cPLttcXG866qPAUH75cJokeDUfv83t0yo=; b=UB+KoAf18S5kTiU8+ZOpRmsQ/687egzQnML8XdesVm8xb2M7k5qfdwX/d92qwTpmTJ eHKs1kowPRQGOz54zKuepJJ8dLOSjwUecGO6aa6cnXd0y3bmhlMU/rJoxIjFHK8xkjxm M5oyICv9hGzKXWYoJI4tmHLJdQhD1gMzFnGVLUKZWrySIW8ohCULQflUJ3ybaxF/9k1p H12y0j21c4pGpFQqBcT3D2PdFxUcX8L/WmhZ0J7INF6v3G0g5eglQhS+hpCypEyIYCCD QkVIZqyBHhZKGJNZCTK7ddr7JsvOVV1POl20PeC2zsnDm6gUVcp5gR7lRpKfNUwxASZl OuOQ== X-Gm-Message-State: APjAAAVaFfosKt9VpfBeOmnsq2JwW0pQqKv7aDoy3kz0HLATm5i22D6/ 5E52EPhfRUKJQbd9foZFgOsvMV4InSnCk6YxVWk= X-Google-Smtp-Source: APXvYqxXE5uGuaO1u7UsrzMlFII80X9tlQrNtYXV2+xO0dOM1IuBuyTjXYNrpUqYiKcTDlE6l3eywilQbPYxwGrCnpE= X-Received: by 2002:a37:c0c:: with SMTP id 12mr11480784qkm.425.1579803968570; Thu, 23 Jan 2020 10:26:08 -0800 (PST) MIME-Version: 1.0 References: In-Reply-To: From: Muhammad Zain-ul-Abideen Date: Thu, 23 Jan 2020 23:25:57 +0500 Message-ID: To: Dominic Chen Cc: users Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.15 Subject: Re: [dpdk-users] Same port receive/transmit loopback X-BeenThere: users@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK usage discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: users-bounces@dpdk.org Sender: "users" Kindly share what you are sending vs what you are receiving and some more detail on the environment configuration On Wed, Jan 22, 2020, 10:13 AM Dominic Chen wrote: > I've verified with testpmd that the connection works. Since I'm in a > virtual machine, I don't have a physical cable to loopback, so I added > more virtual NICs and bridged them externally. I've also submitted a > patch to the e1000 driver to add support for loopback mode. I don't have > the physical hardware, so I can only verify that it works in QEMU with > e1000 and e1000e. > > Dominic > > On 1/21/2020 12:47 AM, Muhammad Zain-ul-Abideen wrote: > > Hey there, have you used packetgen to verify. Build pktgen app and > > loopback your cable to recieve what you send on the port to verify please > > > > On Tue, Jan 21, 2020, 3:34 AM Dominic Chen > > wrote: > > > > I've just started working with DPDK recently, and I'm a little > > confused > > by the intended behavior when transmitting and receiving on the > > same port. > > > > Currently, I haven't been able to receive the same packet that I > > transmitted, regardless of the source/destination MACs on the > Ethernet > > packet (broadcast, self, etc), or whether the port is in promiscuous > > mode. I've verified from other hosts on the network that my > > packets are > > being sent, that I am able to receive packets (as long as I didn't > > send > > them), and that I get the same behavior when using vfio-pci with both > > e1000 and vmxnet3 (emulated in VMware). > > > > Is there some built-in source MAC filtering that I'm missing? Or do I > > have to enable loopback mode? > > > > Thanks, > > > > Dominic > > > > >