Re: [PATCH v6 net] stmmac: strip all VLAN tag types when kernel 802.1Q support is selected

2018-06-10 Thread Toshiaki Makita
On 2018/06/11 4:29, David Miller wrote: > From: Elad Nachman > Date: Fri, 8 Jun 2018 12:19:29 +0300 > >> stmmac reception handler calls stmmac_rx_vlan() to strip the vlan before >> calling napi_gro_receive(). >> >> The function assumes VLAN tagged frames are always tagged with >> 802.1Q

Re: [PATCH v6 net] stmmac: strip all VLAN tag types when kernel 802.1Q support is selected

2018-06-10 Thread David Miller
From: Elad Nachman Date: Fri, 8 Jun 2018 12:19:29 +0300 > stmmac reception handler calls stmmac_rx_vlan() to strip the vlan before > calling napi_gro_receive(). > > The function assumes VLAN tagged frames are always tagged with > 802.1Q protocol, and assigns ETH_P_8021Q to the skb by

[PATCH v6 net] stmmac: strip all VLAN tag types when kernel 802.1Q support is selected

2018-06-08 Thread Elad Nachman
stmmac reception handler calls stmmac_rx_vlan() to strip the vlan before calling napi_gro_receive(). The function assumes VLAN tagged frames are always tagged with 802.1Q protocol, and assigns ETH_P_8021Q to the skb by hard-coding the parameter on call to __vlan_hwaccel_put_tag() . This causes