Re: [RFC v1 2/3] vxlan: add support for underlay in non-default VRF

2018-11-16 Thread David Ahern
On 11/16/18 2:41 AM, Alexis Bauvin wrote: > The case I am trying to cover here is the user creating a VXLAN device with > eth0 > as its lower device (ip link add vxlan0 type vxlan ... dev eth0), thus > ignoring > the fact that it should be br0 (the actual L3 interface). In this case, the > only

Re: [RFC v1 2/3] vxlan: add support for underlay in non-default VRF

2018-11-16 Thread Alexis Bauvin
Le 16 nov. 2018 à 08:37, David Ahern a écrit : > On 11/15/18 2:05 AM, Alexis Bauvin wrote: >> Le 14 nov. 2018 à 20:58, David Ahern a écrit : >>> >>> you are making this more specific than it needs to be >>> >>> On 11/14/18 1:31 AM, Alexis Bauvin wrote: diff --git a/drivers/net/vxlan.c

Re: [RFC v1 2/3] vxlan: add support for underlay in non-default VRF

2018-11-15 Thread David Ahern
On 11/15/18 2:05 AM, Alexis Bauvin wrote: > Le 14 nov. 2018 à 20:58, David Ahern a écrit : >> >> you are making this more specific than it needs to be >> >> On 11/14/18 1:31 AM, Alexis Bauvin wrote: >>> diff --git a/drivers/net/vxlan.c b/drivers/net/vxlan.c >>> index 27bd586b94b0..7477b5510a0

Re: [RFC v1 2/3] vxlan: add support for underlay in non-default VRF

2018-11-15 Thread Alexis Bauvin
Le 14 nov. 2018 à 20:58, David Ahern a écrit : > > you are making this more specific than it needs to be > > On 11/14/18 1:31 AM, Alexis Bauvin wrote: >> diff --git a/drivers/net/vxlan.c b/drivers/net/vxlan.c >> index 27bd586b94b0..7477b5510a04 100644 >> --- a/drivers/net/vxlan.c >> +++ b/d

Re: [RFC v1 2/3] vxlan: add support for underlay in non-default VRF

2018-11-14 Thread David Ahern
you are making this more specific than it needs to be On 11/14/18 1:31 AM, Alexis Bauvin wrote: > diff --git a/drivers/net/vxlan.c b/drivers/net/vxlan.c > index 27bd586b94b0..7477b5510a04 100644 > --- a/drivers/net/vxlan.c > +++ b/drivers/net/vxlan.c > @@ -208,11 +208,23 @@ static inline stru