From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-la0-f52.google.com (mail-la0-f52.google.com [209.85.215.52]) by dpdk.org (Postfix) with ESMTP id 0A5D97EAB for ; Tue, 21 Oct 2014 17:46:19 +0200 (CEST) Received: by mail-la0-f52.google.com with SMTP id hz20so1313730lab.39 for ; Tue, 21 Oct 2014 08:54:35 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=3RB2ZBsGZfgnxiYYhM0A8JU4LSZaxPS5lp/fphS8njw=; b=hb3i3pCpxeDoYhymwOD4crU7lYpQst4p1nYGNxITKjQLOMtuLtSh7nz7/D1g+aAKr8 1mi+/NPX+l0A82UtoGxHdlbldcQuuNCtQhq3QmeNUVbKVist8/hzn77OhyZ5DXqwoaZ+ 0yqreUG5h1DlmmIMiUtvEO05ujWQ093o9+bopQzmPtcLqCsUrExsL5N2ylOxHTWFjC0X DsWdrQVXeelEmq0i0mMFW5LFk8vkh91E0W/D2EJ30V3hl3fj50L4vDMJ5rgLT9S6w3fm k8lz1HothNOy9LHmNNDHtE0DeeKwgGhewjoDv4S12lef6T6mu5gRKuwie6fqU2wStqH+ 9ZvA== X-Gm-Message-State: ALoCoQksZ/ajoWG3nkZLpPvPQzhgStYjmcz60bEnrMFIndV0dugbgAhotQe+6FjkZ5Gp1GGtVWO2 MIME-Version: 1.0 X-Received: by 10.152.27.38 with SMTP id q6mr4379213lag.92.1413906875187; Tue, 21 Oct 2014 08:54:35 -0700 (PDT) Received: by 10.25.215.141 with HTTP; Tue, 21 Oct 2014 08:54:35 -0700 (PDT) In-Reply-To: <1495199.x8BsTd8nYt@xps13> References: <1495199.x8BsTd8nYt@xps13> Date: Tue, 21 Oct 2014 18:54:35 +0300 Message-ID: From: Alex Markuze To: Thomas Monjalon Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.15 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:46:20 -0000 Thanks Thomas, unfortunately these patches are only valid a pf*. This is also evident from the ixgbe pmd code which is the only one looking at this bit (lpbk_mode). The ixgbevf functions are agnostic to this capability. * http://www.intel.com/content/dam/doc/design-guide/82599-sr-iov-driver-companion-guide.pdf On Tue, Oct 21, 2014 at 6:32 PM, Thomas Monjalon wrote: > 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 >