From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) by dpdk.org (Postfix) with ESMTP id 3ECB38D94 for ; Thu, 10 Dec 2015 11:18:31 +0100 (CET) Received: from orsmga002.jf.intel.com ([10.7.209.21]) by orsmga102.jf.intel.com with ESMTP; 10 Dec 2015 02:18:15 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.20,407,1444719600"; d="scan'208";a="868725411" Received: from irsmsx154.ger.corp.intel.com ([163.33.192.96]) by orsmga002.jf.intel.com with ESMTP; 10 Dec 2015 02:18:14 -0800 Received: from irsmsx103.ger.corp.intel.com ([169.254.3.13]) by IRSMSX154.ger.corp.intel.com ([169.254.12.98]) with mapi id 14.03.0248.002; Thu, 10 Dec 2015 10:18:12 +0000 From: "Mcnamara, John" To: "De Lara Guarch, Pablo" , "dev@dpdk.org" Thread-Topic: [dpdk-dev] [PATCH] app/testpmd: swap mac in IEEE1588 forwarding Thread-Index: AQHRMy3FaGSnTSqCbECsXwDBhkn4i57EAW8g Date: Thu, 10 Dec 2015 10:18:12 +0000 Message-ID: References: <1449739707-178153-1-git-send-email-pablo.de.lara.guarch@intel.com> In-Reply-To: <1449739707-178153-1-git-send-email-pablo.de.lara.guarch@intel.com> Accept-Language: en-GB, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [163.33.239.181] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Subject: Re: [dpdk-dev] [PATCH] app/testpmd: swap mac in IEEE1588 forwarding 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, 10 Dec 2015 10:18:31 -0000 > -----Original Message----- > From: dev [mailto:dev-bounces@dpdk.org] On Behalf Of Pablo de Lara > Sent: Thursday, December 10, 2015 9:28 AM > To: dev@dpdk.org > Subject: [dpdk-dev] [PATCH] app/testpmd: swap mac in IEEE1588 forwarding >=20 > IEEE1588 forwarding mode uses same port to receive and transmit packets. > In this mode, the MAC address in the packets are not touched, and > therefore, packets could be sent with the same destination MAC address as > the MAC address of the port that is transmitting, which causes the packet > to be dropped in some NICs. >=20 > In order to avoid this scenario, MAC addresses are swapped before packet > is sent out. >=20 > Signed-off-by: Pablo de Lara Acked-by: John McNamara