162306a36Sopenharmony_ciWhat: /sys/class/misc/drivers/dw-xdata-pcie.<device>/write 262306a36Sopenharmony_ciDate: April 2021 362306a36Sopenharmony_ciKernelVersion: 5.13 462306a36Sopenharmony_ciContact: Gustavo Pimentel <gustavo.pimentel@synopsys.com> 562306a36Sopenharmony_ciDescription: Allows the user to enable the PCIe traffic generator which 662306a36Sopenharmony_ci will create write TLPs frames - from the Root Complex to the 762306a36Sopenharmony_ci Endpoint direction or to disable the PCIe traffic generator 862306a36Sopenharmony_ci in all directions. 962306a36Sopenharmony_ci 1062306a36Sopenharmony_ci Write y/1/on to enable, n/0/off to disable 1162306a36Sopenharmony_ci 1262306a36Sopenharmony_ci Usage e.g. 1362306a36Sopenharmony_ci echo 1 > /sys/class/misc/dw-xdata-pcie.<device>/write 1462306a36Sopenharmony_ci or 1562306a36Sopenharmony_ci echo 0 > /sys/class/misc/dw-xdata-pcie.<device>/write 1662306a36Sopenharmony_ci 1762306a36Sopenharmony_ci The user can read the current PCIe link throughput generated 1862306a36Sopenharmony_ci through this generator in MB/s. 1962306a36Sopenharmony_ci 2062306a36Sopenharmony_ci Usage e.g. 2162306a36Sopenharmony_ci cat /sys/class/misc/dw-xdata-pcie.<device>/write 2262306a36Sopenharmony_ci 204 2362306a36Sopenharmony_ci 2462306a36Sopenharmony_ci The file is read and write. 2562306a36Sopenharmony_ci 2662306a36Sopenharmony_ciWhat: /sys/class/misc/dw-xdata-pcie.<device>/read 2762306a36Sopenharmony_ciDate: April 2021 2862306a36Sopenharmony_ciKernelVersion: 5.13 2962306a36Sopenharmony_ciContact: Gustavo Pimentel <gustavo.pimentel@synopsys.com> 3062306a36Sopenharmony_ciDescription: Allows the user to enable the PCIe traffic generator which 3162306a36Sopenharmony_ci will create read TLPs frames - from the Endpoint to the Root 3262306a36Sopenharmony_ci Complex direction or to disable the PCIe traffic generator 3362306a36Sopenharmony_ci in all directions. 3462306a36Sopenharmony_ci 3562306a36Sopenharmony_ci Write y/1/on to enable, n/0/off to disable 3662306a36Sopenharmony_ci 3762306a36Sopenharmony_ci Usage e.g. 3862306a36Sopenharmony_ci echo 1 > /sys/class/misc/dw-xdata-pcie.<device>/read 3962306a36Sopenharmony_ci or 4062306a36Sopenharmony_ci echo 0 > /sys/class/misc/dw-xdata-pcie.<device>/read 4162306a36Sopenharmony_ci 4262306a36Sopenharmony_ci The user can read the current PCIe link throughput generated 4362306a36Sopenharmony_ci through this generator in MB/s. 4462306a36Sopenharmony_ci 4562306a36Sopenharmony_ci Usage e.g. 4662306a36Sopenharmony_ci cat /sys/class/misc/dw-xdata-pcie.<device>/read 4762306a36Sopenharmony_ci 199 4862306a36Sopenharmony_ci 4962306a36Sopenharmony_ci The file is read and write. 50