From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga14.intel.com (mga14.intel.com [192.55.52.115]) by dpdk.org (Postfix) with ESMTP id 771F429D1 for ; Mon, 29 Aug 2016 18:53:41 +0200 (CEST) Received: from orsmga001.jf.intel.com ([10.7.209.18]) by fmsmga103.fm.intel.com with ESMTP; 29 Aug 2016 09:53:40 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.30,597,1470726000"; d="scan'208";a="1021836724" 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:53:39 -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-26-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: <57C46892.1080103@intel.com> Date: Mon, 29 Aug 2016 17:53:38 +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-26-git-send-email-shreyansh.jain@nxp.com> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit Subject: Re: [dpdk-dev] [PATCH v8 25/25] eal/pci: Create rte_device list and fallback on its members 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:53:41 -0000 On 8/26/2016 2:57 PM, Shreyansh Jain wrote: > Now that rte_device is available, drivers can start using its members (numa, > name) as well as link themselves into another rte_device list. > > As of now no one is using this list, but can be used for moving over all > devices (pdev/vdev/Xdev) and perform bulk actions (like cleanup). > > Signed-off-by: Jan Viktorin > Signed-off-by: Shreyansh Jain > --- > app/test/virtual_pmd.c | 4 ++-- > drivers/net/fm10k/fm10k_ethdev.c | 6 +++--- > drivers/net/i40e/i40e_ethdev.c | 6 ++++-- > drivers/net/virtio/virtio_pci.c | 5 +++-- > lib/librte_eal/bsdapp/eal/eal_pci.c | 2 +- > lib/librte_eal/common/eal_common_pci.c | 11 ++++++----- > lib/librte_eal/common/include/rte_pci.h | 3 +-- > lib/librte_eal/linuxapp/eal/eal_pci.c | 7 +++++-- > lib/librte_ether/rte_ethdev.c | 2 +- > 9 files changed, 26 insertions(+), 20 deletions(-) mlx5.c needs to be updated too: CC mlx5.o .../drivers/net/mlx5/mlx5.c:514:34: error: no member named 'devargs' in 'struct rte_pci_device' err = mlx5_args(priv, pci_dev->devargs); ~~~~~~~ ^