netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Gianfar : Q : Tx VLAN hardware accelaration
@ 2013-02-01  9:45 voncken
  2013-02-04 10:04 ` Claudiu Manoil
  0 siblings, 1 reply; 2+ messages in thread
From: voncken @ 2013-02-01  9:45 UTC (permalink / raw)
  To: 'Claudiu Manoil'; +Cc: netdev

	Hi Claudiu,

I would like to send on the same Ethernet interface (so the same eTSEC) a
frame with VLAN tag and without VLAN tag.

If I understand correctly mpc8315 Family reference manual rev 2, when TX
VLAN hardware acceleration is enable, the eTSEC always add the VLAN TAG
-from FCB or from the default TAG register).

Could you confirm is not possible to send frame without tag when Tx VLAN
hardware acceleration is enable?

Thanks

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

* Re: Gianfar : Q : Tx VLAN hardware accelaration
  2013-02-01  9:45 Gianfar : Q : Tx VLAN hardware accelaration voncken
@ 2013-02-04 10:04 ` Claudiu Manoil
  0 siblings, 0 replies; 2+ messages in thread
From: Claudiu Manoil @ 2013-02-04 10:04 UTC (permalink / raw)
  To: voncken; +Cc: netdev

On 2/1/2013 11:45 AM, voncken wrote:
> 	Hi Claudiu,
>
> I would like to send on the same Ethernet interface (so the same eTSEC) a
> frame with VLAN tag and without VLAN tag.
>
> If I understand correctly mpc8315 Family reference manual rev 2, when TX
> VLAN hardware acceleration is enable, the eTSEC always add the VLAN TAG
> -from FCB or from the default TAG register).
>
> Could you confirm is not possible to send frame without tag when Tx VLAN
> hardware acceleration is enable?
>
> Thanks
>

Hi Cedric,
If I remember correctly, if the hw vlan tag insertion feature is
activated then vlan tag 0 is inserted for non-vlan frames. VLAN-aware
hosts can deal with this, however this may pose problems for the
vlan-unaware ones (e.g. 802.1Q support not activated). I think this
is the main reason why the tx vlan accel is turned off by default.

regards,
Claudiu

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

end of thread, other threads:[~2013-02-04 10:04 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-02-01  9:45 Gianfar : Q : Tx VLAN hardware accelaration voncken
2013-02-04 10:04 ` Claudiu Manoil

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).