xref: /linux/Documentation/ABI/testing/sysfs-driver-xdata (revision 573a6d4c7a21e34d7a2174b8d3c7ca67a5e850b6)
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
14		 echo 1 > /sys/class/misc/dw-xdata-pcie.<device>/write
15
16		or::
17
18		 echo 0 > /sys/class/misc/dw-xdata-pcie.<device>/write
19
20		The user can read the current PCIe link throughput generated
21		through this generator in MB/s.
22
23		Usage e.g.::
24
25		 cat /sys/class/misc/dw-xdata-pcie.<device>/write
26		 204
27
28		The file is read and write.
29
30What:		/sys/class/misc/dw-xdata-pcie.<device>/read
31Date:		April 2021
32KernelVersion:	5.13
33Contact:	Gustavo Pimentel <gustavo.pimentel@synopsys.com>
34Description:	Allows the user to enable the PCIe traffic generator which
35		will create read TLPs frames - from the Endpoint to the Root
36		Complex direction or to disable the PCIe traffic generator
37                in all directions.
38
39		Write y/1/on to enable, n/0/off to disable
40
41		Usage e.g.::
42
43		 echo 1 > /sys/class/misc/dw-xdata-pcie.<device>/read
44
45		or::
46
47		 echo 0 > /sys/class/misc/dw-xdata-pcie.<device>/read
48
49		The user can read the current PCIe link throughput generated
50		through this generator in MB/s.
51
52		Usage e.g.::
53
54		 cat /sys/class/misc/dw-xdata-pcie.<device>/read
55		 199
56
57		The file is read and write.
58