From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Monjalon Subject: Re: [PATCH] app/testpmd: swap mac in IEEE1588 forwarding Date: Thu, 10 Dec 2015 22:21:21 +0100 Message-ID: <1449792832.Ney0jmXzyU@xps13> References: <1449739707-178153-1-git-send-email-pablo.de.lara.guarch@intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7Bit Cc: dev@dpdk.org To: "De Lara Guarch, Pablo" Return-path: Received: from mail-wm0-f46.google.com (mail-wm0-f46.google.com [74.125.82.46]) by dpdk.org (Postfix) with ESMTP id C8D828E5F for ; Thu, 10 Dec 2015 22:22:39 +0100 (CET) Received: by wmec201 with SMTP id c201so42927310wme.1 for ; Thu, 10 Dec 2015 13:22:39 -0800 (PST) In-Reply-To: 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" > > 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. > > > > In order to avoid this scenario, MAC addresses are swapped before packet > > is sent out. > > > > Signed-off-by: Pablo de Lara > > Acked-by: John McNamara Applied, thanks