요약·해설, 영어 원문, 전체 번역을 구분해 실었습니다. API 이름, 코드 심벌, 소스 경로는 원문 표기를 유지합니다.
1. 요약·해설
원문의 핵심 내용을 정리하고 커널 프로그래밍에 필요한 설명을 덧붙였습니다. 아래의 전체 번역과는 별도로 작성한 해설입니다.
2. 영어 원문 전체
번역에 사용한 Linux v6.18.37 원문입니다. 줄 번호는 해당 버전의 소스 파일을 기준으로 합니다.
원문 전체 펼치기
1
.. SPDX-License-Identifier: GPL-2.0
3
==============================
4
ti-cpsw-switch devlink support
5
==============================
7
This document describes the devlink features implemented by the ``ti-cpsw-switch``
8
device driver.
10
Parameters
11
==========
13
The ``ti-cpsw-switch`` driver implements the following driver-specific
14
parameters.
16
.. list-table:: Driver-specific parameters implemented
17
:widths: 5 5 5 85
19
* - Name
20
- Type
21
- Mode
22
- Description
23
* - ``ale_bypass``
24
- Boolean
25
- runtime
26
- Enables ALE_CONTROL(4).BYPASS mode for debugging purposes. In this
27
mode, all packets will be sent to the host port only.
28
* - ``switch_mode``
29
- Boolean
30
- runtime
31
- Enable switch mode
3. 한국어 전문 번역
영어 원문의 문단 순서와 의미에 맞춰 전체 내용을 번역했습니다. 코드, 함수명, 코드 심벌, URL은 원문 표기를 유지합니다.
ti-cpsw-switch devlink 지원
1-9이 문서는 `GPL-2.0` 라이선스를 따릅니다.
`ti-cpsw-switch` 장치 드라이버가 구현한 devlink 기능을 설명합니다.
.. SPDX-License-Identifier: GPL-2.0
==============================
ti-cpsw-switch devlink support
==============================
This document describes the devlink features implemented by the ``ti-cpsw-switch``
device driver.
ALE 우회와 스위치 모드
10-31매개변수
`ti-cpsw-switch` 드라이버는 다음 드라이버 전용 매개변수를 구현합니다.
이름유형모드설명
`ale_bypass`Booleanruntime디버깅을 위해 `ALE_CONTROL(4).BYPASS` 모드를 활성화합니다. 이 모드에서는 모든 패킷을 호스트 포트로만 보냅니다.
`switch_mode`Booleanruntime스위치 모드를 활성화합니다.
디버깅용 ALE 우회와 일반 스위치 동작을 실행 중에 전환합니다.
Parameters
==========
The ``ti-cpsw-switch`` driver implements the following driver-specific
parameters.
.. list-table:: Driver-specific parameters implemented
:widths: 5 5 5 85
* - Name
- Type
- Mode
- Description
* - ``ale_bypass``
- Boolean
- runtime
- Enables ALE_CONTROL(4).BYPASS mode for debugging purposes. In this
mode, all packets will be sent to the host port only.
* - ``switch_mode``
- Boolean
- runtime
- Enable switch mode
요약·해설
ti-cpsw-switch.rst:1-31`ti-cpsw-switch`의 두 실행 중 매개변수는 디버깅을 위해 모든 패킷을 호스트 포트로 보내는 ALE 우회와 정상적인 스위치 모드를 제어합니다. `ale_bypass`는 트래픽 경로를 크게 바꾸므로 진단 목적으로 제한해 사용해야 합니다.