# i40e devlink support

_Peios Kernel / Internals / Networking / devlink_

> This document describes the devlink features implemented by the i40e device driver.

<a id="rst-i40e-devlink-support"></a>

<!-- SPDX-License-Identifier: GPL-2.0 -->

This document describes the devlink features implemented by the `i40e` device driver.

<a id="rst-parameters"></a>

## Parameters


<table>
<caption>Generic parameters implemented</caption>
<tbody>
<tr>
<td>


Name

</td>
<td>


Mode

</td>
<td>


Notes

</td>
</tr>
<tr>
<td>


`max_mac_per_vf`

</td>
<td>


runtime

</td>
<td>


Controls the maximum number of MAC addresses a VF can use on i40e devices.

By default (`0`), the driver enforces its internally calculated per-VF MAC filter limit, which is based on the number of allocated VFS.

If set to a non-zero value, this parameter acts as a strict cap: the driver will use the user-provided value instead of its internal calculation.

**Important notes:**

- This value **must be set before enabling SR-IOV**. Attempting to change it while SR-IOV is enabled will return an error.

- MAC filters are a **shared hardware resource** across all VFs. Setting a high value may cause other VFs to be starved of filters.

- This value is a **Administrative policy**. The hardware may return errors when its absolute limit is reached, regardless of the value set here.

The default value is `0` (internal calculation is used).

</td>
</tr>
</tbody>
</table>

<a id="rst-info-versions"></a>

## Info versions

The `i40e` driver reports the following versions


<table>
<caption>devlink info versions implemented</caption>
<tbody>
<tr>
<td>


Name

</td>
<td>


Type

</td>
<td>


Example

</td>
<td>


Description

</td>
</tr>
<tr>
<td>


`board.id`

</td>
<td>


fixed

</td>
<td>


K15190-000

</td>
<td>


The Product Board Assembly (PBA) identifier of the board.

</td>
</tr>
<tr>
<td>


`fw.mgmt`

</td>
<td>


running

</td>
<td>


9.130

</td>
<td>


2-digit version number of the management firmware that controls the PHY, link, etc.

</td>
</tr>
<tr>
<td>


`fw.mgmt.api`

</td>
<td>


running

</td>
<td>


1.15

</td>
<td>


2-digit version number of the API exported over the AdminQ by the management firmware. Used by the driver to identify what commands are supported.

</td>
</tr>
<tr>
<td>


`fw.mgmt.build`

</td>
<td>


running

</td>
<td>


73618

</td>
<td>


Build number of the source for the management firmware.

</td>
</tr>
<tr>
<td>


`fw.undi`

</td>
<td>


running

</td>
<td>


1.3429.0

</td>
<td>


Version of the Option ROM containing the UEFI driver. The version is reported in `major.minor.patch` format. The major version is incremented whenever a major breaking change occurs, or when the minor version would overflow. The minor version is incremented for non-breaking changes and reset to 1 when the major version is incremented. The patch version is normally 0 but is incremented when a fix is delivered as a patch against an older base Option ROM.

</td>
</tr>
<tr>
<td>


`fw.psid.api`

</td>
<td>


running

</td>
<td>


9.30

</td>
<td>


Version defining the format of the flash contents.

</td>
</tr>
<tr>
<td>


`fw.bundle_id`

</td>
<td>


running

</td>
<td>


0x8000e5f3

</td>
<td>


Unique identifier of the firmware image file that was loaded onto the device. Also referred to as the EETRACK identifier of the NVM.

</td>
</tr>
</tbody>
</table>
