summaryrefslogtreecommitdiff
path: root/kernel
diff options
context:
space:
mode:
authorCindy Lu <lulu@redhat.com>2026-01-26 17:45:36 +0800
committerMichael S. Tsirkin <mst@redhat.com>2026-02-04 14:13:43 -0500
commit719d959274da85eb0e1eb448dd807b1c435c19a1 (patch)
tree45d4def4479f16d68fa05bf053e2516f79196baa /kernel
parent72ecf75c58116c0fe07e34ba4fff5020e55c9097 (diff)
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 'kernel')
0 files changed, 0 insertions, 0 deletions