[dpdk-dev] [PATCH] app/testpmd: swap mac in IEEE1588 forwarding

Mcnamara, John john.mcnamara at intel.com
Thu Dec 10 11:18:12 CET 2015


> -----Original Message-----
> From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Pablo de Lara
> Sent: Thursday, December 10, 2015 9:28 AM
> To: dev at dpdk.org
> Subject: [dpdk-dev] [PATCH] app/testpmd: swap mac in IEEE1588 forwarding
> 
> 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 <pablo.de.lara.guarch at intel.com>

Acked-by: John McNamara <john.mcnamara at intel.com>



More information about the dev mailing list