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