| 1 |
What: /sys/class/misc/drivers/dw-xdata-pcie.<device>/write |
| 2 |
Date: April 2021 |
| 3 |
KernelVersion: 5.13 |
| 4 |
Contact: Gustavo Pimentel <[email protected]> |
| 5 |
Description: Allows the user to enable the PCIe traffic generator which |
| 6 |
will create write TLPs frames - from the Root Complex to the |
| 7 |
Endpoint direction or to disable the PCIe traffic generator |
| 8 |
in all directions. |
| 9 |
|
| 10 |
Write y/1/on to enable, n/0/off to disable |
| 11 |
|
| 12 |
Usage e.g. |
| 13 |
echo 1 > /sys/class/misc/dw-xdata-pcie.<device>/write |
| 14 |
or |
| 15 |
echo 0 > /sys/class/misc/dw-xdata-pcie.<device>/write |
| 16 |
|
| 17 |
The user can read the current PCIe link throughput generated |
| 18 |
through this generator in MB/s. |
| 19 |
|
| 20 |
Usage e.g. |
| 21 |
cat /sys/class/misc/dw-xdata-pcie.<device>/write |
| 22 |
204 |
| 23 |
|
| 24 |
The file is read and write. |
| 25 |
|
| 26 |
What: /sys/class/misc/dw-xdata-pcie.<device>/read |
| 27 |
Date: April 2021 |
| 28 |
KernelVersion: 5.13 |
| 29 |
Contact: Gustavo Pimentel <[email protected]> |
| 30 |
Description: Allows the user to enable the PCIe traffic generator which |
| 31 |
will create read TLPs frames - from the Endpoint to the Root |
| 32 |
Complex direction or to disable the PCIe traffic generator |
| 33 |
in all directions. |
| 34 |
|
| 35 |
Write y/1/on to enable, n/0/off to disable |
| 36 |
|
| 37 |
Usage e.g. |
| 38 |
echo 1 > /sys/class/misc/dw-xdata-pcie.<device>/read |
| 39 |
or |
| 40 |
echo 0 > /sys/class/misc/dw-xdata-pcie.<device>/read |
| 41 |
|
| 42 |
The user can read the current PCIe link throughput generated |
| 43 |
through this generator in MB/s. |
| 44 |
|
| 45 |
Usage e.g. |
| 46 |
cat /sys/class/misc/dw-xdata-pcie.<device>/read |
| 47 |
199 |
| 48 |
|
| 49 |
The file is read and write. |