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 A6B45A0542; Sat, 24 Sep 2022 09:14:27 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 45C83400D5; Sat, 24 Sep 2022 09:14:27 +0200 (CEST) Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) by mails.dpdk.org (Postfix) with ESMTP id F3C22400D4 for ; Sat, 24 Sep 2022 09:14:25 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1664003665; 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=+Ocs1gQgW2S6stSsKOP0mo54lmyfcG4ep1u5fa1AxWg=; b=Za1PejrMpvUxwCqJMQyB+PlOwD9Xhi55AIbP1OD0RhQtp7ykJQaDTZ5BkITi64rIxubJhG 30AKh4vhVZDVT5GPx3GUDYFhoE0YloosiXFEcENSzBWFORukWV6Q+JkdCSdlqjweYcMaJ8 P48AYBjkGskU4csJVTPzu9IVrijcMCw= Received: from mail-ej1-f69.google.com (mail-ej1-f69.google.com [209.85.218.69]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_128_GCM_SHA256) id us-mta-219-AFN70xGpMXiQZTu73y2AKA-1; Sat, 24 Sep 2022 03:14:21 -0400 X-MC-Unique: AFN70xGpMXiQZTu73y2AKA-1 Received: by mail-ej1-f69.google.com with SMTP id sg44-20020a170907a42c00b007822e506a4fso777854ejc.16 for ; Sat, 24 Sep 2022 00:14:21 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date; bh=+Ocs1gQgW2S6stSsKOP0mo54lmyfcG4ep1u5fa1AxWg=; b=KMJ4GDETmXyt2vtozS3JvAHKQtHjtRLmELUCtG35gsX2/qA4i/oSCdX2+sdFFmbNJD FKDyaEdg/PB+VY+8fh7QIDM45lWiD/xqGAB2aigcmXcYb9/0UuBRX3vByExF/vzdMaAr VaKz5y3pQoKAvoTDrinxLJFyG5YFE65KCxFX54rMdfgaUrtOOPP5Gee8/uPQtNVRjbtC SWB0p9MXkOzqTvpUj99AlGdNt5+vfgMIYe2cz3IaAo7Gxd0EaY4WD/AfXLP/qukHXHOa 5XaHuezTqTOLZcXXplTnbv2uU/ikUw7hoeIPx9JqjEcAHXvd9FoHUb0H717UTHpwh0Z5 pOkA== X-Gm-Message-State: ACrzQf2KuONjYb6P+nb6EavwYUs1DIKtT1KzLn1ID+nzvcBJIJODFA/V 0KfGsc9zH5t9xQfdeFrQbYAM0WuurVenAOHlfv+4aYKfe+/gqZhThHRrz9CpsbJMAdq+jjj/cNl mPMK/qzGJMNQkB78BCJI= X-Received: by 2002:a17:907:628a:b0:781:bbff:1d42 with SMTP id nd10-20020a170907628a00b00781bbff1d42mr9724119ejc.375.1664003660828; Sat, 24 Sep 2022 00:14:20 -0700 (PDT) X-Google-Smtp-Source: AMsMyM5KWriYhYvrPI5n7Ys5wNQovGTZ5Pj5CP9qwdQ5rBNiaTVwhZj5y7Gg0tms03LJgG+OoVHifb9j9JAHM5qGhNk= X-Received: by 2002:a17:907:628a:b0:781:bbff:1d42 with SMTP id nd10-20020a170907628a00b00781bbff1d42mr9724106ejc.375.1664003660608; Sat, 24 Sep 2022 00:14:20 -0700 (PDT) MIME-Version: 1.0 References: <20220628144643.1213026-1-david.marchand@redhat.com> <20220914075841.51555-1-david.marchand@redhat.com> In-Reply-To: <20220914075841.51555-1-david.marchand@redhat.com> From: David Marchand Date: Sat, 24 Sep 2022 09:14:09 +0200 Message-ID: Subject: Re: [PATCH v6 00/27] Bus and device cleanup for 22.11 To: dev@dpdk.org Cc: thomas@monjalon.net, bruce.richardson@intel.com, Ferruh Yigit , Andrew Rybchenko , Ajit Khaparde , Qi Zhang , Jerin Jacob Kollanukkaran , Raslan Darawsheh , Maxime Coquelin , "Xia, Chenbo" X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset="UTF-8" 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 On Wed, Sep 14, 2022 at 9:59 AM David Marchand wrote: > > The rte_bus, rte_driver and rte_device objects are part of the public > ABI and this has proved to be a problem when needing to extend them. > This series hides them, and mark associated driver only API as internal. > > A good amount of the patches are preparation work on rte_bus.h, > rte_dev.h, rte_devargs.h and rte_eal.h headers, removing dependencies > between them. > > PCI bus specific handling are removed from testpmd, unit tests and > examples. > > After this series, driver-only API headers for registering to buses are > not exported anymore, unless the enable_driver_sdk meson option is > selected. > > New accessors for rte_bus, rte_driver and rte_device have been added, > marked with an experimental tag first when introducing them, and later > in the series marked as stable since external users will want to use > those drop-in replacements right away. > > A check is added to ensure we won't pollute app/ and examples/ again, > though some unit tests are left intentionnally untouched as they test > some internals of DPDK. > > Changes since v5: > - fixed Windows build (bis...), I rebased the series and pushed it to main. I had tested the series against some next-* repositories before. It should be rather painless, but please subtree maintainers, don't wait too much and rebase your trees. -- David Marchand