diff options
| author | Jakub Kicinski <kuba@kernel.org> | 2023-02-01 20:53:06 -0800 |
|---|---|---|
| committer | Jakub Kicinski <kuba@kernel.org> | 2023-02-01 20:53:06 -0800 |
| commit | d8673afbf51036ed1d72d9828d0d679035bb0d54 (patch) | |
| tree | a98fdc592d22358507b0a12740dd3c4543b6ab09 /tools/testing/selftests/bpf/prog_tests/autoload.c | |
| parent | nfp: correct cleanup related to DCB resources (diff) | |
| parent | virtio_net: notify MAC address change on device initialization (diff) | |
| download | linux-d8673afbf51036ed1d72d9828d0d679035bb0d54.tar.gz linux-d8673afbf51036ed1d72d9828d0d679035bb0d54.zip | |
Merge branch 'virtio_net-vdpa-update-mac-address-when-it-is-generated-by-virtio-net'
Laurent Vivier says:
====================
virtio_net: vdpa: update MAC address when it is generated by virtio-net
When the MAC address is not provided by the vdpa device virtio_net
driver assigns a random one without notifying the device.
The consequence, in the case of mlx5_vdpa, is the internal routing
tables of the device are not updated and this can block the
communication between two namespaces.
To fix this problem, use virtnet_send_command(VIRTIO_NET_CTRL_MAC)
to set the address from virtnet_probe() when the MAC address is
not provided by the device.
====================
Link: https://lore.kernel.org/r/20230127204500.51930-1-lvivier@redhat.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/autoload.c')
0 files changed, 0 insertions, 0 deletions
