UPGRADE YOUR BROWSER

We have detected your current browser version is not the latest one. Xilinx.com uses the latest web technologies to bring you the best online experience possible. Please upgrade to a Xilinx.com supported browser:Chrome, Firefox, Internet Explorer 11, Safari. Thank you!

cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Adventurer
Adventurer
4,956 Views
Registered: ‎01-26-2017

Is there petalinux 2017.2 support for 10G Ethernet Subsystem v2.2 (xxv-ethernet-2.2) similar to XAPP1305?

Jump to solution

Hi,

 

We are migrating a design based upon XAPP1305 to the 2017.2 tools and are having an issue getting the xxv-ethernet to function correctly within the petalinux kernel.

 

The 2017.2 tools upgraded xxv-ethernet-2.0 to xxv-ethernet-2.2. Is there a patch someplace that has support for using the xxv-ethernet-2.2?

 

The xxv-ethernet-2.0 patch included in the XAPP1305 2016.4 has works well with the 2016.4 tools. Just checking to see if there is a xxv-ethernet-2.2 patch or another workaround for using the xxv-ethernet-2.2.

 

Also, are there any planned XAPP1305 zip file updates to target the newer 2017 Vivado/Petalinux versions?

 

Thanks!

Adam

1 Solution

Accepted Solutions
Adventurer
Adventurer
7,410 Views
Registered: ‎01-26-2017

Re: Is there petalinux 2017.2 support for 10G Ethernet Subsystem v2.2 (xxv-ethernet-2.2) similar to XAPP1305?

Jump to solution

@haberlan2

I did not need to install any patches. The 4.9 kernel appears to have the xxv patches from the 2016.4 xapp1305 already included.

 

Here is a basic overview of what I did to get my 2017.2 project working.

$ source /opt/Xilinx/petalinux-v2017.2-final/settings.sh
$ petalinux-create -t project -s xilinx-zcu102-v2017.2-final.bsp
$ cd xilinx-zcu102-v2017.2
$ petalinux-config --get-hw-description=../pl_eth_10g.sdk/
$ petalinux-config -c kernel
    Device Drivers
        PHY Device and Infrastructure
            Enable Xilinx PHY
$ petalinux-config
    u-boot Configuration
        u-boot config target
            xilinx_zynqmp_zcu102_revB_defconfig
    DTG settings
        MACHINE_NAME = template
$ cp device_tree project-spec/meta-user/recipes-bsp/
$ petalinux-build
$ petalinux-package --force --boot --fsbl=zynqmp_fsbl.elf --fpga=pl_eth_10g_wrapper.bit --u-boot

 

Here is the device tree overlay I used:

/include/ "system-conf.dtsi"
/ {
};
&xxv_ethernet_0 {
        local-mac-address = [00 0a 35 00 00 00];
        xlnx,anlt-clk-in-mhz = <0x64>;
    };
&gem3 {
        phy@c {
            reg = <0xc>;
            ti,rx-internal-delay = <0x8>;
            ti,tx-internal-delay = <0xa>;
            ti,fifo-depth = <0x1>;
            ti,rxctrl-strap-worka;
            linux,phandle = <0x11>;
            phandle = <0x11>;
      };
};

View solution in original post

0 Kudos
38 Replies
Moderator
Moderator
4,861 Views
Registered: ‎08-25-2009

Re: Is there petalinux 2017.2 support for 10G Ethernet Subsystem v2.2 (xxv-ethernet-2.2) similar to XAPP1305?

Jump to solution
We do have xapp1305 updated to 2017.1. I can send you the project offline if needed.
"Don't forget to reply, kudo and accept as solution."
0 Kudos
Adventurer
Adventurer
4,855 Views
Registered: ‎01-26-2017

Re: Is there petalinux 2017.2 support for 10G Ethernet Subsystem v2.2 (xxv-ethernet-2.2) similar to XAPP1305?

Jump to solution

Thanks, that would be very helpful. Could you please send me the files offline?

 

We are working with a designed based off of the 10G XAPP1305 design using production silicon. Which Vivado/Petalinux version (2017.1 or 2017.2) would you recommend for us?

 

Additionally, are there any plans to migrate the XAPP1305 to the 2017.2 or newer Vivado?

 

Thanks again!

Adam

0 Kudos
Moderator
Moderator
4,841 Views
Registered: ‎08-25-2009

Re: Is there petalinux 2017.2 support for 10G Ethernet Subsystem v2.2 (xxv-ethernet-2.2) similar to XAPP1305?

Jump to solution

@adamdunc I have sent you the design, please check. I'd recommend using 2017.1 if there is no strong reasons in using 2017.2. As far as I know, we have no plan to update it to 2017.2 for now. (But this may change in the future)

"Don't forget to reply, kudo and accept as solution."
0 Kudos
Adventurer
Adventurer
4,839 Views
Registered: ‎01-26-2017

Re: Is there petalinux 2017.2 support for 10G Ethernet Subsystem v2.2 (xxv-ethernet-2.2) similar to XAPP1305?

Jump to solution

Thanks nanz! I will download the package and test.

 

The primary reason we were using 2017.2 was that we are using production silicon in our ZCU102. I thought I had read that the 2017.1 only supported the ES1 and ES2 variants. Do you know if the production zynq ultrascale+ devices are supported in 2017.1?

 

Thanks again,

Adam

0 Kudos
Moderator
Moderator
4,836 Views
Registered: ‎08-25-2009

Re: Is there petalinux 2017.2 support for 10G Ethernet Subsystem v2.2 (xxv-ethernet-2.2) similar to XAPP1305?

Jump to solution

@adamdunc Yes, the production devices are supported in 2017.1.

"Don't forget to reply, kudo and accept as solution."
0 Kudos
Adventurer
Adventurer
4,818 Views
Registered: ‎01-26-2017

Re: Is there petalinux 2017.2 support for 10G Ethernet Subsystem v2.2 (xxv-ethernet-2.2) similar to XAPP1305?

Jump to solution

nanz,

 

Thanks for the files. I was able to get the 10G port working with the ready to test files as well as running the 2017.1 Vivado scripts, loading BSP and HDF for petalinux and building petalinux.

 

Every file however I have booted from the files (including the ready to test files) seems to disconnect the RJ45 GEM3 port at some point during the boot process. So even though the GEM3 is enabled in the Vivado PS, when the kernel finishes booting, there is only ETH0 present which represents the 10G SFP. Is this a known issue? Do you know if there is a workaround available?

 

Thanks,

Adam

0 Kudos
Moderator
Moderator
4,801 Views
Registered: ‎08-25-2009

Re: Is there petalinux 2017.2 support for 10G Ethernet Subsystem v2.2 (xxv-ethernet-2.2) similar to XAPP1305?

Jump to solution

@adamdunc For dual Ethernet to work with single MDIO, I believe there is a patch needed. Uboot does not support single MDIO with dual PHYs.

"Don't forget to reply, kudo and accept as solution."
0 Kudos
Observer haberlan2
Observer
4,743 Views
Registered: ‎08-11-2015

Re: Is there petalinux 2017.2 support for 10G Ethernet Subsystem v2.2 (xxv-ethernet-2.2) similar to XAPP1305?

Jump to solution

Would you please send me the 2017.1 files too?

 

Which patch is required to get gem3 and the 10G working?  (I just need both to work in linux - only need gem3 in u-boot).

 

Thanks!

 

0 Kudos
Adventurer
Adventurer
4,740 Views
Registered: ‎01-26-2017

Re: Is there petalinux 2017.2 support for 10G Ethernet Subsystem v2.2 (xxv-ethernet-2.2) similar to XAPP1305?

Jump to solution

I was able to get both the PL 10G and GEM3 working in 2017.1 and 2017.2 with the following device tree overlay:

 

/include/ "system-conf.dtsi"
/ {
};
&xxv_ethernet_0 {
        local-mac-address = [00 0a 35 00 00 00];
        xlnx,anlt-clk-in-mhz = <0x64>;
    };
&gem3 {
        phy@c {
            reg = <0xc>;
            ti,rx-internal-delay = <0x8>;
            ti,tx-internal-delay = <0xa>;
            ti,fifo-depth = <0x1>;
            ti,rxctrl-strap-worka;
            linux,phandle = <0x11>;
            phandle = <0x11>;
      };
};

Observer jsaxer
Observer
4,888 Views
Registered: ‎03-09-2015

Re: Is there petalinux 2017.2 support for 10G Ethernet Subsystem v2.2 (xxv-ethernet-2.2) similar to XAPP1305?

Jump to solution

I need the 2017.1 version referenced in the appnote as well. How can I get the file?

0 Kudos
Observer haberlan2
Observer
4,853 Views
Registered: ‎08-11-2015

Re: Is there petalinux 2017.2 support for 10G Ethernet Subsystem v2.2 (xxv-ethernet-2.2) similar to XAPP1305?

Jump to solution

I'm building with 2017.2 but am unable to get the 10G interface to come up.  AXI errors shown at bottom of this posting.

 

Some questions:

 

Are there patches I need to install in 2017.2?  There were in 2016.4 but they weren't in the 2017.1 zip.

I didn't find a direct correlation for the Xilinx DMA item in kernel config.  I disabled them all.

 

 

root@pl-eth:~# ifconfig eth1 192.168.90.91 up
[ 86.954036] xilinx_axienet 80010000.ethernet eth1: __axienet_device_reset: DMA reset timeout!
[ 86.963976] xilinx_axienet 80010000.ethernet eth1: __axienet_device_reset: DMA reset timeout!
[ 86.973893] xilinx_axienet 80010000.ethernet eth1: axienet_device_reset: Block lock bit of XXV MAC didn't
[ 86.983390] xilinx_axienet 80010000.ethernet eth1: Got Set cross check the ref clock
[ 86.991112] xilinx_axienet 80010000.ethernet eth1: Configuration for the mac
root@pl-eth:~# ifconfig -a
eth0 Link encap:Ethernet HWaddr 00:0A:35:00:22:01
inet addr:10.18.9.236 Bcast:10.18.9.255 Mask:255.255.255.0
inet6 addr: fe80::20a:35ff:fe00:2201%4879704/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:237 errors:0 dropped:0 overruns:0 frame:0
TX packets:221 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:27230 (26.5 KiB) TX bytes:37727 (36.8 KiB)
Interrupt:31

eth1 Link encap:Ethernet HWaddr 00:0A:35:00:00:00
inet addr:192.168.90.91 Bcast:192.168.90.255 Mask:255.255.255.0
inet6 addr: fe80::20a:35ff:fe00:0%4879704/64 Scope:Link
UP BROADCAST RUNNING MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)

0 Kudos
Observer jsaxer
Observer
4,844 Views
Registered: ‎03-09-2015

Re: Is there petalinux 2017.2 support for 10G Ethernet Subsystem v2.2 (xxv-ethernet-2.2) similar to XAPP1305?

Jump to solution

I am getting this same error in my 2017.1 build as it comes up

     [ 86.973893] xilinx_axienet 80010000.ethernet eth1: axienet_device_reset: Block lock bit of XXV MAC didn't

I have been looking to see if I did something incorrectly, but I am concerned that there is a patch missing as well.

 

If you were able to get the 2017.1 version up, did you get this error or not?

0 Kudos
Adventurer
Adventurer
7,411 Views
Registered: ‎01-26-2017

Re: Is there petalinux 2017.2 support for 10G Ethernet Subsystem v2.2 (xxv-ethernet-2.2) similar to XAPP1305?

Jump to solution

@haberlan2

I did not need to install any patches. The 4.9 kernel appears to have the xxv patches from the 2016.4 xapp1305 already included.

 

Here is a basic overview of what I did to get my 2017.2 project working.

$ source /opt/Xilinx/petalinux-v2017.2-final/settings.sh
$ petalinux-create -t project -s xilinx-zcu102-v2017.2-final.bsp
$ cd xilinx-zcu102-v2017.2
$ petalinux-config --get-hw-description=../pl_eth_10g.sdk/
$ petalinux-config -c kernel
    Device Drivers
        PHY Device and Infrastructure
            Enable Xilinx PHY
$ petalinux-config
    u-boot Configuration
        u-boot config target
            xilinx_zynqmp_zcu102_revB_defconfig
    DTG settings
        MACHINE_NAME = template
$ cp device_tree project-spec/meta-user/recipes-bsp/
$ petalinux-build
$ petalinux-package --force --boot --fsbl=zynqmp_fsbl.elf --fpga=pl_eth_10g_wrapper.bit --u-boot

 

Here is the device tree overlay I used:

/include/ "system-conf.dtsi"
/ {
};
&xxv_ethernet_0 {
        local-mac-address = [00 0a 35 00 00 00];
        xlnx,anlt-clk-in-mhz = <0x64>;
    };
&gem3 {
        phy@c {
            reg = <0xc>;
            ti,rx-internal-delay = <0x8>;
            ti,tx-internal-delay = <0xa>;
            ti,fifo-depth = <0x1>;
            ti,rxctrl-strap-worka;
            linux,phandle = <0x11>;
            phandle = <0x11>;
      };
};

View solution in original post

0 Kudos
Adventurer
Adventurer
4,812 Views
Registered: ‎01-26-2017

Re: Is there petalinux 2017.2 support for 10G Ethernet Subsystem v2.2 (xxv-ethernet-2.2) similar to XAPP1305?

Jump to solution

@jsaxer

 

I observed that error when I tried to bring up the 10G interface when the other end of the cable was not connected to another 10G NIC.

 

When I loaded my 2017.1 or 2017.2 design into two ZCU102s and connected a 10G SFP+ cable between the SFP ports (ETH1 in my case), the error went away.

 

-Adam

0 Kudos
Adventurer
Adventurer
4,797 Views
Registered: ‎01-26-2017

Re: Is there petalinux 2017.2 support for 10G Ethernet Subsystem v2.2 (xxv-ethernet-2.2) similar to XAPP1305?

Jump to solution

@nanz

 

Do you know if there is an issue with the the 10G driver and the setting of jumbo frames in the 2017.1 and 2017.2 10G driver/kernel? I am seeing kernel panic messages with MTU=8192 and 9000 as described below. I also cannot change change the mtu size more than once with 2017.1 or 2017.2 10G designs.

 

--

 

With the 2016.4 xapp1305 10G design as sent the 10G is by default down as ETH1 after booting.  I can change the mtu to be 1500, 8192, or 9000 and run ping -s 9000, iperf and netperf without any issue. I can also issue:

 

ifconfig eth1 down

fconfig eth1 mtu 9000

ifconfig eth1 up

 

to change the mtu as many times as I want and still ping -s 9000, iperf and netperf.

 

--

 

With the 2017.1 xapp1305 10G design as sent, the 10G is up as ETH0 after booting with mtu=1500 and can ping -s 9000, iperf3 and netperf. However, when I issue:

 

ifconfig eth0 down

ifconfig eth0 mtu 9000

 

I get an error on the "ifconfig eth0 mtu 9000" stating ifconfig: SIOCSIFMTU: invalid argument

 

I then modified the 2017.1 xapp1305 to add in GEM3 as ETH0 to push the 10G port to ETH1. In this case, when I boot, ETH1 is down by default. When I issue the following:

 

ifconfig eth1 down

fconfig eth1 mtu 9000

ifconfig eth1 up

 

I can ping fine with the default packet size, but I get kernel panic when pinging with

 

ping -s 9000

 

I also get kernel panics when running netperf and iperf3 with mtu values of 8192 and 9000.

 

Is there something I can change to fix this?

 

Thanks!

Adam

 

0 Kudos
Observer haberlan2
Observer
4,787 Views
Registered: ‎08-11-2015

Re: Is there petalinux 2017.2 support for 10G Ethernet Subsystem v2.2 (xxv-ethernet-2.2) similar to XAPP1305?

Jump to solution

@adamdunc

 

Thank you!  I was able to get it to come up in petalinux with your instructions.

 

Now I have to figure out why gem3 doesn't work in u-boot anymore (but works in petalinux)...

0 Kudos
Observer haberlan2
Observer
4,646 Views
Registered: ‎08-11-2015

Re: Is there petalinux 2017.2 support for 10G Ethernet Subsystem v2.2 (xxv-ethernet-2.2) similar to XAPP1305?

Jump to solution

Have you benchmarked the interface?  I ran iperf3 on it - and performance is really bad.  Is this expected?  Fwiw, I get ~940 Mbits on gem3 to the same host.

 

root@agin:~# iperf3 -c 192.168.90.10 -p 12345
Connecting to host 192.168.90.10, port 12345
[  4] local 192.168.90.11 port 57854 connected to 192.168.90.10 port 12345
[ ID] Interval           Transfer     Bandwidth       Retr  Cwnd
[  4]   0.00-1.00   sec  20.0 MBytes   168 Mbits/sec   96   7.07 KBytes
[  4]   1.00-2.00   sec  20.9 MBytes   176 Mbits/sec  102   24.0 KBytes
[  4]   2.00-3.00   sec  21.9 MBytes   184 Mbits/sec   95   25.5 KBytes
[  4]   3.00-4.00   sec  21.4 MBytes   179 Mbits/sec   89   26.9 KBytes
[  4]   4.00-5.00   sec  20.7 MBytes   174 Mbits/sec  110   17.0 KBytes
[  4]   5.00-6.00   sec  21.0 MBytes   176 Mbits/sec  112   18.4 KBytes
[  4]   6.00-7.00   sec  21.0 MBytes   176 Mbits/sec   98   18.4 KBytes
[  4]   7.00-8.00   sec  20.8 MBytes   174 Mbits/sec  106   12.7 KBytes
[  4]   8.00-9.00   sec  20.9 MBytes   175 Mbits/sec  104   14.1 KBytes
[  4]   9.00-10.00  sec  21.3 MBytes   179 Mbits/sec   94   11.3 KBytes
- - - - - - - - - - - - - - - - - - - - - - - - -
[ ID] Interval           Transfer     Bandwidth       Retr
[  4]   0.00-10.00  sec   210 MBytes   176 Mbits/sec  1006             sender
[  4]   0.00-10.00  sec   210 MBytes   176 Mbits/sec                  receiver

iperf Done.

0 Kudos
Adventurer
Adventurer
4,639 Views
Registered: ‎01-26-2017

Re: Is there petalinux 2017.2 support for 10G Ethernet Subsystem v2.2 (xxv-ethernet-2.2) similar to XAPP1305?

Jump to solution

Yes, we noticed that the TCP stream performance is really bad as well. I get ~250 Mbps with the same configuration that was able to get me ~4.1 Gbps on the 2016.4.


Can you try the test with mtu=9000 and let me know if you experience a crash or kernel panic?

 

I did some kernel driver debugging and can identify the line in the xilinx_axienet_main.c driver that is causing the kernel panic.

 

I started a new thread about it here:

 

https://forums.xilinx.com/t5/Embedded-Linux/Petalinux-2017-2-Kernel-panic-in-quot-skb-copy-and-csum-dev-quot/m-p/798458

 

Perhaps something in this file is causing the performance issues as well. The 2017.2 driver appears much different than the 2016.4 driver.

 

Thanks,

Adam

 

0 Kudos
Adventurer
Adventurer
4,638 Views
Registered: ‎01-26-2017

Re: Is there petalinux 2017.2 support for 10G Ethernet Subsystem v2.2 (xxv-ethernet-2.2) similar to XAPP1305?

Jump to solution

Also, your GEM3 numbers seem reasonably close to the 1G line rate.

0 Kudos
Observer haberlan2
Observer
4,290 Views
Registered: ‎08-11-2015

Re: Is there petalinux 2017.2 support for 10G Ethernet Subsystem v2.2 (xxv-ethernet-2.2) similar to XAPP1305?

Jump to solution

Setting MTU to anything but 1500 gives me SIOCSIFMTU on eth1.

0 Kudos
Adventurer
Adventurer
4,283 Views
Registered: ‎01-26-2017

Re: Is there petalinux 2017.2 support for 10G Ethernet Subsystem v2.2 (xxv-ethernet-2.2) similar to XAPP1305?

Jump to solution

The Xilinx axienet driver requires the interface to be down in order to change the mtu. Can you try to change the mtu with the ETH1 down?

 

 

0 Kudos
Observer haberlan2
Observer
4,276 Views
Registered: ‎08-11-2015

Re: Is there petalinux 2017.2 support for 10G Ethernet Subsystem v2.2 (xxv-ethernet-2.2) similar to XAPP1305?

Jump to solution

It is down after board boots.

 

root@agin:~# ifconfig eth1
eth1      Link encap:Ethernet  HWaddr 00:0a:35:00:00:00
          BROADCAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

root@agin:~# ifconfig eth1 mtu 9000
SIOCSIFMTU: Invalid argument

0 Kudos
Observer jsaxer
Observer
4,274 Views
Registered: ‎03-09-2015

Re: Is there petalinux 2017.2 support for 10G Ethernet Subsystem v2.2 (xxv-ethernet-2.2) similar to XAPP1305?

Jump to solution

I have also not been able to set the MTU to anything but the default or something smaller (1000 or 512). I see in the source that the maximum defined jumbo packet is 9000, as long as the rxmem value is big enough, and the dts files set it to 0x8000 (32768), so that can't be the problem, and yet it always fails.

 

My performance has been mixed, and not stable. At one point I was seeing 9.5Gb/s receiving, but only 1.5Gb/s sending using UDP, but that did not seem to last, and the latest values are around 1.25Gb/s both ways. I wanted to play with packet sizes, but if I can't get it to change, I can't run that test.

 

We have still been unable to produce a PL image with the 10G interface that works. I have done all my current testing using the pre-built image from Xilinx. Plus, so far it will only work on 1 of my ES2 ZCU boards. And I still get the "Block Lock" error sometimes, even on the board that otherwise works. Something is fishy.

0 Kudos
Adventurer
Adventurer
4,269 Views
Registered: ‎01-26-2017

Re: Is there petalinux 2017.2 support for 10G Ethernet Subsystem v2.2 (xxv-ethernet-2.2) similar to XAPP1305?

Jump to solution

@haberlan2

 

I had that issue too. I had to change some of the properties in the petalinux 2017.1/2017.2 environment to allow GEM3 to be interpreted correctly and come up as ETH0, allowing the 10G SFP ETH1 to be down by default. I then changed the mtu on ETH1 and brought it up. For some reason, bringing the SFP down, then changing the mtu, then bringing back up, did not work.

 

Specifically, I did the following in the petalinux-config menu:

 

$ petalinux-config
    u-boot Configuration
        u-boot config target
            xilinx_zynqmp_zcu102_revB_defconfig
    DTG settings
        MACHINE_NAME = template

0 Kudos
Adventurer
Adventurer
4,266 Views
Registered: ‎01-26-2017

Re: Is there petalinux 2017.2 support for 10G Ethernet Subsystem v2.2 (xxv-ethernet-2.2) similar to XAPP1305?

Jump to solution

@jsaxer

 

In order to get the higher mtu, you need to physically change the size of the FIFOs between the 10G MAC and the AXIDMA. By default they are set at 1024 and limit the mtu. I maxed them out, which allowed me to get a higher mtu, but I see problems when running at mtu=9000 with packet sizes of 9000.

 

Can you report back on your results at mtu=9000 if you change this?

 

-Adam

0 Kudos
Adventurer
Adventurer
4,261 Views
Registered: ‎01-26-2017

Re: Is there petalinux 2017.2 support for 10G Ethernet Subsystem v2.2 (xxv-ethernet-2.2) similar to XAPP1305?

Jump to solution

@haberlan2

 

Sorry, I think I misread your reply the first time. I think the 1024 bit FIFO is affecting you as well. Try to make the FIFOs bigger, and then you should be able to change the mtu.

0 Kudos
Observer jsaxer
Observer
4,222 Views
Registered: ‎03-09-2015

Re: Is there petalinux 2017.2 support for 10G Ethernet Subsystem v2.2 (xxv-ethernet-2.2) similar to XAPP1305?

Jump to solution

Where do you find the DMA fifo size specified? I did not find a entry in the dts files for this (well, not obvious to me, anyway).

0 Kudos
Observer jsaxer
Observer
4,216 Views
Registered: ‎03-09-2015

Re: Is there petalinux 2017.2 support for 10G Ethernet Subsystem v2.2 (xxv-ethernet-2.2) similar to XAPP1305?

Jump to solution

My performance sucks too, but not that bad. This is for a reverse test (server sending), as the client sending is about half this for some reason. I had 1 test (several iterations ago, and so far un-reproducible) that showed a reverse test at 9.5Gb/sec, but now this is all I can get (with the default MTU), on a TCP stream. UDP is showing even worse performance.

 

Accepted connection from 10.10.200.102, port 43506
[  5] local 10.10.200.101 port 5201 connected to 10.10.200.102 port 43508
[ ID] Interval           Transfer     Bandwidth       Retr  Cwnd
[  5]   0.00-1.00   sec   271 MBytes  2.28 Gbits/sec  2470    110 KBytes
[  5]   1.00-2.00   sec   286 MBytes  2.40 Gbits/sec  1539   91.9 KBytes
[  5]   2.00-3.00   sec   283 MBytes  2.37 Gbits/sec  1938    141 KBytes
[  5]   3.00-4.00   sec   284 MBytes  2.38 Gbits/sec  2269    122 KBytes
[  5]   4.00-5.00   sec   223 MBytes  1.87 Gbits/sec  1228   87.7 KBytes
[  5]   5.00-6.00   sec   283 MBytes  2.37 Gbits/sec  1711   87.7 KBytes
[  5]   6.00-7.00   sec   287 MBytes  2.41 Gbits/sec  1663    134 KBytes
[  5]   7.00-8.00   sec   285 MBytes  2.39 Gbits/sec  1808    115 KBytes
[  5]   8.00-9.00   sec   286 MBytes  2.40 Gbits/sec  2276    115 KBytes
[  5]   9.00-10.00  sec   282 MBytes  2.36 Gbits/sec  1854    112 KBytes
[  5]  10.00-10.04  sec  10.1 MBytes  2.40 Gbits/sec   85    130 KBytes
- - - - - - - - - - - - - - - - - - - - - - - - -
[ ID] Interval           Transfer     Bandwidth       Retr
[  5]   0.00-10.04  sec  2.71 GBytes  2.32 Gbits/sec  18841             sender
[  5]   0.00-10.04  sec  0.00 Bytes  0.00 bits/sec                  receiver

0 Kudos
Adventurer
Adventurer
4,206 Views
Registered: ‎01-26-2017

Re: Is there petalinux 2017.2 support for 10G Ethernet Subsystem v2.2 (xxv-ethernet-2.2) similar to XAPP1305?

Jump to solution

@jsaxer The FIFO size get adjusted by opening the block diagram within Vivado and then finding the FIFO blocks. When you double click on them, you can adjust their depth. You might to to expand the hierarchy in order to see them.

 

Which tool are you using to measure performance? I've tried iperf3 and nerperf with about the same results on 2017.1 and 2017.2.

 

I do get different numbers when usingthe ZCU102 as a client or a server.

 

When I run netserver on the ZCU102, I can have a client connect to it and the client sees ~4 Gbitps and no crashes with mtu=9000.

 

But when I run the netserver on another machine and have the ZCU102 run netperf, I get much lower numbers with the mtu=1500 and crashes when mtu=9000.

 

 

0 Kudos