From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 0DC77A034F; Fri, 8 Oct 2021 14:40:36 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id D0E73410E1; Fri, 8 Oct 2021 14:40:35 +0200 (CEST) Received: from mail-lf1-f51.google.com (mail-lf1-f51.google.com [209.85.167.51]) by mails.dpdk.org (Postfix) with ESMTP id 87B7F410DB for ; Fri, 8 Oct 2021 14:40:34 +0200 (CEST) Received: by mail-lf1-f51.google.com with SMTP id m3so38946169lfu.2 for ; Fri, 08 Oct 2021 05:40:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=QHACaH9Y5+AWZ3qPmA4qOdR+FL7jaHGisuwUjnipKEA=; b=CVrVJ0GyPiuEFH9faKkAfDu4ji9kqaEpBW+1M7EOnFROGo3iZMlNwc4u2EiYt/y5+I wisHK6uw4hvyFKdedAGctZxm9q12w7a0XUJ3qQXukUzjffeee1CNYRNsa+0L2VgR0REs 1hzr40fRynHOSxpT2xKCKulOzivjcOumxceV1PzG5FwrvQIZdOJlLAia4bmnbM7aDkAS WdGILzmpTUUek21O7qMPMWg2YMppMBqkkxMZiHwy8J0zFvP7dzLcJ9yciqSwZtuG2sfO K00t60ktdWCqdG5wzb/xC83R0FuGlfXQ8ZkAxeUOMluNLVtBg/+HmpQuzEssXMexSIBF xs2Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=QHACaH9Y5+AWZ3qPmA4qOdR+FL7jaHGisuwUjnipKEA=; b=33G8XkPS9AdZ/yrih1nzlvohU0kaSKK90JoTUVdCfewCi/oLsFPhxXxo+XnnBeMftv 8k7uXLu5LnzyfUdDzeViug+qakyV5HTvKF2kh6R1+k1RyMW/bZC4PsaAomJ+tFPc6yyn hqlklYNo7fMkRMt3aeRscwb2Cuiowd6ZeggDHO5+ObxrQhphCQ99wmq400IFx8x/RdlF BaY5+B4vaeLJ9q2guKuupjre8aOCbB4HTF9CiChy1+47pDqQbVM78SMRue9s+xUiAo0U 38zveBL+g7fV4O/o8KkzzIP6/OHiNoU7EGBbzRHd6idJj1YkWlxLx6etjlxa/VJR70M/ xpAA== X-Gm-Message-State: AOAM531lhUlPXpMh9b4wRTioBCV6p746ykM9QTc8PUGXfIIvxsKJHwub TFYTPX6P7ibLH7GcRa2AK+MN8FnjxS5CbIGpj+oWxp1R X-Google-Smtp-Source: ABdhPJxi3scAN3LHHZZPenEbaPd1RCL92SDaB+cPNMqkF/jslBHmuw2ePy5NSeIQKFmzit6dPxlEqZs38QS9HOkd3mM= X-Received: by 2002:ac2:4d16:: with SMTP id r22mr11131243lfi.662.1633696833782; Fri, 08 Oct 2021 05:40:33 -0700 (PDT) MIME-Version: 1.0 References: <20211008002243.88955-1-u9012063@gmail.com> In-Reply-To: <20211008002243.88955-1-u9012063@gmail.com> From: William Tu Date: Fri, 8 Oct 2021 05:39:57 -0700 Message-ID: To: dpdk-dev Cc: navasile@microsoft.com, Pallavi Kadam , Dmitry Kozliuk Content-Type: text/plain; charset="UTF-8" Subject: Re: [dpdk-dev] [PATCH v1] windows/netuio: fix pci resouce translation X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 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, Oct 7, 2021 at 5:23 PM William Tu wrote: > > When BAR array is filled like this > * Bar[4] = c844000c > * Bar[5] = null > ex: > while ((descriptor->Type != CmResourceTypeMemory) || > !(descriptor->Flags & CM_RESOURCE_MEMORY_BAR)); > returns true, the loop continue and the decriptor will be NULL, > but it's not an error. So I fix it by setting the status to STATUS_SUCCESS. > > Signed-off-by: William Tu > --- > Found the issue when adding the e1000 PMD support. > http://inbox.dpdk.org/dev/20211007202451.90271-1-u9012063@gmail.com/T/#u > --- Sorry, there are some format/spelling errors in this patch. I will fix and resend v2. William