Post Go back to editing

change interface on back-end IIOD

Category: Software

HI

I use zcu102+adrv9009 with official adi linux and I change HDL and create two LAN interfaces  1.PS  2.PL SFP 10G and I can see both interfaces in board ifconfig however just eth0(pl interface) used in iiod and client cannot connect through eth1

how can I change interface in board .

eth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500
        ether 00:0a:35:05:5b:38  txqueuelen 1000  (Ethernet)


eth1: flags=67<UP,BROADCAST,RUNNING>  mtu 1500
        inet 192.168.0.2  netmask 255.255.255.0  broadcast 192.168.0.255
        inet6 fe80::20a:35ff:fe00:0  prefixlen 64  scopeid 0x20<link>
        ether 00:0a:35:00:00:00  txqueuelen 1000  (Ethernet)
change avahi-daemon.conf to this

use-ipv4=yes
use-ipv6=yes
 allow-interfaces=eth1
 deny-interfaces=eth0 ...

0: (axi-adrv9009-rx-obs-hpc, ad7291, ad9528-1, mwipcore0:mmwr0, axi-adrv9009-tx-hpc, axi-adrv9009-rx-hpc, adrv9009-phy, ams, mwi on ZynqMP ZCU102 Rev1.0) [local:]

if enable eth0 I can see it in iio_info and netstat but eth1 cannot bined

how can I establish server connection through eth1

thank.



HI I use zcu102+adrv9009 with official adi linux and I change HDL and create two LAN interfaces 1.PS 2.PL SFP 10G and I can see both interfaces in board ifconfig however just eth0(pl interface) used in iiod and client cannot connect through eth1 how can I change interface in board . eth0: flags=4099 mtu 1500 ether 00:0a:35:05:5b:38 txqueuelen 1000 (Ethernet) eth1: flags=67 mtu 1500 inet 192.168.0.2 netmask 255.255.255.0 broadcast 192.168.0.255 inet6 fe80::20a:35ff:fe00:0 prefixlen 64 scopeid 0x20 ether 00:0a:35:00:00:00 txqueuelen 1000 (Ethernet) change avahi-daemon.conf to this use-ipv4=yes use-ipv6=yes allow-interfaces=eth1 deny-interfaces=eth0 ... 0: (axi-adrv9009-rx-obs-hpc, ad7291, ad9528-1, mwipcore0:mmwr0, axi-adrv9009-tx-hpc, axi-adrv9009-rx-hpc, adrv9009-phy, ams, mwi on ZynqMP ZCU102 Rev1.0) [local:] if enable eth0 I can see it in iio_info and netstat but eth1 cannot bined how can I establish server connection through eth1 thank.
[edited by: software at 5:54 AM (GMT -5) on 10 Mar 2023]
Parents
  • HI

    there is a problem in HDL that I solved it and everything is as expected,

    iio_readdev -n 192.168.0.2  -b 1000000 axi-adrv9009-rx-obs-hpc voltage0_i | pv > /dev/null

    1GiB 0:02:05 [ 100MiB/s] [ <=>

    it is 2 to 5 times as what I saw in other benchmark through 10/100/1000 wire LAN, however I expect 300MiB/s through what I see with iperf3 3Gb/s with SFP 10G with enable jumbo buffer mtu 9000

    how can I reach with this rate? or I have to modify libiio with some optimization performance and it limits this throughput ?

    thank for your great support

    Joshua

  • Hi Joshua,

    I'm afraid this is as much as you can get for now. We are working on optimizations that should boost the maximum throughput, notably over USB3, but it is not ready yet.

    Cheers,

    -Paul

Reply Children
No Data