From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga07.intel.com (mga07.intel.com [134.134.136.100]) by dpdk.org (Postfix) with ESMTP id 7A70F2B92 for ; Mon, 29 Aug 2016 18:49:40 +0200 (CEST) Received: from orsmga001.jf.intel.com ([10.7.209.18]) by orsmga105.jf.intel.com with ESMTP; 29 Aug 2016 09:49:38 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.30,597,1470726000"; d="scan'208";a="1021835393" Received: from fyigit-mobl1.ger.corp.intel.com (HELO [10.237.220.32]) ([10.237.220.32]) by orsmga001.jf.intel.com with ESMTP; 29 Aug 2016 09:49:38 -0700 To: Shreyansh Jain , dev@dpdk.org References: <1466510566-9240-1-git-send-email-shreyansh.jain@nxp.com> <1472219823-29486-1-git-send-email-shreyansh.jain@nxp.com> <1472219823-29486-23-git-send-email-shreyansh.jain@nxp.com> Cc: viktorin@rehivetech.com, david.marchand@6wind.com, thomas.monjalon@6wind.com, hemant.agrawal@nxp.com From: Ferruh Yigit Message-ID: <57C467A1.8070606@intel.com> Date: Mon, 29 Aug 2016 17:49:37 +0100 User-Agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.7.2 MIME-Version: 1.0 In-Reply-To: <1472219823-29486-23-git-send-email-shreyansh.jain@nxp.com> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit Subject: Re: [dpdk-dev] [PATCH v8 22/25] eal/pci: inherit rte_driver by rte_pci_driver 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, 29 Aug 2016 16:49:40 -0000 On 8/26/2016 2:57 PM, Shreyansh Jain wrote: > Remove the 'name' member from rte_pci_driver and move to generic rte_driver. > > Most of the PMD drivers were initially using DRIVER_REGISTER_PCI(..) > as well as assigning a name to eth_driver.pci_drv.name member. > In this patch, only the original DRIVER_REGISTER_PCI(..) name has been > populated into the rte_driver.name member - assignments through eth_driver > has been removed. > > Signed-off-by: Jan Viktorin > Signed-off-by: Shreyansh Jain > --- > app/test/test_pci.c | 10 +++++++--- > app/test/virtual_pmd.c | 2 +- > drivers/crypto/qat/qat_qp.c | 2 +- > drivers/net/bnx2x/bnx2x_ethdev.c | 2 -- bnx2x_rxtx.c also needs to be updated: CC bnx2x_rxtx.o .../drivers/net/bnx2x/bnx2x_rxtx.c:22:25: error: no member named 'name' in 'struct rte_pci_driver' dev->driver->pci_drv.name, ring_name, dev->data->port_id, queue_id); ... Also szedata2 driver seems missed: CC rte_eth_szedata2.o .../drivers/net/szedata2/rte_eth_szedata2.c:1575:4: error: field designator 'name' does not refer to any field in type 'struct rte_pci_driver' .name = RTE_SZEDATA2_PCI_DRIVER_NAME, ^