From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wg0-f44.google.com (mail-wg0-f44.google.com [74.125.82.44]) by dpdk.org (Postfix) with ESMTP id E166A7E99 for ; Tue, 21 Oct 2014 17:24:28 +0200 (CEST) Received: by mail-wg0-f44.google.com with SMTP id y10so1620421wgg.15 for ; Tue, 21 Oct 2014 08:32:43 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:organization :user-agent:in-reply-to:references:mime-version :content-transfer-encoding:content-type; bh=GMiYRIEjVAZasnQ37CeyJmrce+AoEa6yqfo6DAK9lrw=; b=mv/x7NqTRHE89RuVOIYpklbwD4KIEtHifkKiSEG/8GCSRHTHlgkWMreoj04/gw7/w5 F3xuOs+Ed/qUmaH2wJ632DB33RLA8ThnpuNMB8IhQXgtlr/cVl6GpMpRtb10T35DzONE TfOJg3oizY0roTRD8EKVpvw+Ubag5B1POz3vLR91xAWHHRlzwQ4fYtJA9zJR1KtIsjv/ P38Xw9YnMqkrT6YmprVfp8zWEQkQmnNrCDxnAP3ipAdEtv+/hJm+1ExL5NEQOgdtGkIc IokvIs+ICXKPuFh/a0aNvues+duYfHh+kWXL9+AyEelKdHa9igaVwvdXLUF+ls1uWmr4 9wMw== X-Gm-Message-State: ALoCoQl82mKS2JT7v0PPe5n2v/+vXvZ811bWQG+paulLLS49kcGiYHh1PSfU/Wjlak35ao4U4xF+ X-Received: by 10.180.37.143 with SMTP id y15mr30573509wij.29.1413905563649; Tue, 21 Oct 2014 08:32:43 -0700 (PDT) Received: from xps13.localnet (136-92-190-109.dsl.ovh.fr. [109.190.92.136]) by mx.google.com with ESMTPSA id l9sm15856120wia.0.2014.10.21.08.32.41 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 21 Oct 2014 08:32:42 -0700 (PDT) From: Thomas Monjalon To: Alex Markuze Date: Tue, 21 Oct 2014 17:32:24 +0200 Message-ID: <1495199.x8BsTd8nYt@xps13> Organization: 6WIND User-Agent: KMail/4.14.1 (Linux/3.16.4-1-ARCH; KDE/4.14.1; x86_64; ; ) In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Cc: dev@dpdk.org Subject: Re: [dpdk-dev] nic loopback 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: Tue, 21 Oct 2014 15:24:29 -0000 2014-10-20 19:24, Alex Markuze: > I'm trying to send packets from an application to it self, meaning smac == > dmac. > I'm working with intel 82599 virtual function. But it seems that these > packets are lost. > > Is there a software/hw limitation I'm missing here (some additional > anti-spoofing)? AFAIK modern NICs with sriov are mini switches so the hw > loopback should work, at least thats the theory. I think you should look at these commits: ixgbe: add Tx->Rx loopback mode for 82599 http://dpdk.org/browse/dpdk/commit/?id=db035925617 app/testpmd: add loopback topology http://dpdk.org/browse/dpdk/commit/?id=3e2006d6186 -- Thomas