From: Vivien Didelot <hidden> Date: 2015-08-04 06:36:24
If the underlying network device features NETIF_F_HW_VLAN_CTAG_TX,
an EDSA frame is prepended with a 802.1q header once queued.
To fix this, push the VLAN tag to the payload if present, before
checking the frame protocol.
[note: we may prefer to access directly VLAN TCI from hwaccel frames,
but this approach is simpler.]
Signed-off-by: Vivien Didelot <redacted>
---
net/dsa/tag_edsa.c | 5 +++++
1 file changed, 5 insertions(+)
From: Vivien Didelot <hidden> Date: 2015-08-26 00:17:15
Hi All,
On Aug. Tuesday 04 (32) 02:35 AM, Vivien Didelot wrote:
quoted hunk
If the underlying network device features NETIF_F_HW_VLAN_CTAG_TX,
an EDSA frame is prepended with a 802.1q header once queued.
To fix this, push the VLAN tag to the payload if present, before
checking the frame protocol.
[note: we may prefer to access directly VLAN TCI from hwaccel frames,
but this approach is simpler.]
Signed-off-by: Vivien Didelot <redacted>
---
net/dsa/tag_edsa.c | 5 +++++
1 file changed, 5 insertions(+)
If the underlying network device features NETIF_F_HW_VLAN_CTAG_TX,
an EDSA frame is prepended with a 802.1q header once queued.
To fix this, push the VLAN tag to the payload if present, before
checking the frame protocol.
Makes sense, but you would want Andrew or Guenter to ack this patch.
Thanks!
quoted hunk
[note: we may prefer to access directly VLAN TCI from hwaccel frames,
but this approach is simpler.]
Signed-off-by: Vivien Didelot <redacted>
---
net/dsa/tag_edsa.c | 5 +++++
1 file changed, 5 insertions(+)
On Tue, Aug 25, 2015 at 06:28:34PM -0700, Florian Fainelli wrote:
Le 08/03/15 23:35, Vivien Didelot a écrit :
quoted
If the underlying network device features NETIF_F_HW_VLAN_CTAG_TX,
an EDSA frame is prepended with a 802.1q header once queued.
To fix this, push the VLAN tag to the payload if present, before
checking the frame protocol.
Makes sense, but you would want Andrew or Guenter to ack this patch.
I'll have to carve out some time soon to see if the current dsa code
still works for me. Just don't know when and how to do that :-(
Guenter
Thanks!
quoted
[note: we may prefer to access directly VLAN TCI from hwaccel frames,
but this approach is simpler.]
Signed-off-by: Vivien Didelot <redacted>
---
net/dsa/tag_edsa.c | 5 +++++
1 file changed, 5 insertions(+)