netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Freescale FEC i.MX28 VLAN support?
@ 2014-05-14 10:12 Stanislav Meduna
  2014-05-14 10:37 ` fugang.duan
  0 siblings, 1 reply; 2+ messages in thread
From: Stanislav Meduna @ 2014-05-14 10:12 UTC (permalink / raw)
  To: linux-kernel, netdev, Linux ARM Kernel

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
-- 
                                Stano

^ permalink raw reply	[flat|nested] 2+ messages in thread

* RE: Freescale FEC i.MX28 VLAN support?
  2014-05-14 10:12 Freescale FEC i.MX28 VLAN support? Stanislav Meduna
@ 2014-05-14 10:37 ` fugang.duan
  0 siblings, 0 replies; 2+ messages in thread
From: fugang.duan @ 2014-05-14 10:37 UTC (permalink / raw)
  To: Stanislav Meduna, linux-kernel, netdev, Linux ARM Kernel

Hi, Stano,

From: Stanislav Meduna <stano@meduna.org> Data: Wednesday, May 14, 2014 6:13 PM
>To: linux-kernel@vger.kernel.org; netdev@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.
>
>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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2014-05-14 10:37 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-05-14 10:12 Freescale FEC i.MX28 VLAN support? Stanislav Meduna
2014-05-14 10:37 ` fugang.duan

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).