From mboxrd@z Thu Jan 1 00:00:00 1970 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) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=6wind-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:organization:user-agent :in-reply-to:references:mime-version:content-transfer-encoding :content-type; bh=ByVD48XXFo+JkPIOYLtKSnKyqnAYt7xJnht134GhDIE=; b=fdv+7XsaJ3Dm1xtimJbGoCvtZQnjP12Pd6bjzmHBxULi8+7v2XF++9vf+fMkgbcHTv 0oR6LKGoxbY7VpNcOUZMCnX1po1+xZuHUUokI3bKPmTWRdG0JDCBncpFnkaKGTyrhg2I WNZ7JE0Rmj523/NbrWM9d0wMHY6OQVYyqhoKxyBlkJOyMGeHz50dd3LB1O1yDUNttcPo BSyCqhPTekUVjhNLEm3t+O20yM3yPjrlK+AoXb9kX5oHx9xGCpVkGxB6++fNOhkRxkQm D9b/3vmHxKSLM4Ry3P6rLq7AnQdRyFKkndQK3q04hYnI8ZnB20dnnK5/7Oj53mw1xsP7 CX5g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:organization :user-agent:in-reply-to:references:mime-version :content-transfer-encoding:content-type; bh=ByVD48XXFo+JkPIOYLtKSnKyqnAYt7xJnht134GhDIE=; b=kQV0xRmr4ElbtQnsu0AYV3YQvUO+jbFx6/t28RhLoqBoYa+AwhUtzVYA2MpGrIvkFy IWYHOXsO2bjefLREFgFBlJwR6D9hchgtCY1OJiveTC0lsOdYHMF1Fluk/9jqaF0QPEtK mTzS6/iEwhWMi+fzwK9VyKbJu+ifz+tW8p7QcgvZThnpMTz9n9wt2Pgw5LKNyfVKpLyG s8I5WV/RXoN0niETvrmqfoCeTDhsm9dKZPkU/JwvLeoW7Qw3tEEoF0C/8VxjEUkEnvVd zArzivB44tCbd0A/LrNzlGPpzROS9kVysx+MxyZYbf/CGueCbvg7l7I0VHcGsN6TqmX2 8/aA== X-Gm-Message-State: ALoCoQnBPF9n89HTygAmPYmml4pnjrblIIJurBHQXkRAUCfyZw0XSxhHYMU71K4T2ToX31rd1Ur09OyjYLmLqPnlPLuIvfuZiQ== X-Received: by 10.28.223.212 with SMTP id w203mr1413658wmg.88.1449782559644; Thu, 10 Dec 2015 13:22:39 -0800 (PST) Received: from xps13.localnet (136-92-190-109.dsl.ovh.fr. [109.190.92.136]) by smtp.gmail.com with ESMTPSA id dl8sm14133734wjb.29.2015.12.10.13.22.38 (version=TLSv1/SSLv3 cipher=OTHER); Thu, 10 Dec 2015 13:22:38 -0800 (PST) From: Thomas Monjalon To: "De Lara Guarch, Pablo" Date: Thu, 10 Dec 2015 22:21:21 +0100 Message-ID: <1449792832.Ney0jmXzyU@xps13> Organization: 6WIND User-Agent: KMail/4.14.10 (Linux/4.1.6-1-ARCH; KDE/4.14.11; x86_64; ; ) In-Reply-To: References: <1449739707-178153-1-git-send-email-pablo.de.lara.guarch@intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Cc: dev@dpdk.org 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 21:22:39 -0000 > > 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