Re: [PATCH v7 net] stmmac: added support for 802.1ad vlan stripping

2018-06-15 Thread David Miller
From: Elad Nachman Date: Fri, 15 Jun 2018 09:57:39 +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 hard-cod

Re: [PATCH v7 net] stmmac: added support for 802.1ad vlan stripping

2018-06-15 Thread Toshiaki Makita
On 2018/06/15 15:57, Elad Nachman wrote: > 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 paramete

[PATCH v7 net] stmmac: added support for 802.1ad vlan stripping

2018-06-14 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