This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

VLAN tag doesn't get disabled

Hi,

I am using vayu EVM J6 board. I work with PTP Packets for achieving time stamping. I see that my outgoing packets get VLAN tagged(4 Bytes) at the 12th-15th byte. This occurs, even when the VLAN support is disabled in the config file.

I don't want my outgoing EVENT Packets to have these 4 bytes (VLAN Tag). Please help me in disabling this entirely, So that I will not have any VLAN Tag in my outgoing PTP Packets.

Note: I use GLSDK 6.04 and Ubuntu 12.04.

Thanks,

Shylesh S

  • Hi Shylesh,

    Seems that you have some VLAN configuration issue. You should remove the VLAN encapsulation on the egress port. You can find description about removing on VLAN at:
    processors.wiki.ti.com/.../Sitara_Linux_Dual_Emac_Mode
    You should focus on the force_untagged_egress variable.
    Also you can read in the TRM about VLAN settings.

    BR
    Tsvetolin Shulev
  • Hi Cvetolin,

    Thanks for the valuable reply. I went through the link and TRM regarding the VLAN Settings. It seems like, I am using the CPSW driver which is yet to be developed completely. Because, I found a comment in cpsw.c file which says,

             *The switch cannot filter multicast traffic unless it is configured
             * in "VLAN Aware" mode.  Unfortunately, VLAN awareness requires a
             * whole bunch of additional logic that this driver does not implement
             * at present.

    I am actually using GLSDK 6.04 version, where I couldn't find the variable "force_untagged_egress".

    Can you please let me know which version of GLSDK is to be used to achieve this, or if any patches are available to fix this?

    Thanks and Regards,
    Shylesh S