Duplicate packets not removed when HSR firmwares reloaded

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: Medium
    • Linux Core SDK
    • LCPD-44864
    • Hide
      11.01
      11.00
      Show
      11.01 11.00
    • 11.02
    • Hide
      am64xx-evm
      am64xx-hsevm
      Show
      am64xx-evm am64xx-hsevm

      When the HSR PRU firmwares are reloaded, it causes duplicate packets to not be removed. This is observed when at least 100 packets are sent from one board to another board. 

      Steps to reproduce:

      1. Connect EVM1 <> EVM2 <> EVM3 in a ring (2-devices could probably also produce the same issue)
      2. Set 100M on eth1 and eth2 with the same ethtool commands you used (100M not necessary, 1G also produces same issue)
      3. Ensure the eth interfaces are brought up
      4. Set up hsr offload + cut-through (non-cut-through also produces same issue)
      5. Check /proc/interrupts | grep icssg on EVM3
      6. Ping from EVM1 to EVM3 to verify communication (at least 100pkts)
      7. Check /proc/interrupts | grep icssg on EVM3 to see only increments on one ICSSG port
      8. Bring eth1 and eth2 down and back up on all 3 EVMs
      9. Check /proc/interrupts | grep icssg on EVM3
      10. Ping from EVM1 to EVM3 (at least 100pkts)
      11. Check /proc/interrupts | grep icssg on EVM3 to see increments by at least 100pkts on each of the two ICSSG ports --> indicates duplicated packets are not removed

      Logs:

      EVM1: https://gist.github.com/dao-qiu/29b346a21d49160b6f9d8ca5ee974c1d 
      EVM2: https://gist.github.com/dao-qiu/5553dd8828f2e632fe0b54dedbf5c341 
      EVM3: https://gist.github.com/dao-qiu/e4302ed3b392b3366432f0ee950cba0a 

       Fix: Patch merged to Upstream net-next - https://lore.kernel.org/all/20250814105106.1491871-1-danishanwar@ti.com/#r
      Will be ported to ti-linux-kernel as part of stable sync.

            Assignee:
            TI User
            Reporter:
            TI User
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:

                Connection: Intermediate to External PROD System
                EXTSYNC-5981 - Duplicate packets not removed when ...
                SYNCHRONIZED
                • Last Sync Date: