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.

66AK2H12: Ethernet Throughput less between switch and Processor

Part Number: 66AK2H12

Hello,

In my custom board, I have connected 66AK2H12 and two M88E6131 gigabit ethernet switches SGMII0,SGMII1 respectively.

SGMII 2 of processor is connected to M88E1111 gigabit ethernet Phy.

I have got  through-put between processor and both switches  (66.7 KiB/s constantly) in u-boot 2013 version whereas

gigabit phy and processor is giving around 2.2 MiB/s .

I have made configuration for switches and processor as MAC MAC FORCED in which processor is the SGMII master in u-boot.

For your info, MAC MAC AUTONEG config is not working fine.

I measured the waveforms of TX and RX which looks good.

Also I have verified the statistics counters on processor and switches which also looks fine (No errors or packet drops).

My question is whether any additional things have to be taken care for SGMII MAC MAC configurations?

Do i need to do any extra things  with serdes init settings (com, cmu,lane settings) such as boost,attenuation?

Let me know if any further details re required.

It is very much urgent to resolve the issue. Kindly help on this.

P.S: I am not sure which document the com,cmu,lanes are being referred in u-boot as well as CSL serdes settings.

Because the serdes settings is not matching with SPRUHO3A.

Regards,

Sivanantham

  • Hi Sivanantham,

    I've forwarded this to the ethernet experts. Their feedback should be posted here.

    BR
    Tsvetolin Shulev
  • Hi,

    Please clarify the exact U-boot version and Linux kernel version if used. The throughput is TCP or UDP or TFTP, is it downloading some file via TFTP in u-boot or iperf test in Linux?

    In the SGMII modules you didn't see any error counters, correct? Are you able to isolate the problem is caused by switch or not?

    Regards, Eric
  • Hi,

    Thanks for the reply.

    I am using   U-boot Version :     U-Boot 2013.01 (from ti keystone linux git repo)

    Linux Kernel version: 3.10.10 (Rionet support (rio-dev-dio)  downloaded from ti keystone linux git repo)

    Currently the throughput is measured in TFTP transfer in uboot. The throughput is not yet tested in linux using iperf.

    In another my card (different processor) where the same switch with same sgmii mode is working fine.

    For your info, Switch, Processor side no error count or packet drop count is ticked.

    I will try to isolate the problem with  processor or switch.

    Kindly help on this.

    Regards,

    Sivanantham

  • Hi,
    Thanks for the reply. I configured the switch settings in linux, then i changed the ipaddress of phy and switch in different domains. After this changes, I have performed throughput test using iperf. I got 962Mbps for both Phy and Switch. Is the throughput expected in linux or still any improvement possible?

    Kindly confirm.

    Regards,
    Sivanantham