xref: /OK3568_Linux_fs/kernel/Documentation/networking/devlink/ti-cpsw-switch.rst (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593Smuzhiyun.. SPDX-License-Identifier: GPL-2.0
2*4882a593Smuzhiyun
3*4882a593Smuzhiyun==============================
4*4882a593Smuzhiyunti-cpsw-switch devlink support
5*4882a593Smuzhiyun==============================
6*4882a593Smuzhiyun
7*4882a593SmuzhiyunThis document describes the devlink features implemented by the ``ti-cpsw-switch``
8*4882a593Smuzhiyundevice driver.
9*4882a593Smuzhiyun
10*4882a593SmuzhiyunParameters
11*4882a593Smuzhiyun==========
12*4882a593Smuzhiyun
13*4882a593SmuzhiyunThe ``ti-cpsw-switch`` driver implements the following driver-specific
14*4882a593Smuzhiyunparameters.
15*4882a593Smuzhiyun
16*4882a593Smuzhiyun.. list-table:: Driver-specific parameters implemented
17*4882a593Smuzhiyun   :widths: 5 5 5 85
18*4882a593Smuzhiyun
19*4882a593Smuzhiyun   * - Name
20*4882a593Smuzhiyun     - Type
21*4882a593Smuzhiyun     - Mode
22*4882a593Smuzhiyun     - Description
23*4882a593Smuzhiyun   * - ``ale_bypass``
24*4882a593Smuzhiyun     - Boolean
25*4882a593Smuzhiyun     - runtime
26*4882a593Smuzhiyun     - Enables ALE_CONTROL(4).BYPASS mode for debugging purposes. In this
27*4882a593Smuzhiyun       mode, all packets will be sent to the host port only.
28*4882a593Smuzhiyun   * - ``switch_mode``
29*4882a593Smuzhiyun     - Boolean
30*4882a593Smuzhiyun     - runtime
31*4882a593Smuzhiyun     - Enable switch mode
32