[PATCH v4 2/2] ip_tunnel: add mpls over gre encapsulation

2017-09-28 Thread Amine Kherbouche
This commit introduces the MPLSoGRE support (RFC 4023), using ip tunnel API. Encap: - Add a new iptunnel type mpls. - Share tx path: gre type mpls loaded from skb->protocol. Decap: - pull gre hdr and call mpls_forward(). Signed-off-by: Amine Kherbouche Acked-by: Roopa Prabhu --- include

Re: [PATCH v4 2/2] ip_tunnel: add mpls over gre encapsulation

2017-10-04 Thread Amine Kherbouche
On 09/29/2017 06:11 AM, Tom Herbert wrote: > @@ -122,6 +125,30 @@ int gre_parse_header(struct sk_buff *skb, struct tnl_ptk_info *tpi, > } > EXPORT_SYMBOL(gre_parse_header); > > +#if IS_ENABLED(CONFIG_MPLS) > +int mpls_gre_rcv(struct sk_buff *skb, int gre_hdr_len) > +{ > + if (unlikely(

Re: [PATCH v4 2/2] ip_tunnel: add mpls over gre encapsulation

2017-09-28 Thread Tom Herbert
On Thu, Sep 28, 2017 at 2:34 AM, Amine Kherbouche wrote: > This commit introduces the MPLSoGRE support (RFC 4023), using ip tunnel > API. > > Encap: > - Add a new iptunnel type mpls. > - Share tx path: gre type mpls loaded from skb->protocol. > > Decap: > - pull gre hdr and call mpls_forward

Re: [PATCH v4 2/2] ip_tunnel: add mpls over gre encapsulation

2017-09-30 Thread kbuild test robot
Hi Amine, [auto build test ERROR on net/master] [also build test ERROR on v4.14-rc2 next-20170929] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https://github.com/0day-ci/linux/commits/Amine-Kherbouche/expose-stack-entry-function/201

Re: [PATCH v4 2/2] ip_tunnel: add mpls over gre encapsulation

2017-09-30 Thread kbuild test robot
Hi Amine, [auto build test ERROR on net/master] [also build test ERROR on v4.14-rc2 next-20170929] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https://github.com/0day-ci/linux/commits/Amine-Kherbouche/expose-stack-entry-function/201