From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from bilemail1.empirix.com (bilemail1.empirix.com [208.67.76.245]) by dpdk.org (Postfix) with ESMTP id B665911A2 for ; Mon, 26 Oct 2015 15:17:45 +0100 (CET) Received: from BILEMAIL1.empirix.com (10.17.8.30) by bilemail1.empirix.com (10.17.8.30) with Microsoft SMTP Server (TLS) id 15.0.775.38; Mon, 26 Oct 2015 10:17:37 -0400 Received: from BILEMAIL1.empirix.com ([fe80::f9e0:9293:2523:f021]) by bilemail1.empirix.com ([fe80::f9e0:9293:2523:f021%22]) with mapi id 15.00.0775.031; Mon, 26 Oct 2015 10:17:37 -0400 From: "Montorsi, Francesco" To: "dev@dpdk.org" Thread-Topic: how to get driver name for a given port ID Thread-Index: AdEP98y0znCZJGJcReCjnCX9E5S5EQ== Date: Mon, 26 Oct 2015 14:17:36 +0000 Message-ID: <5796b5e2f5d14e9ba1299aa942d6c7f0@bilemail1.empirix.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.12.50.62] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Subject: [dpdk-dev] how to get driver name for a given port ID X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 26 Oct 2015 14:17:46 -0000 Hi all, Is there an API to retrieve the driver name for a certain port ID before ca= lling rte_eth_dev_configure()? My use case is: I'm trying to call rte_eth_dev_configure() with nb_rx_q=3D4= 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=3D-22, port=3D0: Un= known 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=3D1... Thanks, Francesco Montorsi