Re: [dpdk-dev] [PATCH 04/40] net/virtio: introduce PCI device metadata
From: David Marchand <hidden>
Date: 2021-01-05 21:17:03
From: David Marchand <hidden>
Date: 2021-01-05 21:17:03
On Sun, Dec 20, 2020 at 10:14 PM Maxime Coquelin [off-list ref] 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