[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20191114.134702.2225076954282781858.davem@davemloft.net>
Date: Thu, 14 Nov 2019 13:47:02 -0800 (PST)
From: David Miller <davem@...emloft.net>
To: martinvarghesenokia@...il.com
Cc: netdev@...r.kernel.org, corbet@....net, kuznet@....inr.ac.ru,
yoshfuji@...ux-ipv6.org, scott.drennan@...ia.com, jbenc@...hat.com,
martin.varghese@...ia.com
Subject: Re: [PATCH v2 net-next 2/2] Special handling for IP & MPLS.
From: Martin Varghese <martinvarghesenokia@...il.com>
Date: Thu, 14 Nov 2019 20:49:58 +0530
> From: Martin Varghese <martin.varghese@...ia.com>
>
> Special handling is needed in bareudp module for IP & MPLS as they support
> more than one ethertypes.
>
> MPLS has 2 ethertypes. 0x8847 for MPLS unicast and 0x8848 for MPLS multicast.
> While decapsulating MPLS packet from UDP packet the tunnel destination IP
> address is checked to determine the ethertype. The ethertype of the packet
> will be set to 0x8848 if the tunnel destination IP address is a multicast
> IP address. The ethertype of the packet will be set to 0x8847 if the
> tunnel destination IP address is a unicast IP address.
>
> IP has 2 ethertypes.0x0800 for IPV4 and 0x86dd for IPv6. The version field
> of the IP header tunnelled will be checked to determine the ethertype.
>
> This special handling to tunnel additional ethertypes will be disabled by
> default and can be enabled using a flag called ext mode. This flag can be
> used only with ethertypes 0x8847 and 0x0800.
>
> Signed-off-by: Martin Varghese <martin.varghese@...ia.com>
> ---
> Changes in v2:
> - Fixed documentation errors.
> - Changed commit message
You must always repost the entire patch series, not just the patches
you are updating.
Powered by blists - more mailing lists