From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Monjalon Subject: Re: [PATCH v2 0/2] examples/l2fwd: Add option to enable/disable MAC addresses updating Date: Thu, 13 Oct 2016 09:26:03 +0200 Message-ID: <3683447.M4Gzv30DBN@xps13> References: <1474638654-26919-1-git-send-email-maxime.coquelin@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7Bit Cc: dev@dpdk.org, bruce.richardson@intel.com, pablo.de.lara.guarch@intel.com, john.mcnamara@intel.com To: Maxime Coquelin Return-path: Received: from mail-lf0-f50.google.com (mail-lf0-f50.google.com [209.85.215.50]) by dpdk.org (Postfix) with ESMTP id 2656F2C12 for ; Thu, 13 Oct 2016 09:26:06 +0200 (CEST) Received: by mail-lf0-f50.google.com with SMTP id x79so124460888lff.0 for ; Thu, 13 Oct 2016 00:26:06 -0700 (PDT) In-Reply-To: <1474638654-26919-1-git-send-email-maxime.coquelin@redhat.com> List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" 2016-09-23 15:50, Maxime Coquelin: > This series adds a new option to enable/disable MAC addresses updating in > l2fwd example. > > Doing that, we can enable basic VM 2 VM communication easily, without > external projects dependencies, nor real NIC (as with vhost example). > > Example of cli with vhost-user: > > #l2fwd -c f --socket-mem=1024 \ > --vdev 'eth_vhost0,iface=/tmp/vhost-user1,queues=1' \ > --vdev 'eth_vhost1,iface=/tmp/vhost-user2,queues=1' \ > -- -p3 --no-mac-updating > > By default, MAC addresses updating remains enabled, but maybe we could > consider having it disabled by default to be consistent with l2fwd-cat > for example. Applied (as a single patch), thanks