sysfs-driver-xdata 1.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. What: /sys/class/misc/drivers/dw-xdata-pcie.<device>/write
  2. Date: April 2021
  3. KernelVersion: 5.13
  4. Contact: Gustavo Pimentel <[email protected]>
  5. Description: 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. Write y/1/on to enable, n/0/off to disable
  10. Usage e.g.
  11. echo 1 > /sys/class/misc/dw-xdata-pcie.<device>/write
  12. or
  13. echo 0 > /sys/class/misc/dw-xdata-pcie.<device>/write
  14. The user can read the current PCIe link throughput generated
  15. through this generator in MB/s.
  16. Usage e.g.
  17. cat /sys/class/misc/dw-xdata-pcie.<device>/write
  18. 204
  19. The file is read and write.
  20. What: /sys/class/misc/dw-xdata-pcie.<device>/read
  21. Date: April 2021
  22. KernelVersion: 5.13
  23. Contact: Gustavo Pimentel <[email protected]>
  24. Description: Allows the user to enable the PCIe traffic generator which
  25. will create read TLPs frames - from the Endpoint to the Root
  26. Complex direction or to disable the PCIe traffic generator
  27. in all directions.
  28. Write y/1/on to enable, n/0/off to disable
  29. Usage e.g.
  30. echo 1 > /sys/class/misc/dw-xdata-pcie.<device>/read
  31. or
  32. echo 0 > /sys/class/misc/dw-xdata-pcie.<device>/read
  33. The user can read the current PCIe link throughput generated
  34. through this generator in MB/s.
  35. Usage e.g.
  36. cat /sys/class/misc/dw-xdata-pcie.<device>/read
  37. 199
  38. The file is read and write.