Xavier to xavier share memory mode

In shared memory mode, it can work normally, sudo lspci -vvv can detect the device, and according to the documentation, it can read and write data normally.

  1. How to expand BAR0_SIZE to 1G or 2G ?
  2. Only 32 bits of data can be written each time. Is it possible to increase the size of each write to 64KB or 1 MB ?
  3. How to test read and write speed ?

We actually use pci_epf_nv_test.c to do the test. The BAR0_SIZE in this code would decide the BAR0_SIZE.

Q2 sounds not available

default shared memory is only 64k. Can the size of the shared memory be modified by just change BAR0_SIZE? do not need to modify other files?

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.