RE: macvlan devices and vlan interaction

2018-01-30 Thread Keller, Jacob E
> -Original Message- > From: Alexander Duyck [mailto:alexander.du...@gmail.com] > Sent: Tuesday, January 30, 2018 2:39 PM > To: Keller, Jacob E > Cc: Shannon Nelson ; netdev@vger.kernel.org; > Duyck, Alexander H > Subject: Re: macvlan devices and vlan interactio

Re: macvlan devices and vlan interaction

2018-01-30 Thread Alexander Duyck
org; >> Duyck, >> Alexander H >> Subject: Re: macvlan devices and vlan interaction >> >> > Hi Jake, >> > >> > The current behavior seems logical to me, but I suppose Alex might argue >> > differently. The macvlan was put onto the default lowe

RE: macvlan devices and vlan interaction

2018-01-30 Thread Keller, Jacob E
> -Original Message- > From: Yuan, Linyu (NSB - CN/Shanghai) [mailto:linyu.y...@nokia-sbell.com] > Sent: Monday, January 29, 2018 5:53 PM > To: Keller, Jacob E ; netdev@vger.kernel.org > Cc: Duyck, Alexander H > Subject: RE: macvlan devices and vlan inte

RE: macvlan devices and vlan interaction

2018-01-30 Thread Keller, Jacob E
> -Original Message- > From: Alexander Duyck [mailto:alexander.du...@gmail.com] > Sent: Tuesday, January 30, 2018 12:49 PM > To: Shannon Nelson > Cc: Keller, Jacob E ; netdev@vger.kernel.org; Duyck, > Alexander H > Subject: Re: macvlan devices and vlan inter

RE: macvlan devices and vlan interaction

2018-01-30 Thread Keller, Jacob E
> -Original Message- > From: Shannon Nelson [mailto:shannon.nel...@oracle.com] > Sent: Tuesday, January 30, 2018 12:30 PM > To: Keller, Jacob E ; netdev@vger.kernel.org > Cc: Duyck, Alexander H > Subject: Re: macvlan devices and vlan interaction > > Hi Jake, &

Re: macvlan devices and vlan interaction

2018-01-30 Thread Alexander Duyck
On Tue, Jan 30, 2018 at 12:29 PM, Shannon Nelson wrote: > On 1/29/2018 3:01 PM, Keller, Jacob E wrote: >> >> Hi, >> >> I'm currently investigating how macvlan devices behave in regards to vlan >> support, and found some interesting behavior that I am not sure how best to >> correct, or what the ri

Re: macvlan devices and vlan interaction

2018-01-30 Thread Shannon Nelson
On 1/29/2018 3:01 PM, Keller, Jacob E wrote: Hi, I'm currently investigating how macvlan devices behave in regards to vlan support, and found some interesting behavior that I am not sure how best to correct, or what the right path forward is. If I create a macvlan device: ip link add link en

RE: macvlan devices and vlan interaction

2018-01-29 Thread Yuan, Linyu (NSB - CN/Shanghai)
https://www.spinics.net/lists/netdev/msg476083.html I also have a macvlan device question, but get no answer. But my original thought is in __netif_receive_skb_core() we should check packet destination mac address, if it match macvlan device, change packet as receive from macvlan device, not lo