[dpdk-dev] [PATCH v4 04/17] net/ionic: register and initialize the adapter

Stephen Hemminger stephen at networkplumber.org
Fri Dec 20 01:23:31 CET 2019


On Thu, 19 Dec 2019 23:18:34 +0100
Alfredo Cardigliano <cardigliano at ntop.org> wrote:

> +	adapter->pci_dev = pci_dev;
> +	hw = &adapter->hw;
> +
> +	hw->device_id = pci_dev->id.device_id;
> +	hw->vendor_id = pci_dev->id.vendor_id;

Other drives to rte_eth_copy_pci_info(eth_dev, pci_dev) here.


More information about the dev mailing list