[PATCH] net: stmmac: fix missing support for 802.1AD tag on reception

2018-04-13 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

[PATCH] net: stmmac: fix missing support for 802.1AD tag on reception

2018-04-13 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

Re: [PATCH] net: stmmac: fix missing support for 802.1AD tag on reception

2018-04-12 Thread David Miller
From: Elad Nachman Date: Wed, 11 Apr 2018 15:07:40 + > --- a/drivers/net/ethernet/stmicro/stmmac/stmmac_main.c2018-04-11 > 17:04:00.586057300 +0300 > +++ b/drivers/net/ethernet/stmicro/stmmac/stmmac_main.c2018-04-11 > 17:05:33.601992400 +0300 > @@ -3293,17 +3293,19 @@

[PATCH] net: stmmac: fix missing support for 802.1AD tag on reception

2018-04-11 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