Displaying 3 results from an estimated 3 matches for "pds_vdpa_reset".
2023 Jul 07
1
[PATCH virtio 1/4] pds_vdpa: reset to vdpa specified mac
...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
>
>> }
>>
>> if (status & ~old_status & VIRTIO_CONFIG_S_FEATURES_OK) {
>> @@ -532,7 +534,6 @@...
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