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 9F46BA00C2; Sat, 25 Apr 2020 22:28:56 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 520AB1C136; Sat, 25 Apr 2020 22:28:55 +0200 (CEST) Received: from out4-smtp.messagingengine.com (out4-smtp.messagingengine.com [66.111.4.28]) by dpdk.org (Postfix) with ESMTP id 28CC11C133; Sat, 25 Apr 2020 22:28:53 +0200 (CEST) Received: from compute7.internal (compute7.nyi.internal [10.202.2.47]) by mailout.nyi.internal (Postfix) with ESMTP id A3BEC5C01FE; Sat, 25 Apr 2020 16:28:52 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute7.internal (MEProxy); Sat, 25 Apr 2020 16:28:52 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=monjalon.net; h= from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding:content-type; s=fm1; bh= XXhGe7UYuvTaK6bYAtToNrzkeiop8A61t4UvOnnBoWo=; b=ugq1PLXIkTbcjig8 VsH0+5XuWfJS0XI8ISKFVWrJYg9LTlVtQBySMisd2ni6+IQ+Ue+IxQxsJ1fEGEUw 30Abpdd5knvp1MntmAtqL2H9mhI8uhpl85WT9g9AB0zwwXCx+GOtKSVTt+YhrOl7 z7JU4mTBCp8IaIxh+fKomNwDiyYQ5p3Ytss0zjN0ARbnSMk2Gt5OxIKlmpb3qdII DTiWpGXYENyPufozijIs1Xboke+o0qHZV4g3BGbmfGrzR/QC3RuzDWKfXhvUy3vm NylyL0+eX7b6LrgM5dMbeyPtVm/BdM4JSywZ77HvEUVSCAcy3oTMmt4hMf9M92kx EAPc3g== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm2; bh=XXhGe7UYuvTaK6bYAtToNrzkeiop8A61t4UvOnnBo Wo=; b=S+4ZGOMXMGbxXWFHImd1GHU1WypgpYew1nkqT/XceMmoS38FgrLxhJfMj QzktQ4jpruZ2jop5dPIQMMPHNHQ9F93OM+BT1gzGcet3hUdN8LMRBN6y6cAEKOEL YvcBE0u4WeqLwFIJ7VuqYuSp4VOccCXTwDoZTWElMZFY65usle/Ak0po/Fn4bIrM MLpWYn26UvJ/9AVyXzpMxdsH8Z98qUE/u9MdE4Y+w0ca7BDiLBjjL70ORRGrVxdA QWaGHdaS8vTRKF/n3dwpxOq8jH79WXUBK5yzj9Y6vORybemK48jFo+oxg3wLi0xq sQzvJruiQBQ7RVOKwgLQ0Bt3+cdzQ== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduhedrheeggdduvdeiucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhephffvufffkfgjfhgggfgtsehtufertddttddvnecuhfhrohhmpefvhhhomhgr shcuofhonhhjrghlohhnuceothhhohhmrghssehmohhnjhgrlhhonhdrnhgvtheqnecukf hppeejjedrudefgedrvddtfedrudekgeenucevlhhushhtvghrufhiiigvpedtnecurfgr rhgrmhepmhgrihhlfhhrohhmpehthhhomhgrshesmhhonhhjrghlohhnrdhnvght X-ME-Proxy: Received: from xps.localnet (184.203.134.77.rev.sfr.net [77.134.203.184]) by mail.messagingengine.com (Postfix) with ESMTPA id C43BD3280065; Sat, 25 Apr 2020 16:28:51 -0400 (EDT) From: Thomas Monjalon To: Vijaya Mohan Guvva Cc: dev@dpdk.org, stable@dpdk.org, ferruh.yigit@intel.com Date: Sat, 25 Apr 2020 22:28:50 +0200 Message-ID: <1860417.NnIJQXNAa5@thomas> In-Reply-To: <1587748108-56948-1-git-send-email-vijay1054@gmail.com> References: <1587748108-56948-1-git-send-email-vijay1054@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Subject: Re: [dpdk-dev] [PATCH] bus/pci: pcidev access from secondary process 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" 24/04/2020 19:08, Vijaya Mohan Guvva: > For pci devices presented through igb_uio, pcidev->mem_resource[] is > not populated when the device is initialized for secondary process. > > Initialize pcidev->mem_resource[] with pci-bar mapped addresses. > > Fixes: c752998b (pci: introduce library and driver) > Cc: stable@dpdk.org > > Signed-off-by: Vijaya Mohan Guvva Reviewed-by: Ferruh Yigit Applied, thanks