[dpdk-dev] [PATCH v2 07/15] net/avp: driver registration

Stephen Hemminger stephen at networkplumber.org
Mon Feb 27 17:47:46 CET 2017


On Sun, 26 Feb 2017 14:08:55 -0500
Allain Legacy <allain.legacy at windriver.com> wrote:

> +static struct rte_pci_id pci_id_avp_map[] = {
> +	{ .vendor_id = RTE_AVP_PCI_VENDOR_ID,
> +	  .device_id = RTE_AVP_PCI_DEVICE_ID,
> +	  .subsystem_vendor_id = RTE_AVP_PCI_SUB_VENDOR_ID,
> +	  .subsystem_device_id = RTE_AVP_PCI_SUB_DEVICE_ID,
> +	  .class_id = RTE_CLASS_ANY_ID,
> +	},
> +
> +	{ .vendor_id = 0, /* sentinel */
> +	},
> +};
> +

PCI table should be const


More information about the dev mailing list