^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) bnxt 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 ``bnxt``
^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) .. list-table:: Generic parameters implemented
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 14)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 15) * - Name
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 16) - Mode
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 17) * - ``enable_sriov``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 18) - Permanent
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 19) * - ``ignore_ari``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 20) - Permanent
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 21) * - ``msix_vec_per_pf_max``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 22) - Permanent
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 23) * - ``msix_vec_per_pf_min``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 24) - Permanent
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 25)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 26) The ``bnxt`` driver also implements the following driver-specific
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 27) parameters.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 28)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 29) .. list-table:: Driver-specific parameters implemented
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 30) :widths: 5 5 5 85
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 31)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 32) * - Name
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 33) - Type
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 34) - Mode
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 35) - Description
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 36) * - ``gre_ver_check``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 37) - Boolean
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 38) - Permanent
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 39) - Generic Routing Encapsulation (GRE) version check will be enabled in
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 40) the device. If disabled, the device will skip the version check for
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 41) incoming packets.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 42)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 43) Info versions
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 44) =============
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 45)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 46) The ``bnxt_en`` driver reports the following versions
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 47)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 48) .. list-table:: devlink info versions implemented
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 49) :widths: 5 5 90
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 50)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 51) * - Name
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 52) - Type
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 53) - Description
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 54) * - ``board.id``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 55) - fixed
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 56) - Part number identifying the board design
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 57) * - ``asic.id``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 58) - fixed
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 59) - ASIC design identifier
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 60) * - ``asic.rev``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 61) - fixed
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 62) - ASIC design revision
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 63) * - ``fw.psid``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 64) - stored, running
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 65) - Firmware parameter set version of the board
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 66) * - ``fw``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 67) - stored, running
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 68) - Overall board firmware version
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 69) * - ``fw.mgmt``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 70) - stored, running
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 71) - NIC hardware resource management firmware version
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 72) * - ``fw.mgmt.api``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 73) - running
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 74) - Minimum firmware interface spec version supported between driver and firmware
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 75) * - ``fw.nsci``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 76) - stored, running
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 77) - General platform management firmware version
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 78) * - ``fw.roce``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 79) - stored, running
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 80) - RoCE management firmware version