Virtex TEMAC ping -s 10000 host, is it working?
Hi All!
On Virtex 4FX board with TEMAC core, Linux ping working fine, but if s - parameter set to big values it freezes for ever...
Colleagues please share your experience with ping -s 10000 host.
Do you know what parameters in core or in Linux kernel must be changed to improve it.
My customer is too hypercritical, he likes to ping :(
I tried to increase LX/TX buffers in core, it increased dead line but there is no desirable result.
Signature · 2 lines
View this message in context: http://www.nabble.com/Virtex-TEMAC-ping--s-10000-host%2C-is-it-working--tf4812989.html#a13770288 Sent from the linuxppc-embedded mailing list archive at Nabble.com.
Quoted 8 lines · alex_snippet
Hi All!
On Virtex 4FX board with TEMAC core, Linux ping working fine, but if s - parameter set to big values it freezes for ever...
Colleagues please share your experience with ping -s 10000 host.
Quoted 10 lines
Do you know what parameters in core or in Linux kernel must be changed to improve it.
My customer is too hypercritical, he likes to ping :(
I tried to increase LX/TX buffers in core, it increased dead line but there is no desirable result.
Hey, I can understand that customer, I like pinging as well. And it works for me. Our design is based on ML403. We use PLB_TEMAC (with minimum Fifos (4kB each)) and HardTEMAC
Quoted 8 lines
.
.
.
10008 bytes from 192.168.0.206: icmp_seq=733 ttl=64 time=2.42 ms 10008 bytes from 192.168.0.206: icmp_seq=734 ttl=64 time=2.50 ms 10008 bytes from 192.168.0.206: icmp_seq=735 ttl=64 time=2.43 ms 10008 bytes from 192.168.0.206: icmp_seq=736 ttl=64 time=2.43 ms 10008 bytes from 192.168.0.206: icmp_seq=737 ttl=64 time=2.44 ms
Quoted 9 lines
10008 bytes from 192.168.0.206: icmp_seq=738 ttl=64 time=2.42 ms 10008 bytes from 192.168.0.206: icmp_seq=739 ttl=64 time=2.51 ms 10008 bytes from 192.168.0.206: icmp_seq=740 ttl=64 time=2.42 ms 10008 bytes from 192.168.0.206: icmp_seq=741 ttl=64 time=2.50 ms 10008 bytes from 192.168.0.206: icmp_seq=742 ttl=64 time=2.43 ms .
.
.
And so on...
Quoted 4 lines
--- 192.168.0.206 ping statistics ---
850 packets transmitted, 850 received, 0% packet loss, time 849010ms rtt min/avg/max/mdev = 2.399/11.623/1001.859/92.782 ms, pipe 3
Signature · 2 lines
View this message in context: http://www.nabble.com/Virtex-TEMAC-ping--s-10000-host%2C-is-it-working--tf4812989.html#a13790720 Sent from the linuxppc-embedded mailing list archive at Nabble.com.
Hi Lorenz Kolb,
Thank you for answering.
It's interesting to see some info from your design files, PLB_TEMAC & HardTEMAC description from mhs,
and kernel .config network section.
The biggest problem that i actually do not understand what kind of problem is it, hardware or software or configuration.
Quoted 55 lines · Lorenz Kolb
Quoted 8 lines · alex_snippet
Hi All!
On Virtex 4FX board with TEMAC core, Linux ping working fine, but if s - parameter set to big values it freezes for ever...
Colleagues please share your experience with ping -s 10000 host.
Quoted 10 lines
Do you know what parameters in core or in Linux kernel must be changed to improve it.
My customer is too hypercritical, he likes to ping :(
I tried to increase LX/TX buffers in core, it increased dead line but there is no desirable result.
Hey, I can understand that customer, I like pinging as well. And it works for me. Our design is based on ML403. We use
PLB_TEMAC(with minimum Fifos (4kB each)) and HardTEMACQuoted 8 lines
.
.
.
10008 bytes from 192.168.0.206: icmp_seq=733 ttl=64 time=2.42 ms 10008 bytes from 192.168.0.206: icmp_seq=734 ttl=64 time=2.50 ms 10008 bytes from 192.168.0.206: icmp_seq=735 ttl=64 time=2.43 ms 10008 bytes from 192.168.0.206: icmp_seq=736 ttl=64 time=2.43 ms 10008 bytes from 192.168.0.206: icmp_seq=737 ttl=64 time=2.44 msQuoted 9 lines
10008 bytes from 192.168.0.206: icmp_seq=738 ttl=64 time=2.42 ms 10008 bytes from 192.168.0.206: icmp_seq=739 ttl=64 time=2.51 ms 10008 bytes from 192.168.0.206: icmp_seq=740 ttl=64 time=2.42 ms 10008 bytes from 192.168.0.206: icmp_seq=741 ttl=64 time=2.50 ms 10008 bytes from 192.168.0.206: icmp_seq=742 ttl=64 time=2.43 ms .
.
.And so on...
Quoted 4 lines
--- 192.168.0.206 ping statistics ---
850 packets transmitted, 850 received, 0% packet loss, time 849010ms rtt min/avg/max/mdev = 2.399/11.623/1001.859/92.782 ms, pipe 3
Signature · 2 lines
View this message in context: http://www.nabble.com/Virtex-TEMAC-ping--s-10000-host%2C-is-it-working--tf4812989.html#a13830023 Sent from the linuxppc-embedded mailing list archive at Nabble.com.
Quoted 6 lines · alex_snippet
It's interesting to see some info from your design files,
PLB_TEMAC& HardTEMAC description from mhs,
and kernel .config network section.
.mhs
Quoted 30 lines
<snip>
BEGINhard_temac
PARAMETER INSTANCE =hard_temac_0
PARAMETERHW_VER= 3.00.a
BUS_INTERFACEV4EMACDST0 =plb_temac_0_V4EMACSRCPORTMII_TX_CLK_0=fpga_0_Hard_Temac_0_MII_TX_CLK_0PORTGMII_TXD_0=fpga_0_Hard_Temac_0_GMII_TXD_0PORTGMII_TX_EN_0=fpga_0_Hard_Temac_0_GMII_TX_EN_0PORTGMII_TX_ER_0=fpga_0_Hard_Temac_0_GMII_TX_ER_0PORTGMII_TX_CLK_0=fpga_0_Hard_Temac_0_GMII_TX_CLK_0PORTGMII_RXD_0=fpga_0_Hard_Temac_0_GMII_RXD_0PORTGMII_RX_DV_0=fpga_0_Hard_Temac_0_GMII_RX_DV_0PORTGMII_RX_ER_0=fpga_0_Hard_Temac_0_GMII_RX_ER_0PORTGMII_RX_CLK_0=fpga_0_Hard_Temac_0_GMII_RX_CLK_0PORTMDC_0=fpga_0_Hard_Temac_0_MDC_0
PORTMDIO_0=fpga_0_Hard_Temac_0_MDIO_0
PORT RESET =Emac_Reset_s
PORTGTX_CLK_0=temac_0_clk_s
PORT REFCLK =sys_clk
ENDBEGIN
plb_temac
PARAMETER INSTANCE =plb_temac_0
PARAMETERHW_VER= 3.00.a
PARAMETERC_MAC_FIFO_DEPTH= 64
PARAMETERC_RX_DRE_TYPE= 0
PARAMETERC_TX_DRE_TYPE= 0
PARAMETERC_DMA_TYPE= 1
PARAMETERC_PLB_CLK_PERIOD_PS= 10000
PARAMETERC_BASEADDR=0x40000000
Quoted 9 lines
PARAMETER
C_HIGHADDR=0x4000FFFFBUS_INTERFACEV4EMACSRC =plb_temac_0_V4EMACSRCBUS_INTERFACEMSPLB =plb_v34_0
PORTEmac_Reset=Emac_Reset_s
PORT PhyResetN =fpga_0_TriMode_MAC_GMII_PhyResetNPORTIP2INTC_Irpt=plb_temac_0_IP2INTC_Irpt
END
<snap>
.config
Quoted 6 lines
<snip>
#
# Networking
#CONFIG_NET=y
Quoted 12 lines
#
# Networking options
#CONFIG_PACKET=yCONFIG_PACKET_MMAP=yCONFIG_UNIX=yCONFIG_INET=yCONFIG_IP_FIB_HASH=yCONFIG_TCP_CONG_CUBIC=yCONFIG_DEFAULT_TCP_CONG="cubic"
<snap>
We use the Temac driver from Grant's tree.
Nevertheless we changed the auto-negotiation code, as we had problem with the default code when using the same code in U-Boot.
I have attached our auto-negotiation patch (nevertheless the old auto-negotiation worked fine with the linux kernel, the main reason we patched that is to hold the code base to maintain minimal).
http://www.nabble.com/file/p13852281/0018-TEMAC-changed-renegotiation-function-to-ESIC-U-Boo.patch
0018-TEMAC-changed-renegotiation-function-to-ESIC-U-Boo.patch
Quoted 4 lines · alex_snippet
The biggest problem that i actually do not understand what kind of problem is it, hardware or software or configuration.
Regards,
--
Lorenz Kolb
Embedded specialist
ESIC Solutions
San Jose, CA
Neu-Ulm, Germany
Signature · 2 lines
View this message in context: http://www.nabble.com/Virtex-TEMAC-ping--s-10000-host%2C-is-it-working--tf4812989.html#a13852281 Sent from the linuxppc-embedded mailing list archive at Nabble.com.