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 E197EA00C5; Thu, 25 Aug 2022 11:31:42 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 8293E410E5; Thu, 25 Aug 2022 11:31:42 +0200 (CEST) Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by mails.dpdk.org (Postfix) with ESMTP id C38CC40156 for ; Thu, 25 Aug 2022 11:31:40 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1661419899; 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=GLPED5p9p1A9Nr7h6q0O+spEH013qsoL3rgwExUpYPc=; b=ew7oIcMJ8rEDru/sG1KPI3M8Alxqy2G/imakU2p93qXEQn3QgQglIEONkkRysUPOcMDotB 3de7YflOxQOFCX2ZShPhAWtCSUjIG9oXp8dkGCB4DRtyFCqwTtr4WJziLH1N4h8YV0XbR2 H0ruimECXcB8R4Qf+8nMov/59ELTVDQ= Received: from mail-lj1-f198.google.com (mail-lj1-f198.google.com [209.85.208.198]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_128_GCM_SHA256) id us-mta-426-enVvVBoGPyer8YaEnjbV2Q-1; Thu, 25 Aug 2022 05:31:38 -0400 X-MC-Unique: enVvVBoGPyer8YaEnjbV2Q-1 Received: by mail-lj1-f198.google.com with SMTP id f10-20020a2e9e8a000000b00261af150cf0so3854355ljk.13 for ; Thu, 25 Aug 2022 02:31:38 -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; bh=GLPED5p9p1A9Nr7h6q0O+spEH013qsoL3rgwExUpYPc=; b=EVt/6TctTKAnkQXWfmUqH1QOGW3d9Cc8xxcNLuBdtQ0aEG4bSwDZk7YzDUBumJkLtL 8lLtDK4hoH0EDWW2m6qGqxnQAq0/KB9qh7cEGQ8uT+pDHXc45NbR89HK1M91AiKGthe0 ZF5q3zsvlx8erR3NPYzubITMgeomqyboU1Y33NavBKoROKLLcbYsEY3Ueh9F32Y4mKg5 btg00EUlAupAcFnNF7q9v2aByQV0H6RFxskHAhPwHJi9rz+jy3EXis1RGpZe3HoYp9Su YqsO+wQc/3VvtButqwrRXavGHT0ykPyTkhTv4+MNlYDvdMlTAQi1McpRn9o+MjVtxO31 uhHw== X-Gm-Message-State: ACgBeo0zJUk/BFAttQ4k804CnxcqzuDcEc7dnRQZCfRPihrf7u/bc9MO bKX0X7a7LA8kv08bwe9S+271IXlkm/bwYvqkUWNgnYz5KF/Ecy6B7iZ2rv1edVYmRbOfaMvmvbj X/rb1NjcrC+L59514O0w= X-Received: by 2002:a05:6512:3dab:b0:492:ecee:e5de with SMTP id k43-20020a0565123dab00b00492eceee5demr949096lfv.484.1661419897197; Thu, 25 Aug 2022 02:31:37 -0700 (PDT) X-Google-Smtp-Source: AA6agR5OH7rqh8sMzgix4K/2VkroM8Uy5UWpXB8GC/iArSD1Bzgqmcl1F9KMP5Qb8qduc2VvCDtIdIuSW/mtLfgKr0E= X-Received: by 2002:a05:6512:3dab:b0:492:ecee:e5de with SMTP id k43-20020a0565123dab00b00492eceee5demr949089lfv.484.1661419896924; Thu, 25 Aug 2022 02:31:36 -0700 (PDT) MIME-Version: 1.0 References: <20220628144643.1213026-1-david.marchand@redhat.com> <20220728152640.547725-1-david.marchand@redhat.com> <8AC9271A-AC63-4C5E-BF9C-E4E8027A1132@intel.com> In-Reply-To: <8AC9271A-AC63-4C5E-BF9C-E4E8027A1132@intel.com> From: David Marchand Date: Thu, 25 Aug 2022 11:31:25 +0200 Message-ID: Subject: Re: [RFC v3 00/26] Bus and device cleanup for 22.11 To: "Harris, James R" Cc: "dev@dpdk.org" , "Walker, Benjamin" , "Liu, Changpeng" , Alexey Marchuk , Shuhei Matsumoto 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 Hello, On Fri, Aug 5, 2022 at 1:19 AM Harris, James R wrote: > Can we keep rte_pci_register(), or a new variation of it that keeps the > rte_pci_driver structure hidden? Hiding rte_pci_register() would mean > SPDK can no longer work with a packaged DPDK. Or the DPDK packages > would need to set enable_driver_sdk which I suspect is not the intent. What do you think if SPDK maintains a copy of the internal headers? The internal API are not supposed to change that often, but we (DPDK) won't guarantee it. This would still put some maintenance burden on SPDK but I think it is a good compromise. I did a PoC this morning and put patches in my forked repo: https://github.com/david-marchand/spdk/commits/master -- David Marchand