^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1) .. SPDX-License-Identifier: GPL-2.0
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3) ==============================
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4) ti-cpsw-switch devlink support
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 5) ==============================
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 6)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 7) This document describes the devlink features implemented by the ``ti-cpsw-switch``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 8) device driver.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 9)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 10) Parameters
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 11) ==========
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 12)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 13) The ``ti-cpsw-switch`` driver implements the following driver-specific
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 14) parameters.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 15)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 16) .. list-table:: Driver-specific parameters implemented
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 17) :widths: 5 5 5 85
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 18)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 19) * - Name
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 20) - Type
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 21) - Mode
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 22) - Description
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 23) * - ``ale_bypass``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 24) - Boolean
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 25) - runtime
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 26) - Enables ALE_CONTROL(4).BYPASS mode for debugging purposes. In this
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 27) mode, all packets will be sent to the host port only.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 28) * - ``switch_mode``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 29) - Boolean
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 30) - runtime
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 31) - Enable switch mode