search for: pds_vdpa_cmd_set_mac

Displaying 3 results from an estimated 3 matches for "pds_vdpa_cmd_set_mac".

2023 Jul 07
1
[PATCH virtio 1/4] pds_vdpa: reset to vdpa specified mac
...ev.c >> @@ -409,6 +409,8 @@ static void pds_vdpa_set_status(struct vdpa_device *vdpa_dev, u8 status) >> pdsv->vqs[i].avail_idx = 0; >> pdsv->vqs[i].used_idx = 0; >> } >> + >> + pds_vdpa_cmd_set_mac(pdsv, pdsv->mac); > > So this is not necessarily called during reset. So I think we need to > move it to pds_vdpa_reset()? pds_vdpa_reset() calls pds_vdpa_set_status() with a status=0, so this is already covered. sln > > The rest looks good. > > Thanks > >>...
2023 Jun 30
4
[PATCH virtio 0/4] pds_vdpa: mac, reset, and irq updates
v2 for internal review - heavily reworked NET_F_MAC patch, matches recent PR-68875 - reordered to put "clean and reset vqs" before "alloc-irq" to make them slightly simpler patches - other minor cleanups for simpler patches These are some fixes for device providing a MAC address, for allocating irq resources later to support vhost use, and for properly cleaning vq info
2023 Jun 30
4
[PATCH virtio 0/4] pds_vdpa: mac, reset, and irq updates
v2 for internal review - heavily reworked NET_F_MAC patch, matches recent PR-68875 - reordered to put "clean and reset vqs" before "alloc-irq" to make them slightly simpler patches - other minor cleanups for simpler patches These are some fixes for device providing a MAC address, for allocating irq resources later to support vhost use, and for properly cleaning vq info