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

2017-09-27 Thread kbuild test robot
Hi Amine, [auto build test ERROR on net/master] [also build test ERROR on v4.14-rc2 next-20170927] [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/mpls-expose-stack-entry-functio

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

2017-09-26 Thread Roopa Prabhu
On Tue, Sep 26, 2017 at 10:58 AM, Amine Kherbouche wrote: > Hi Roopa, > > Thanks for the feedback, I have just one question: > > > On 09/26/2017 05:15 PM, Roopa Prabhu wrote: >>> >>> +static int ipgre_tunnel_encap_add_mpls_ops(void) >>> > +{ >>> > + int ret = -1; >>> > + >>> > +#if IS_ENABLE

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

2017-09-26 Thread Amine Kherbouche
Hi Roopa, Thanks for the feedback, I have just one question: On 09/26/2017 05:15 PM, Roopa Prabhu wrote: +static int ipgre_tunnel_encap_add_mpls_ops(void) > +{ > + int ret = -1; > + > +#if IS_ENABLED(CONFIG_NET_IP_TUNNEL) > + ret = ip_tunnel_encap_add_ops(&mpls_iptun_ops, TUNNEL_ENC

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

2017-09-26 Thread Roopa Prabhu
On Tue, Sep 26, 2017 at 2:22 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

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

2017-09-26 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 --- include/net/gre.h