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 92E84A034F; Thu, 1 Apr 2021 09:58:18 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 581E540142; Thu, 1 Apr 2021 09:58:18 +0200 (CEST) Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [216.205.24.124]) by mails.dpdk.org (Postfix) with ESMTP id 9DE6940141 for ; Thu, 1 Apr 2021 09:58:17 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1617263896; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=fc+GQp1d9RXanHuUXgzMp18GYO9TcUwOBC2d4tieRgY=; b=C5rjMVdFfbKCl88JVFeP/6CNmxCTbTj/gflmxMKzozgJAMtVSkLTTryij7TFo6OvixzvT+ Y+oPDYnsh+/Dpjn00HqZ0MnpRz17ZajJuZI9Q4hBx0ck7fSQwKr6w1eKzUz6k6iCsilyrr 0ohlxnhqffdV6uTtZuAGRItv4Jvbghs= Received: from mail-vk1-f198.google.com (mail-vk1-f198.google.com [209.85.221.198]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-257-jw44ohJIMvm6Wh7oK2QEOw-1; Thu, 01 Apr 2021 03:58:15 -0400 X-MC-Unique: jw44ohJIMvm6Wh7oK2QEOw-1 Received: by mail-vk1-f198.google.com with SMTP id q20so1471009vkb.3 for ; Thu, 01 Apr 2021 00:58:14 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=fc+GQp1d9RXanHuUXgzMp18GYO9TcUwOBC2d4tieRgY=; b=ovYik9Xh3eotd37wUbSvIaWkL6eTL1AwGeOm4Le6k64MbhoiI2fuYshzbx+NkqvLXQ uCspsPSxkUyDd1bFsbeSA/US3MT5F7pSJzis0OvuvOgpDffUPM42Jeosjx91l2joHMtH 7iU/6sqdAOEOrWZ31+t5rjCYzgFq5AKrzYe+EMrksrBpdAl5eTYiyBh+bsdC7eBTL9Vj 6JdvaXmPm9sjrYvMgrmHddDFcHoV1EbN3Lvuv94Jp2pyNb49xDzLf6XIpS/iJkOEQZ3K R39xxx4q2UQ+wyZcqFtJjhl74vxnpPVwKFTWLFOiOkQmrwNYsqlW7gTCiWj/dCUNvj4a IGpw== X-Gm-Message-State: AOAM531ORqBvnW+Fi9SwkWABdBA5yXh/mE7R9Fq8eQZQeFDV1B/yEmk6 krWJRQvklkXUW5p6xAOljnK7aPDghinXv09YUB36PqnTMYSTs7jgZ2BW5yubzxruh0/xOMh3elM Q/I3bHZB46hohDtguPsM= X-Received: by 2002:ac5:c93a:: with SMTP id u26mr4146376vkl.17.1617263894389; Thu, 01 Apr 2021 00:58:14 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzKYUzvjXcFhzCz+NMcwLsPbdcRYWa/1qwG9OOe2HwaJ7OxTnif1yUTciN0uga83LoV0Z2UYx8GSUdY4FRBRmg= X-Received: by 2002:ac5:c93a:: with SMTP id u26mr4146367vkl.17.1617263894083; Thu, 01 Apr 2021 00:58:14 -0700 (PDT) MIME-Version: 1.0 References: <20210331223423.2089467-1-thomas@monjalon.net> <20210331223423.2089467-2-thomas@monjalon.net> In-Reply-To: <20210331223423.2089467-2-thomas@monjalon.net> From: David Marchand Date: Thu, 1 Apr 2021 09:58:02 +0200 Message-ID: To: Thomas Monjalon Cc: dev , Gaetan Rivet Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=dmarchan@redhat.com X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset="UTF-8" Subject: Re: [dpdk-dev] [PATCH 1/2] pci: rename catch-all ID 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, Apr 1, 2021 at 12:34 AM Thomas Monjalon wrote: > @@ -95,7 +95,9 @@ struct rte_pci_addr { > }; > > /** Any PCI device identifier (vendor, device, ...) */ > -#define PCI_ANY_ID (0xffff) > +#define RTE_PCI_ANY_ID (0xffff) > +/** @deprecated Replaced with RTE_PCI_ANY_ID */ > +#define PCI_ANY_ID RTE_PCI_ANY_ID We may also tag it for applications to notice the deprecation: #define PCI_ANY_ID RTE_DEPRECATED(PCI_ANY_ID) RTE_PCI_ANY_ID > #define RTE_CLASS_ANY_ID (0xffffff) > > /** -- David Marchand