Back to home page

OSCL-LXR

 
 

    


0001 What:           /sys/class/misc/drivers/dw-xdata-pcie.<device>/write
0002 Date:           April 2021
0003 KernelVersion:  5.13
0004 Contact:        Gustavo Pimentel <gustavo.pimentel@synopsys.com>
0005 Description:    Allows the user to enable the PCIe traffic generator which
0006                 will create write TLPs frames - from the Root Complex to the
0007                 Endpoint direction or to disable the PCIe traffic generator
0008                 in all directions.
0009 
0010                 Write y/1/on to enable, n/0/off to disable
0011 
0012                 Usage e.g.
0013                  echo 1 > /sys/class/misc/dw-xdata-pcie.<device>/write
0014                 or
0015                  echo 0 > /sys/class/misc/dw-xdata-pcie.<device>/write
0016 
0017                 The user can read the current PCIe link throughput generated
0018                 through this generator in MB/s.
0019 
0020                 Usage e.g.
0021                  cat /sys/class/misc/dw-xdata-pcie.<device>/write
0022                  204
0023 
0024                 The file is read and write.
0025 
0026 What:           /sys/class/misc/dw-xdata-pcie.<device>/read
0027 Date:           April 2021
0028 KernelVersion:  5.13
0029 Contact:        Gustavo Pimentel <gustavo.pimentel@synopsys.com>
0030 Description:    Allows the user to enable the PCIe traffic generator which
0031                 will create read TLPs frames - from the Endpoint to the Root
0032                 Complex direction or to disable the PCIe traffic generator
0033                 in all directions.
0034 
0035                 Write y/1/on to enable, n/0/off to disable
0036 
0037                 Usage e.g.
0038                  echo 1 > /sys/class/misc/dw-xdata-pcie.<device>/read
0039                 or
0040                  echo 0 > /sys/class/misc/dw-xdata-pcie.<device>/read
0041 
0042                 The user can read the current PCIe link throughput generated
0043                 through this generator in MB/s.
0044 
0045                 Usage e.g.
0046                  cat /sys/class/misc/dw-xdata-pcie.<device>/read
0047                  199
0048 
0049                 The file is read and write.