Forum Discussion

torstein18's avatar
torstein18
Icon for Occasional Contributor rankOccasional Contributor
2 months ago

Agilex3 ip fragmented packets gets corrupted

Hi

I have a problem where the agilex3 HPS is not able to correctly reassemble ip-fragmented packets, I have included two pcaps one that show what the host is sending to the agilex and one that show the reception on the agilex. As you can see in the agilex.pcapng some of the packets gets corrupted in strange ways and gets wrong checksum.

I use the DK-A3W135BM16AEA: Agilex® 3 FPGA and SoC C-Series Development Kit and has based my project on this example: 

https://altera-fpga.github.io/rel-25.3.1/embedded-designs/agilex-3/c-series/gsrd/ug-gsrd-agx3/

Anybody know whats going on here?

5 Replies

  • torstein18's avatar
    torstein18
    Icon for Occasional Contributor rankOccasional Contributor

    I am able to bypass this problem by running this command:  ethtool -K eth0 rx off

    Does anybody know if there is any bugs in the network driver?
    Here is the version I use:

    root@agilex3:~# ethtool -i eth0
    driver: st_xgmac
    version: 6.12.43-altera-gf6106cadb53b
    firmware-version:
    expansion-rom-version:
    bus-info: 10830000.ethernet
    supports-statistics: yes
    supports-test: no
    supports-eeprom-access: no
    supports-register-dump: yes
    supports-priv-flags: no

  • KelvinK_Altera's avatar
    KelvinK_Altera
    Icon for Occasional Contributor rankOccasional Contributor

    Hi, I'm looking into this issue, will get back to you once I have the answer.

    • torstein18's avatar
      torstein18
      Icon for Occasional Contributor rankOccasional Contributor

      Thanks, did you see the pcaps I uploaded?
      I can not see them anymore, but I'm sure I uploaded them

      • KelvinK_Altera's avatar
        KelvinK_Altera
        Icon for Occasional Contributor rankOccasional Contributor

        I don't see the pcaps file. Can you upload it again.