[dpdk-dev] how to get driver name for a given port ID

2015-10-27 Thread Andriy Berestovskyy
dev [mailto:dev-bounces at dpdk.org] On Behalf Of Montorsi, >> Francesco >> Sent: luned? 26 ottobre 2015 15:18 >> To: dev at dpdk.org >> Subject: [dpdk-dev] how to get driver name for a given port ID >> >> Hi all, >> >> Is there an API to retrieve the

[dpdk-dev] how to get driver name for a given port ID

2015-10-27 Thread Montorsi, Francesco
dev [mailto:dev-bounces at dpdk.org] On Behalf Of Montorsi, > Francesco > Sent: luned? 26 ottobre 2015 15:18 > To: dev at dpdk.org > Subject: [dpdk-dev] how to get driver name for a given port ID > > Hi all, > > Is there an API to retrieve the driver name for a certain port ID b

[dpdk-dev] how to get driver name for a given port ID

2015-10-26 Thread Montorsi, Francesco
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