From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Monjalon Subject: Re: nic loopback Date: Tue, 21 Oct 2014 17:32:24 +0200 Message-ID: <1495199.x8BsTd8nYt@xps13> References: Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7Bit Cc: dev-VfR2kkLFssw@public.gmane.org To: Alex Markuze Return-path: In-Reply-To: List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces-VfR2kkLFssw@public.gmane.org Sender: "dev" 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