DPDK patches and discussions
 help / color / mirror / Atom feed
* [dpdk-dev] how to get driver name for a given port ID
@ 2015-10-26 14:17 Montorsi, Francesco
  2015-10-27  9:59 ` Montorsi, Francesco
  0 siblings, 1 reply; 3+ messages in thread
From: Montorsi, Francesco @ 2015-10-26 14:17 UTC (permalink / raw)
  To: dev

Hi all,

Is there an API to retrieve the driver name for a certain port ID before calling rte_eth_dev_configure()?

My use case is: I'm trying to call rte_eth_dev_configure() with nb_rx_q=4 and found that this works for ixgbe driver but it doesn't for "rte_em_pmd" (1Gbps device):

ERROR HwEmulDPDKPort::init() rte_eth_dev_configure: err=-22, port=0: Unknown error -22
EAL: PCI device 0000:03:00.0 on NUMA socket 0
EAL:   remove driver: 8086:105e rte_em_pmd
EAL:   PCI memory unmapped at 0x7feb40000000
EAL:   PCI memory unmapped at 0x7feb40020000

So, for those devices I want to use nb_rx_q=1...

Thanks,

Francesco Montorsi

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2015-10-27 10:26 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-10-26 14:17 [dpdk-dev] how to get driver name for a given port ID Montorsi, Francesco
2015-10-27  9:59 ` Montorsi, Francesco
2015-10-27 10:26   ` Andriy Berestovskyy

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).