From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-3.8 required=3.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SIGNED_OFF_BY, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 57559C54FCB for ; Sat, 25 Apr 2020 20:28:57 +0000 (UTC) Received: from dpdk.org (dpdk.org [92.243.14.124]) by mail.kernel.org (Postfix) with ESMTP id D7E87206CD for ; Sat, 25 Apr 2020 20:28:56 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=monjalon.net header.i=@monjalon.net header.b="ugq1PLXI"; dkim=pass (2048-bit key) header.d=messagingengine.com header.i=@messagingengine.com header.b="S+4ZGOMX" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org D7E87206CD Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=monjalon.net Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=dev-bounces@dpdk.org 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