Displaying 4 results from an estimated 4 matches for "pds_vdpa_dev_add".
2023 Jul 07
1
[PATCH virtio 1/4] pds_vdpa: reset to vdpa specified mac
...pa_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 @@ static int pds_vdpa_dev_add(struct vdpa_mgmt_dev *mdev, const char *name,
>> struct device *dma_dev;
>> struct pci_dev *pdev;
>> struct device *dev;
>> - u8 mac[ETH_ALEN];
>> int err;
>> int i;
>>
>> @@ -617,19 +618,18 @@ static...
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
..."vdpa_dev.h"
> >> +#include "aux_drv.h"
> >> +
> >> +static struct virtio_device_id pds_vdpa_id_table[] = {
> >> + {VIRTIO_ID_NET, VIRTIO_DEV_ANY_ID},
> >> + {0},
> >> +};
> >> +
> >> +static int pds_vdpa_dev_add(struct vdpa_mgmt_dev *mdev, const char *name,
> >> + const struct vdpa_dev_set_config *add_config)
> >> +{
> >> + return -EOPNOTSUPP;
> >> +}
> >> +
> >> +static void pds_vdpa_dev_del(struct vdpa_mgmt_dev *mdev,
&...