From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id BF14AA04F3; Fri, 20 Dec 2019 01:23:42 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id C69CD1BC25; Fri, 20 Dec 2019 01:23:41 +0100 (CET) Received: from mail-pj1-f65.google.com (mail-pj1-f65.google.com [209.85.216.65]) by dpdk.org (Postfix) with ESMTP id C24541B9BF for ; Fri, 20 Dec 2019 01:23:40 +0100 (CET) Received: by mail-pj1-f65.google.com with SMTP id j11so3297794pjs.1 for ; Thu, 19 Dec 2019 16:23:40 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20150623.gappssmtp.com; s=20150623; h=date:from:to:cc:subject:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=xC9a5r4GaI+EXz88Fo8mD4+HG/BgpFR5XmmGaxbv7aE=; b=tIHbxMaye6T0g8kbyPrTvqgI5ZlH8IOIaBO+Z2YN5Hji5tPMkahra5VWqdQMk+IvbV xTpjplmZKSCuABm08Tgm/2mkzKj6RDGxixvW4qWB7xSqjfFKq+BaI9tXjX54lgDzUj2O +51VXzGVdq8okz9KQR8f6JitNJfat6ss6rL88ZxAjro/cGXGsn4hTdNMl9EAKu13q1Q9 JvsnmXtRz+vjiBuJPs85Did/IVYUtt3TqE/YQ/kendgotSnW1+E29xEiUK7brkXVV7d0 9th4AI+ViaB84gjcJiaSpecgMBaqi4BeM2EP6ae/HSNeFZ72/vrHui3M2U2gHu8ywuBG ujZQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=xC9a5r4GaI+EXz88Fo8mD4+HG/BgpFR5XmmGaxbv7aE=; b=Zg5S6O1RYu3iubIdetoGdVOa7Zjf2eXshnNLldUIT/LPoxQ2inS6l3hVJIy5UVsbWM Ea9199JxFCLCjvHHavnjpcKCVj96gshVfAYoYHZ47gq+kenhy39ZuXqDlfNrH6Fwjmfc CEEopF/R3NXX7AjFj8Y1rQ6+cFSlqyJuv8uYMkFFffSAnSzVoiK3+I4ZoGhDT5gEXVjb pXrEgGETHGLIEuZfdMMKHEerZ6Tc4X7zhJONmStest9Q406mElMf02LbuDwfvmL9DY2a hRhuIz+wzg2wxLvH7ABqh2zyXSXX1kNdO7lq0elICR0DDIc7WS9cfiZCM9oqJsLglbtY p58A== X-Gm-Message-State: APjAAAXXozGfTdmhjloUZqMPhmGGV3OqNUuSqIGZnFyQ4dvflFeQnWot jiDWxiMB/b9MEV+/NH1LTdPLPw== X-Google-Smtp-Source: APXvYqwHe4BYI+KqxZCduaOeFXvyioQdSgHsxy1HNze48PghIHSGVE90xflP2e/ieNFhwocRwK4ctg== X-Received: by 2002:a17:902:d711:: with SMTP id w17mr12233774ply.303.1576801419860; Thu, 19 Dec 2019 16:23:39 -0800 (PST) Received: from hermes.lan (204-195-22-127.wavecable.com. [204.195.22.127]) by smtp.gmail.com with ESMTPSA id c17sm4333608pfi.104.2019.12.19.16.23.39 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 19 Dec 2019 16:23:39 -0800 (PST) Date: Thu, 19 Dec 2019 16:23:31 -0800 From: Stephen Hemminger To: Alfredo Cardigliano Cc: John McNamara , Marko Kovacevic , Anatoly Burakov , dev@dpdk.org Message-ID: <20191219162331.37c8cdde@hermes.lan> In-Reply-To: <20191219221847.29989-5-cardigliano@ntop.org> References: <20191219221847.29989-1-cardigliano@ntop.org> <20191219221847.29989-5-cardigliano@ntop.org> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Re: [dpdk-dev] [PATCH v4 04/17] net/ionic: register and initialize the adapter X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" On Thu, 19 Dec 2019 23:18:34 +0100 Alfredo Cardigliano wrote: > + adapter->pci_dev = pci_dev; > + hw = &adapter->hw; > + > + hw->device_id = pci_dev->id.device_id; > + hw->vendor_id = pci_dev->id.vendor_id; Other drives to rte_eth_copy_pci_info(eth_dev, pci_dev) here.