[dpdk-dev] [PATCH 04/40] net/virtio: introduce PCI device metadata

David Marchand david.marchand at redhat.com
Tue Jan 5 22:16:47 CET 2021


On Sun, Dec 20, 2020 at 10:14 PM Maxime Coquelin
<maxime.coquelin at redhat.com> wrote:
>
> This patch initiate refactoring of Virtio PCI, by introducing
> a new device structure for PCI-specific metadata.

This works, but this patch seems artificial.

The eth_virtio_dev_init expects dev->data->dev_private to be a virtio_hw object.
You can introduce this later in the series when really needed.


-- 
David Marchand



More information about the dev mailing list