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