요약·해설과 원문, 전문 번역을 서로 분리했습니다. API 이름, symbol, source path는 원문 표기를 사용합니다.
1. 요약·해설
원문의 핵심 논리와 kernel programming 관점의 보충 설명입니다. 아래의 전문 번역과는 별도로 작성했습니다.
2. 영어 원문 전체
번역 기준이 된 Linux v6.18.37 원문입니다. 줄 번호는 이 버전의 파일 좌표입니다.
원문 전체 펼치기
1
What: /sys/class/misc/drivers/dw-xdata-pcie.<device>/write
2
Date: April 2021
3
KernelVersion: 5.13
4
Contact: Gustavo Pimentel <gustavo.pimentel@synopsys.com>
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.
10
Write y/1/on to enable, n/0/off to disable
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
17
The user can read the current PCIe link throughput generated
18
through this generator in MB/s.
20
Usage e.g.
21
cat /sys/class/misc/dw-xdata-pcie.<device>/write
22
204
24
The file is read and write.
26
What: /sys/class/misc/dw-xdata-pcie.<device>/read
27
Date: April 2021
28
KernelVersion: 5.13
29
Contact: Gustavo Pimentel <gustavo.pimentel@synopsys.com>
30
Description: 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.
35
Write y/1/on to enable, n/0/off to disable
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
42
The user can read the current PCIe link throughput generated
43
through this generator in MB/s.
45
Usage e.g.
46
cat /sys/class/misc/dw-xdata-pcie.<device>/read
47
199
49
The file is read and write.
3. 한국어 전문 번역
영어 원문의 문단 순서와 의미를 유지한 전체 번역입니다. 코드, 함수명, symbol과 URL은 원문 표기를 유지합니다.
DesignWare PCIe write traffic generator
1-25| 항목 | 한국어 전문 번역 |
|---|---|
| What | /sys/class/misc/drivers/dw-xdata-pcie.<device>/write |
| Date | 2021년 4월 |
| KernelVersion | 5.13 |
| Contact | Gustavo Pimentel <gustavo.pimentel@synopsys.com> |
| Description | PCIe traffic generator를 enable해 Root Complex에서 Endpoint 방향의 write TLP frames를 생성하거나 모든 directions에서 generator를 disable합니다. `y`, `1`, `on`은 enable하고 `n`, `0`, `off`는 disable합니다. Read하면 이 generator가 만든 current PCIe link throughput을 MB/s 단위로 반환합니다. |
| Access | Read-write |
OperationValues / result
Enabley, 1, on
Disable all directionsn, 0, off
TLP directionRoot Complex -> Endpoint
ReadCurrent throughput in MB/s
Accepted controls, TLP direction과 read result입니다.
echo 1 > /sys/class/misc/drivers/dw-xdata-pcie.<device>/write
echo 0 > /sys/class/misc/drivers/dw-xdata-pcie.<device>/write
cat /sys/class/misc/drivers/dw-xdata-pcie.<device>/write
204
DesignWare PCIe read traffic generator
26-49| 항목 | 한국어 전문 번역 |
|---|---|
| What | /sys/class/misc/dw-xdata-pcie.<device>/read |
| Date | 2021년 4월 |
| KernelVersion | 5.13 |
| Contact | Gustavo Pimentel <gustavo.pimentel@synopsys.com> |
| Description | PCIe traffic generator를 enable해 Endpoint에서 Root Complex 방향의 read TLP frames를 생성하거나 모든 directions에서 generator를 disable합니다. `y`, `1`, `on`은 enable하고 `n`, `0`, `off`는 disable합니다. Read하면 이 generator가 만든 current PCIe link throughput을 MB/s 단위로 반환합니다. |
| Access | Read-write |
OperationValues / result
Enabley, 1, on
Disable all directionsn, 0, off
TLP directionEndpoint -> Root Complex
ReadCurrent throughput in MB/s
Accepted controls, TLP direction과 read result입니다.
echo 1 > /sys/class/misc/dw-xdata-pcie.<device>/read
echo 0 > /sys/class/misc/dw-xdata-pcie.<device>/read
cat /sys/class/misc/dw-xdata-pcie.<device>/read
199
Directional TLP generation and throughput
sysfs-driver-xdata:1-49Write node는 Root Complex에서 Endpoint, read node는 Endpoint에서 Root Complex 방향 traffic을 만들며 같은 boolean strings로 enable 또는 disable합니다.