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.

TDA4VM: CPSW2G errata: CPSW: ALE Incorrectly Routes Packets With CRC Errors

Part Number: TDA4VM
Other Parts Discussed in Thread: DRA829

Hi TI,

  1. Which packets ALE routes incorrectly with CRC errors?
  2. The packets received on ALE from the CPU side which contains software crc appended on the ethernet packets, right?
  3. If the CRC is hardware generated, it will be appened on the ethernet packet by MAC Port egress, in that case this errata is irrerelant, right?
  4. or is this CRC is packet protect CRC?
  5. Please confirm if the errata is valid of CPSW2G, CPSW9G or both?
  6. Please explain this errata in detail.


Looking forward to your response.


Best regards,
Hasan


  • Hi,

    Which packets ALE routes incorrectly with CRC errors?

    As per Errata description, If any error packet ingresses to CPSW and any of egress Opcode applicable for InterVLAN, OAM then only ALE incorrectly routes the packets when errored packets should have been dropped.

    The packets received on ALE from the CPU side which contains software crc appended on the ethernet packets, right?

    Yes, CRC either added by CPSW H/W or application, by default enabled at CPSW H/W to append on egress of ethernet packet.

    If the CRC is hardware generated, it will be appened on the ethernet packet by MAC Port egress, in that case this errata is irrerelant, right?

    Yes. this errata is only applicable for the packets ingresses to CPSW.

    or is this CRC is packet protect CRC?

    Yes, this is the packet protected CRC.

    Please confirm if the errata is valid of CPSW2G, CPSW9G or both?

    Yes, it is applicable to both CPSW2G and CPSW9G.

    By default CPSW will drop error packets ingress on external MAC ports, and CPSW H/W will append the CRC for the traffic generated at internal CPUs form the example applications in TI SDKs.

    Best Regards,
    Sudheer

  • Hi,


    As per Errata description, If any error packet ingresses to CPSW and any of egress Opcode applicable for InterVLAN, OAM then only ALE incorrectly routes the packets when errored packets should have been dropped.

    If InterVLAN, OAM features of ALE are not used, then this errata will become irrelevant, right?

    this errata is only applicable for the packets ingresses to CPSW.

    ingress to cpsw from which direction? 

    - Ingress at MAC Port from PHY side

    - Ingress at MAC Port from Host Port side

    - Ingress at Host Port from CPU side

    - Ingress at Host Port from MAC Port side

    Looking forward to your response.

    Best regards,
    Hasan

  • Hi,

    If InterVLAN, OAM features of ALE are not used, then this errata will become irrelevant, right?

    Yes.
    Also, default error packets are dropped at MAC and which is recommended So, this errata is not applicable.

    this errata is only applicable for the packets ingresses to CPSW.

    ingress to cpsw from which direction? 

    - Ingress at MAC Port from PHY side

    - Ingress at MAC Port from Host Port side

    - Ingress at Host Port from CPU side

    - Ingress at Host Port from MAC Port side

    Ingress to CPSW is either from CPU side to Host Port or from PHY to MAC Port.
    MAC Port <-> Host Port is a internal data forwarding not ingress traffic.

    Also, as mentioned above allowing error packets is not recommended so this errata is not applicable.

    Best Regards,
    Sudheer

  • This issue only exists on J7ES and DRA829 and is only applicable if the InterVLAN or OAM hardware feature is enabled. 

    If the InterVLAN routing or OAM is enabled, a packet arriving with a CRC error will be forwarded to the destination port with a CRC error, so the remote device will not process the packet.

  • This issue only exists on J7ES and DRA829 and is only applicable if the InterVLAN or OAM hardware feature is enabled. 

    If the InterVLAN routing or OAM is enabled, a packet arriving with a CRC error will be forwarded to the destination port with a CRC error, so the remote device will not process the packet.

    This only applies to ALE version 1.4.7.3 all other versions do not have this error.

  • This issue only exists on J7ES and DRA829 and is only applicable if the InterVLAN or OAM hardware feature is enabled. 

    If the InterVLAN routing or OAM is enabled, a packet arriving with a CRC error will be forwarded to the destination port with a CRC error, so the remote device will not process the packet.

    This only applies to ALE version 1.4.7.3 all other versions do not have this error.