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 779E8A0547; Mon, 5 Sep 2022 10:39:31 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 1B7EF400D6; Mon, 5 Sep 2022 10:39:31 +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 8701D400D4 for ; Mon, 5 Sep 2022 10:39:29 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1662367169; 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=iw40CcaU8/CUG+1GkaRCcbuCJNmrsEhB/xXHUNTxvEk=; b=bkLqSg4T2HsP7fbse+f8gHOlfeWQaR2O1vogsYmnuC05pkA0iZYTsX4i7FZ5r8ypN3Ysyw GpiWQpShrwu+fV2QJ6G/Jl2X3l7iyGatJu9MRQB7tUDUPFSE3ihCrpYd6CxKdK3vOYIruH UZk1ILJxuCrXmOIEOqZQte9az3wxiwE= Received: from mail-lj1-f199.google.com (mail-lj1-f199.google.com [209.85.208.199]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_128_GCM_SHA256) id us-mta-327-WQeBYle9O6Kg94cE3UrYsg-1; Mon, 05 Sep 2022 04:39:28 -0400 X-MC-Unique: WQeBYle9O6Kg94cE3UrYsg-1 Received: by mail-lj1-f199.google.com with SMTP id d4-20020a2e9284000000b0025e0f56d216so2644425ljh.7 for ; Mon, 05 Sep 2022 01:39:27 -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=iw40CcaU8/CUG+1GkaRCcbuCJNmrsEhB/xXHUNTxvEk=; b=IJ0LfU7W9JIwspRsxc8n5WAta648COo/KVCvr0n+7rD7QcYGlHF/d86OdXK4inckvU ZPOt1+V6eC4gsZ3nlauTXe17mS3y5+UVoRycKiSV+YBlsunMmBvNnXpcSWSiGUkOOLYy aQIQHiah94G8L7ALljm4pvFTCqj+Nl5jh+K3+Z5a+ZFZ36fIpvqgV3GC5tH4Qot97bA2 wwpAG2ZF3G1RM3Z2xwTfQG0MbwiNaYPOfqA8UArHdSOoyV7PSu7hX0s5B86FyelzG49S 1ojvZ0/8E9Csq9iXwV2FCds/NWALIjN8td+t/NvNYD962v7l/gbQwTDP7wAHLyYDTeoy mVYg== X-Gm-Message-State: ACgBeo0WazoihWgO14yvn7FL2COjMpgDfovBnjn/FEJ9r49J+DXy+8eL b75IzvaBfh5JD5R2d/OkOpPYmWSDPnj3DXip+5hWt/85/ToUFAuGkzumm3RD9KISUelpGMoAXqx ld5pfYwj6nOcvNPhktiM= X-Received: by 2002:a2e:a788:0:b0:268:d10f:355 with SMTP id c8-20020a2ea788000000b00268d10f0355mr5157140ljf.159.1662367166607; Mon, 05 Sep 2022 01:39:26 -0700 (PDT) X-Google-Smtp-Source: AA6agR6LL6lzhsiyPSuIcdyNIYQ/n4UA77qH4tOSgPQXvOSTyd+kOZcHn0w8JNS1bP8epvBogGbXABcTZe4rKW3clls= X-Received: by 2002:a2e:a788:0:b0:268:d10f:355 with SMTP id c8-20020a2ea788000000b00268d10f0355mr5157135ljf.159.1662367166411; Mon, 05 Sep 2022 01:39:26 -0700 (PDT) MIME-Version: 1.0 References: <20220628144643.1213026-1-david.marchand@redhat.com> <20220905083540.2506490-1-david.marchand@redhat.com> In-Reply-To: <20220905083540.2506490-1-david.marchand@redhat.com> From: David Marchand Date: Mon, 5 Sep 2022 10:39:15 +0200 Message-ID: Subject: Re: [PATCH v5 00/27] Bus and device cleanup for 22.11 To: dev Cc: Thomas Monjalon , Bruce Richardson 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 Mon, Sep 5, 2022 at 10:36 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 v4: > - (hopefully, because I can't test) fixed Windows build, > - dropped unneeded change in vdev unit test, Pebcak, I only sent the first patches... resending the whole series. Sorry for the noise. -- David Marchand