From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga11.intel.com (mga11.intel.com [192.55.52.93]) by dpdk.org (Postfix) with ESMTP id 0977D567A for ; Wed, 21 Sep 2016 23:53:56 +0200 (CEST) Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by fmsmga102.fm.intel.com with ESMTP; 21 Sep 2016 14:53:54 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.30,375,1470726000"; d="scan'208";a="1060199685" Received: from irsmsx101.ger.corp.intel.com ([163.33.3.153]) by fmsmga002.fm.intel.com with ESMTP; 21 Sep 2016 14:53:52 -0700 Received: from irsmsx108.ger.corp.intel.com ([169.254.11.164]) by IRSMSX101.ger.corp.intel.com ([169.254.1.135]) with mapi id 14.03.0248.002; Wed, 21 Sep 2016 22:53:51 +0100 From: "De Lara Guarch, Pablo" To: Maxime Coquelin , "Richardson, Bruce" CC: "dev@dpdk.org" Thread-Topic: [PATCH 0/2] examples/l2fwd: Add option to enable/disable MAC addresses tweaking Thread-Index: AQHR51ZPxSHVjmmhjEeP8eH1bWwGXKCE1lwA Date: Wed, 21 Sep 2016 21:53:50 +0000 Message-ID: References: <1469548587-3202-1-git-send-email-maxime.coquelin@redhat.com> In-Reply-To: <1469548587-3202-1-git-send-email-maxime.coquelin@redhat.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-titus-metadata-40: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiOGZkOWU0YWMtZGI5Mi00M2JjLTg1MjUtNzgxOTQwZWU1MDZiIiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX0lDIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE1LjkuNi42IiwiVHJ1c3RlZExhYmVsSGFzaCI6IktPc3liTkdMOW5CZ0ttYllOd25BNnFkeWp5azVPSXA3UlFwUEhqZTlXcU09In0= x-ctpclassification: CTP_IC x-originating-ip: [163.33.239.180] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Subject: Re: [dpdk-dev] [PATCH 0/2] examples/l2fwd: Add option to enable/disable MAC addresses tweaking 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: Wed, 21 Sep 2016 21:53:57 -0000 > -----Original Message----- > From: Maxime Coquelin [mailto:maxime.coquelin@redhat.com] > Sent: Tuesday, July 26, 2016 8:56 AM > To: Richardson, Bruce; De Lara Guarch, Pablo > Cc: dev@dpdk.org; Maxime Coquelin > Subject: [PATCH 0/2] examples/l2fwd: Add option to enable/disable MAC > addresses tweaking >=20 > This series adds a new option to enable/disable MAC addresses tweaking in > l2fwd example. >=20 > Doing that, we can enable basic VM 2 VM communication easily, without > external projects dependencies, nor real NIC (as with vhost example). >=20 > Example of cli with vhost-user: >=20 > #l2fwd -c f --socket-mem=3D1024 \ > --vdev 'eth_vhost0,iface=3D/tmp/vhost-user1,queues=3D1' \ > --vdev 'eth_vhost1,iface=3D/tmp/vhost-user2,queues=3D1' \ > -- -p3 --no-mac-tweaking >=20 > By default, MAC addresses tweaking remains enabled, but maybe we could > consider having it disabled by default to be consistent with l2fwd-cat > for example. >=20 > Maxime Coquelin (2): > examples/l2fwd: Add new option to enable/disable MAC addresses > tweaking > doc: l2fwd: document new --[no-]mac-tweaking option >=20 > doc/guides/sample_app_ug/img/l2_fwd_vm2vm.svg | 311 > +++++++++++++++++++++ > .../sample_app_ug/l2_forward_real_virtual.rst | 24 +- > examples/l2fwd/main.c | 39 ++- > 3 files changed, 358 insertions(+), 16 deletions(-) > create mode 100644 doc/guides/sample_app_ug/img/l2_fwd_vm2vm.svg >=20 > -- > 2.7.4 Acked-by: Pablo de Lara