요약·해설과 원문, 전문 번역을 서로 분리했습니다. API 이름, symbol, source path는 원문 표기를 사용합니다.
1. 요약·해설
원문의 핵심 논리와 kernel programming 관점의 보충 설명입니다. 아래의 전문 번역과는 별도로 작성했습니다.
2. 영어 원문 전체
번역 기준이 된 Linux v6.18.37 원문입니다. 줄 번호는 이 버전의 파일 좌표입니다.
원문 전체 펼치기
1
What: /sys/class/net/<iface>/dsa/tagging
2
Date: August 2018
3
KernelVersion: 4.20
4
Contact: netdev@vger.kernel.org
5
Description:
6
On read, this file returns a string indicating the type of
7
tagging protocol used by the DSA network devices that are
8
attached to this master interface.
9
On write, this file changes the tagging protocol of the
10
attached DSA switches, if this operation is supported by the
11
driver. Changing the tagging protocol must be done with the DSA
12
interfaces and the master interface all administratively down.
13
See the "name" field of each registered struct dsa_device_ops
14
for a list of valid values.
3. 한국어 전문 번역
영어 원문의 문단 순서와 의미를 유지한 전체 번역입니다. 코드, 함수명, symbol과 URL은 원문 표기를 유지합니다.
DSA tagging protocol
1-14| 항목 | 한국어 전문 번역 |
|---|---|
| What | /sys/class/net/<iface>/dsa/tagging |
| Date | 2018년 8월 |
| KernelVersion | 4.20 |
| Contact | netdev@vger.kernel.org |
| Description | 읽으면 이 master interface에 연결된 DSA network device가 사용하는 tagging protocol 종류를 나타내는 문자열을 반환합니다. 쓰면 driver가 지원하는 경우 연결된 DSA switch의 tagging protocol을 변경합니다. Tagging protocol은 DSA interface와 master interface가 모두 administratively down인 상태에서 변경해야 합니다. 유효한 값의 목록은 등록된 각 struct dsa_device_ops의 name field를 참조하십시오. |
DSA interfaces administratively down→Master interface administratively down→Driver가 지원하는 dsa_device_ops name을 tagging에 기록→Attached DSA switches의 tagging protocol 변경
Protocol을 바꾸기 전에 관련 interface를 모두 administratively down으로 내려야 합니다.
DSA tagging protocol
sysfs-class-net-dsa:1-14Master에 연결된 DSA switch의 tag protocol 조회·변경 조건과 유효한 dsa_device_ops name 값을 설명합니다.