DPDK usage discussions
 help / color / mirror / Atom feed
* [dpdk-users] Refreshing list of available ports after initialization
@ 2018-11-09 15:16 Andres Avila
  0 siblings, 0 replies; only message in thread
From: Andres Avila @ 2018-11-09 15:16 UTC (permalink / raw)
  To: users

Hi everyone,

I am currently trying a specific scenario related to NIC bonding in DPDK. I
am whitelisting two ports to be used in Active-Backup mode, but one of the
ports is down when rte_eal_init is called during initialization. In our
case, this gives us this warning message:

PMD: eth_ixgbevf_dev_init(): VF Initialization Failure: -15
EAL: Releasing pci mapped resource for 0000:02:10.1
EAL: Calling pci_unmap_resource for 0000:02:10.1 at 0x7ff380008000
EAL: Calling pci_unmap_resource for 0000:02:10.1 at 0x7ff38000c000
EAL: Requested device 0000:02:10.1 cannot be used

Due to this, the port is just ignored in the portlist available and the
rte_eth_dev_count is set to 1 instead of 2 ports. I was wondering if there
is any way to refresh the port list after initialization or is it only
possible to do it by calling rte_eal_init again?

Thanks,
Andres

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2018-11-09 15:16 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-11-09 15:16 [dpdk-users] Refreshing list of available ports after initialization Andres Avila

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).