On 2024/9/18 15:28, David Marchand wrote:
> On Wed, Sep 18, 2024 at 8:10 AM WanRenyong wrote:
>> +static const struct rte_pci_id xsc_ethdev_pci_id_map[] = {
>> + { RTE_PCI_DEVICE(XSC_PCI_VENDOR_ID, XSC_PCI_DEV_ID_MS) },
> You need to null terminate this array with something like:
>
On Wed, Sep 18, 2024 at 8:10 AM WanRenyong wrote:
> +static const struct rte_pci_id xsc_ethdev_pci_id_map[] = {
> + { RTE_PCI_DEVICE(XSC_PCI_VENDOR_ID, XSC_PCI_DEV_ID_MS) },
You need to null terminate this array with something like:
{ .vendor_id = 0, /* sentinel */ },
Otherwise the
2 matches
Mail list logo