요약·해설, 영어 원문, 전체 번역을 구분해 실었습니다. API 이름, 코드 심벌, 소스 경로는 원문 표기를 유지합니다.
1. 요약·해설
원문의 핵심 내용을 정리하고 커널 프로그래밍에 필요한 설명을 덧붙였습니다. 아래의 전체 번역과는 별도로 작성한 해설입니다.
2. 영어 원문 전체
번역에 사용한 Linux v6.18.37 원문입니다. 줄 번호는 해당 버전의 소스 파일을 기준으로 합니다.
원문 전체 펼치기
1
What: /sys/class/net/<iface>/dsa/tagging
2
Date: August 2018
3
KernelVersion: 4.20
4
Contact: [email protected]
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. 한국어 전문 번역
영어 원문의 문단 순서와 의미에 맞춰 전체 내용을 번역했습니다. 코드, 함수명, 코드 심벌, URL은 원문 표기를 유지합니다.
DSA tagging protocol
1-14| 항목 | 한국어 전문 번역 |
|---|---|
| What | /sys/class/net/<iface>/dsa/tagging |
| Date | 2018년 8월 |
| KernelVersion | 4.20 |
| Contact | [email protected] |
| 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 값을 설명합니다.