diff options
| author | Cindy Lu <lulu@redhat.com> | 2026-01-26 12:45:36 +0300 |
|---|---|---|
| committer | Michael S. Tsirkin <mst@redhat.com> | 2026-06-10 09:14:02 +0300 |
| commit | 8da308e2444d92d8ddffaee0279c96c3af84b4be (patch) | |
| tree | 21b6fb58ccdc0fcac9e4e2cce60c2c159e0151a2 /include/linux | |
| parent | 4c653e85857b41a7148917f2628fae1d04a9c251 (diff) | |
| download | linux-8da308e2444d92d8ddffaee0279c96c3af84b4be.tar.xz | |
vdpa/mlx5: update mlx_features with driver state check
Add logic in mlx5_vdpa_set_attr() to ensure the VIRTIO_NET_F_MAC
feature bit is properly set only when the device is not yet in
the DRIVER_OK (running) state.
This makes the MAC address visible in the output of:
vdpa dev config show -jp
when the device is created without an initial MAC address.
Signed-off-by: Cindy Lu <lulu@redhat.com>
Reviewed-by: Dragos Tatulea <dtatulea@nvidia.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Message-ID: <20260126094848.9601-2-lulu@redhat.com>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions
