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 C424C41EAF; Thu, 16 Mar 2023 10:23:46 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id A254A42D0E; Thu, 16 Mar 2023 10:23:42 +0100 (CET) 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 BAFB042BC9 for ; Thu, 16 Mar 2023 10:23:40 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1678958620; 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: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=/jmAoQgty3uSfN4udFaFL5xSFzFRXARKxQgDavg/ro4=; b=H7xOCUkqd7GLmzy4+Ao2Mvmu21mE41G1FHo8PzwaBIO+OrMzYtO3xRMcdqbrzXU9qIlQ+4 EhL6bvNhrkKcRTiLbMSH3jxiMzhJpiK8hQUGawESDoBA8t4d7ZETZWmV2tSd5w/MYp+OAz fNOhToJC+Eq5H2/Xoeb/9FLRTRZabe8= Received: from mail-pl1-f199.google.com (mail-pl1-f199.google.com [209.85.214.199]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-540-uhB9-aFSM8-ot4fGs8UNqA-1; Thu, 16 Mar 2023 05:23:39 -0400 X-MC-Unique: uhB9-aFSM8-ot4fGs8UNqA-1 Received: by mail-pl1-f199.google.com with SMTP id bh9-20020a170902a98900b0019e506b80d0so678770plb.13 for ; Thu, 16 Mar 2023 02:23:39 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1678958618; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=/jmAoQgty3uSfN4udFaFL5xSFzFRXARKxQgDavg/ro4=; b=MRaLqSXeyIK2A26MaN143rONlHBksKoIQRZE8zu2NaV85hat1MiwNZWR5I3CocJjxx o0hdjNmit935BAeqq9pX0pw2Yxhz5Ie2qiMAIkiFrd/NSEh8XUYRv151tZ9HDFe2Kctt htMrKcV/+yh6akAsCJwKSni2abtbwgY1fCd0AYvbnDKI8ybETCZkBeaQCCUxxh3F16HP McDG2PYeFfkYOCDkcvUnuIdIB9stoDWJN3OkWM9nNrEZ6EcM/+pPH9bSN14rEbbkR8FU kJMXUhVO3UPK4WftlRV+gneBq5cpCMf9FwngwjSeG3Wsk+bKhSngy/SwSnI8iwRqmbig ohrg== X-Gm-Message-State: AO0yUKXhI8s2CMk31ZeS/a8FgU0Z7xJLXs67sLVq8ecE6iGs5yNOkrHI 9eyXN7m1uP4Iks87UBKrm1rXcEn2KBPlhkSzUIJQvrIhdJ6aPKQ0jTNQi3rN0E5xNY5RKcNjLnr iAbWkjclzb+82osAssmA= X-Received: by 2002:a05:6a00:d58:b0:625:df7:1557 with SMTP id n24-20020a056a000d5800b006250df71557mr983535pfv.5.1678958618299; Thu, 16 Mar 2023 02:23:38 -0700 (PDT) X-Google-Smtp-Source: AK7set/8NA5CE3tLw1PtPikLvWgBYwHHeLcFDwqHeLuYbFsYiszk0yEkJiy9oZqTHhMwkeNcuZgHF7iue+yVLnMTXgw= X-Received: by 2002:a05:6a00:d58:b0:625:df7:1557 with SMTP id n24-20020a056a000d5800b006250df71557mr983521pfv.5.1678958617686; Thu, 16 Mar 2023 02:23:37 -0700 (PDT) MIME-Version: 1.0 References: <20230316085919.46500-1-thomas@monjalon.net> In-Reply-To: <20230316085919.46500-1-thomas@monjalon.net> From: David Marchand Date: Thu, 16 Mar 2023 10:23:26 +0100 Message-ID: Subject: Re: [PATCH] gpudev: export header file for external drivers To: Thomas Monjalon Cc: dev@dpdk.org, stable@dpdk.org, Elena Agostini X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable 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 Thu, Mar 16, 2023 at 9:59=E2=80=AFAM Thomas Monjalon wrote: > > In DPDK 21.05, the option driver_sdk_headers was introduced > to export required headers to allow building out-of-tree drivers. > > In DPDK 21.11, the gpudev driver class was introduced, > without this out-of-tree compatibility. > > It is fixed by exporting gpudev_driver.h as part of the driver SDK. > > Fixes: 8b8036a66e3d ("gpudev: introduce GPU device class library") > Cc: stable@dpdk.org > > Reported-by: David Marchand > Signed-off-by: Thomas Monjalon LGTM, thanks. --=20 David Marchand