Displaying 4 results from an estimated 4 matches for "vdpa_aux".
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
2023 Mar 17
0
[PATCH RFC v2 virtio 2/7] pds_vdpa: get vdpa management info
...t; static const struct auxiliary_device_id pds_vdpa_id_table[] = {
> >> { .name = PDS_VDPA_DEV_NAME, },
> >> @@ -30,6 +33,7 @@ static int pds_vdpa_probe(struct auxiliary_device *aux_dev,
> >> return -ENOMEM;
> >>
> >> vdpa_aux->padev = padev;
> >> + vdpa_aux->vf_id = pci_iov_vf_id(padev->vf->pdev);
> >> auxiliary_set_drvdata(aux_dev, vdpa_aux);
> >>
> >> /* Register our PDS client with the pds_core */
> >> @@ -40,8 +44,15 @@ static int pds_v...
2023 Jul 07
1
[PATCH virtio 1/4] pds_vdpa: reset to vdpa specified mac
..._config->net.mac);
>> - pds_vdpa_cmd_set_mac(pdsv, mac);
>> + ether_addr_copy(pdsv->mac, add_config->net.mac);
>> } else {
>> struct virtio_net_config __iomem *vc;
>>
>> vc = pdsv->vdpa_aux->vd_mdev.device;
>> - memcpy_fromio(mac, vc->mac, sizeof(mac));
>> - if (is_zero_ether_addr(mac)) {
>> - eth_random_addr(mac);
>> - dev_info(dev, "setting random mac %pM\n", mac);
>>...