Why the pcie_endpoint ethernet speed so low ,just 12.5M/s?

Manikanta said:
Hi,

Instead of pci_epf_nv_test, you have to use pci_epf_tvnet driver in the steps mentioned in comment #8.
Following are the complete commands.
cd /sys/kernel/config/pci_ep/
mkdir functions/pci_epf_tvnet/func1
#echo 0x104c > functions/pci_epf_tvnet/func1/vendorid
#echo 0xb500 > functions/pci_epf_tvnet/func1/deviceid
echo 16 > functions/pci_epf_tvnet/func1/msi_interrupts
ln -s functions/pci_epf_tvnet/func1 controllers/141a0000.pcie_ep/
echo 1 > controllers/141a0000.pcie_ep/start

Once the host is booted, you can find eth1 interface on both side. Bring up both the interfaces and assign IP addresses in same subnet.

Manikanta

https://devtalk.nvidia.com/default/topic/1056353/jetson-agx-xavier/use-pcie-to-communicate-between-two-xaviers-rp-phy-dosen-t-up/1

With the above command ,I have generated eth1 on both two Xavier.
But the speed at which they transfer files directly is only 12.5M/s.
Is there any way to improve it ?

Is that 12.5 Mb/s or MB/s?

12.5MB/s.

I transfer the file through the scp command.
When it is finished ,the speed displayed is about 12.5MB/s.

scp -r filename ipaddress@hostname:~/

That is the expected speed for now.
We are working on improving the perf and it will be available in future releases.

And I want to know what other ways to set pcie_endpoint to eth1 mode beside the above command?

Now, I have to enter the command manually and then reboot the another Xavier,It takes too long time.

There is no other method for now.