xref: /linux/Documentation/ABI/testing/sysfs-driver-xdata (revision 8be98d2f2a0a262f8bf8a0bc1fdf522b3c7aab17)
1What:		/sys/class/misc/drivers/dw-xdata-pcie.<device>/write
2Date:		April 2021
3KernelVersion:	5.13
4Contact:	Gustavo Pimentel <gustavo.pimentel@synopsys.com>
5Description:	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
26What:		/sys/class/misc/dw-xdata-pcie.<device>/read
27Date:		April 2021
28KernelVersion:	5.13
29Contact:	Gustavo Pimentel <gustavo.pimentel@synopsys.com>
30Description:	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.
50