From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-pd0-f180.google.com (mail-pd0-f180.google.com [209.85.192.180]) by dpdk.org (Postfix) with ESMTP id E90BA5A38 for ; Fri, 15 May 2015 01:47:46 +0200 (CEST) Received: by pdea3 with SMTP id a3so2803421pde.1 for ; Thu, 14 May 2015 16:47:46 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:date:from:to:cc:subject:message-id:in-reply-to :references:mime-version:content-type:content-transfer-encoding; bh=9lZCHvaQ2jk+ixpIolRaEJ1ifzdbpbTGuo/85UDTy2Q=; b=l0M3tW9zggJpSFTusqcM7DgAuBZxoZBGRsWcm/f7M4ChnArgRanoE+1Spxokemb6aZ esqNRnrdoi8qQgdOITXEg5nMTzTws+yc/nwlEgNUNlfotEgBTVJBbpdWnzPHtbHySh+N HfYV5MiAGtNzW4S4GRDWk6Xy+SB564m+wu0pbcjgglIe0vj8UMvH93CSZMHwKEuejDqf KcicXubFlmIKsXesbfCw5MeUv3YNKzAhicp2vC+GfvY4gAc6vVqNYpud9G5ZKNklA/Pi P+a1yNKYDKXq39tI66FSbsbN6IhyXhs5t2ZxBrD18NCtuu6aE8+DSGfffa+2BOeqfzMZ stRQ== X-Gm-Message-State: ALoCoQlusSfBU2I6zWZhN9r4104CHrSTAZpg5O1ijHlRf3M99rcNb2M8D86VEDKzX+fpZ9m/n8DW X-Received: by 10.70.35.201 with SMTP id k9mr12595564pdj.128.1431647237072; Thu, 14 May 2015 16:47:17 -0700 (PDT) Received: from urahara (static-50-53-82-155.bvtn.or.frontiernet.net. [50.53.82.155]) by mx.google.com with ESMTPSA id ei17sm280237pac.20.2015.05.14.16.47.16 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 14 May 2015 16:47:16 -0700 (PDT) Date: Thu, 14 May 2015 16:47:19 -0700 From: Stephen Hemminger To: "Assaad, Sami (Sami)" Message-ID: <20150514164719.7b68b0ef@urahara> In-Reply-To: <9478F0FB69DAA249AF0A9BDA1E6ED95218817AB9@US70TWXCHMBA07.zam.alcatel-lucent.com> References: <9478F0FB69DAA249AF0A9BDA1E6ED95218817AB9@US70TWXCHMBA07.zam.alcatel-lucent.com> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: "dev@dpdk.org" Subject: Re: [dpdk-dev] How do you setup a VM in Promiscuous Mode using PCI Pass-Through (SR-IOV)? 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: Thu, 14 May 2015 23:47:47 -0000 On Thu, 14 May 2015 21:38:24 +0000 "Assaad, Sami (Sami)" wrote: > Hello, > > My Hardware consists of the following: > - DL380 Gen 9 Server supporting two Haswell Processors (Xeon CPU E5-2680 v3 @ 2.50GHz) > - An x540 Ethernet Controller Card supporting 2x10G ports. > > Software: > - CentOS 7 (3.10.0-229.1.2.el7.x86_64) > - DPDK 1.8 > > I want all the network traffic received on the two 10G ports to be transmitted to my VM. The issue is that the Virtual Function / Physical Functions have setup the internal virtual switch to only route Ethernet packets with destination MAC address matching the VM virtual interface MAC. How can I configure my virtual environment to provide all network traffic to the VM...i.e. set the virtual functions for both PCI devices in Promiscuous mode? > > [ If a l2fwd-vf example exists, this would actually solve this problem ... Is there a DPDK l2fwd-vf example available? ] > > > Thanks in advance. > > Best Regards, > Sami Assaad. This is a host side (not DPDK) issue. Intel PF driver will not allow guest (VF) to go into promiscious mode since it would allow traffic stealing which is a security violation.