Skip to contentSkip to conversation

Freescale FEC i.MX28 VLAN support?

DISCUSSION Stanislav Meduna 2 participants 2 messages May 14, 2014

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

Hi,

is there any particular reason why the FEC_QUIRK_HAS_VLAN is only set for imx6q-fec ?

According to the reference manual the VLAN support is also present in i.MX28 and the DMA descriptors look the same in this regard, but this is from eyeballing only, I did not try to play with it yet.

The reason I am asking is that I am using a switch that can tag the frames according to the port a packet is received from/sent to and I would like to use that feature.

Please Cc: me when replying.

Thanks

Signature · 1 line
                                Stano
#1 lore raw

Hi, Stano,

From: Stanislav Meduna <[email protected]> Data: Wednesday, May 14, 2014 6:13 PM

Quoted 16 lines

To: linux-kernel at vger.kernel.org; netdev at vger.kernel.org; Linux ARM Kernel
Subject: Freescale FEC i.MX28 VLAN support?

Hi,

is there any particular reason why the FEC_QUIRK_HAS_VLAN is only set for imx6q- fec ?

According to the reference manual the VLAN support is also present in i.MX28 and the DMA descriptors look the same in this regard, but this is from eyeballing only, I did not try to play with it yet.

The reason I am asking is that I am using a switch that can tag the frames according to the port a packet is received from/sent to and I would like to use that feature.

Quoted 5 lines

Please Cc: me when replying.

Thanks
--
Stano

Imx28 also support the feature, you can enable it.
HW only support detect VLAN packet. The function with the config just using software to remove VLAN tag while receiving one packet.

Thanks,
Andy