[dpdk-dev] [PATCH] ethdev: Support VFs on the different PCI domains

David Marchand david.marchand at 6wind.com
Tue Oct 11 18:52:40 CEST 2016


On Tue, Oct 11, 2016 at 3:49 PM, Kamil Rytarowski
<krytarowski at caviumnetworks.com> wrote:
> diff --git a/lib/librte_ether/rte_ethdev.c b/lib/librte_ether/rte_ethdev.c
> index 382c959..01d5fb0 100644
> --- a/lib/librte_ether/rte_ethdev.c
> +++ b/lib/librte_ether/rte_ethdev.c
> @@ -225,7 +225,7 @@ rte_eth_dev_create_unique_device_name(char *name, size_t size,
>  {
>         int ret;
>
> -       ret = snprintf(name, size, "%d:%d.%d",
> +       ret = snprintf(name, size, "%d:%d:%d.%d", pci_dev->addr.domain,
>                         pci_dev->addr.bus, pci_dev->addr.devid,
>                         pci_dev->addr.function);
>         if (ret < 0)

This patch is obsolete since this part has been moved to eal.

Can you test with current master branch if there is still an issue ?
Thanks.


-- 
David Marchand


More information about the dev mailing list