Skip to contentSkip to conversation

Gianfar : Q : Tx VLAN hardware accelaration

DISCUSSION voncken 2 participants 2 messages Feb 1, 2013 – Feb 4, 2013

Subsystems (2)
lore
Share & tools
lore

voncken

author
#0 lore raw

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

#1 lore raw
Quoted 5 lines · voncken

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.

Quoted 9 lines

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