Re: VPLS Support

2017-12-07 Thread Amine Kherbouche
On 12/05/2017 01:17 PM, Алексей Болдырев wrote: Hello, when will VPLS be implemented in Linux? August 15, 2017 were patches from ekoinoks, which in Linux added support for VPLS. But, these patches for some reason did not pass. Also, for some reason, the author of these patches has no activity

VPLS Support

2017-12-05 Thread Алексей Болдырев
Hello, when will VPLS be implemented in Linux? August 15, 2017 were patches from ekoinoks, which in Linux added support for VPLS. But, these patches for some reason did not pass. Also, for some reason, the author of these patches has no activity on, for two months. I think so, if activity does n

Re: [PATCH 6/6] mpls: VPLS support

2017-08-28 Thread Amine Kherbouche
any opinion on vpls driver path ? On 08/21/2017 07:15 PM, David Lamparter wrote: [work-in-progress, works but needs changes] [v2: refactored lots of things, e.g. dst_metadata, no more genetlink] [v4: removed pointless include/net/vpls.h, squashed pseudowire control word support, squashed netlink

[PATCH 6/6] mpls: VPLS support

2017-08-21 Thread David Lamparter
/* should not have got here */ WARN_ON(1); diff --git a/net/mpls/Kconfig b/net/mpls/Kconfig index 5c467ef97311..c15ba73efb34 100644 --- a/net/mpls/Kconfig +++ b/net/mpls/Kconfig @@ -27,6 +27,17 @@ config MPLS_ROUTING ---help--- Add support for forwarding of mpls pac

Re: [PATCH 4/6] mpls: VPLS support

2017-08-21 Thread David Lamparter
On Mon, Aug 21, 2017 at 05:14:46PM +0200, Amine Kherbouche wrote: > > +#include > > some headers are not needed. Which ones? net/ip_tunnels.h is needed for ip_tunnel_get_stats64(). > > +static netdev_tx_t vpls_xmit(struct sk_buff *skb, struct net_device *dev) > > +{ > > + int err = -EINVAL,

Re: [PATCH 4/6] mpls: VPLS support

2017-08-21 Thread Amine Kherbouche
Is it right to put vpls.c file in /net/mpls, I know it's depends essentially from the mpls stack, but vpls is a driver so moving it in /drivers/net should be cleaner but we have to export some mpls functions. Let's see others opinion. On 08/16/2017 07:02 PM, David Lamparter wrote: [work-in-

Re: [PATCH 4/6] mpls: VPLS support

2017-08-21 Thread Amine Kherbouche
new file mode 100644 index ..28ac810da6e9 --- /dev/null +++ b/net/mpls/vpls.c @@ -0,0 +1,469 @@ +/* + * net/mpls/vpls.c + * + * Copyright (C) 2016 David Lamparter + * + */ + +#include +#include +#include +#include +#include +#include + +#include +#include +#include +#inclu

[PATCH 4/6] mpls: VPLS support

2017-08-16 Thread David Lamparter
@ -27,6 +27,17 @@ config MPLS_ROUTING ---help--- Add support for forwarding of mpls packets. +config MPLS_VPLS + bool "VPLS support" + default y + depends on MPLS_ROUTING && BRIDGE_NETFILTER=n + ---help--- +Add support for de-&en

[RFC net-next] VPLS support

2017-08-16 Thread David Lamparter
Hi all, triggered by Amine posting VPLS support earlier, this is what I had in mind on my end. You may note the patches share some bits, this is because both series are derived from hacks I did at 33C3 in December 2016. This patchset is different in the following ways: - one vpls device

Re: [PATCH 2/2] drivers: add vpls support

2017-08-12 Thread Roopa Prabhu
On Sat, Aug 12, 2017 at 6:40 AM, Amine Kherbouche wrote: > > > On 11/08/2017 17:14, Roopa Prabhu wrote: >> >> On Fri, Aug 11, 2017 at 5:55 AM, David Lamparter >> wrote: >>> >>> On Thu, Aug 10, 2017 at 10:28:37PM +0200, Amine Kherbouche wrote: This commit introduces the support of VPLS v

Re: [PATCH 2/2] drivers: add vpls support

2017-08-12 Thread Amine Kherbouche
On 11/08/2017 17:14, Roopa Prabhu wrote: On Fri, Aug 11, 2017 at 5:55 AM, David Lamparter wrote: On Thu, Aug 10, 2017 at 10:28:37PM +0200, Amine Kherbouche wrote: This commit introduces the support of VPLS virtual device, that allows performing L2VPN multipoint to multipoint communication o

Re: [PATCH 2/2] drivers: add vpls support

2017-08-11 Thread Roopa Prabhu
On Fri, Aug 11, 2017 at 5:55 AM, David Lamparter wrote: > On Thu, Aug 10, 2017 at 10:28:37PM +0200, Amine Kherbouche wrote: >> This commit introduces the support of VPLS virtual device, that allows >> performing L2VPN multipoint to multipoint communication over MPLS PSN. >> >> VPLS device encap r

Re: [PATCH 2/2] drivers: add vpls support

2017-08-11 Thread David Lamparter
On Thu, Aug 10, 2017 at 10:28:37PM +0200, Amine Kherbouche wrote: > This commit introduces the support of VPLS virtual device, that allows > performing L2VPN multipoint to multipoint communication over MPLS PSN. > > VPLS device encap received ethernet frame over mpls packet and send it the > outp

[PATCH 2/2] drivers: add vpls support

2017-08-10 Thread Amine Kherbouche
This commit introduces the support of VPLS virtual device, that allows performing L2VPN multipoint to multipoint communication over MPLS PSN. VPLS device encap received ethernet frame over mpls packet and send it the output device, in the other direction, when receiving the right configured mpls