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 8CCDA41EAF for ; Thu, 16 Mar 2023 10:23:42 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 7D74742C76; 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.129.124]) by mails.dpdk.org (Postfix) with ESMTP id B05C142BB1 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-f197.google.com (mail-pl1-f197.google.com [209.85.214.197]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-271-t4k57cdrMgul1BJy0SBw0w-1; Thu, 16 Mar 2023 05:23:38 -0400 X-MC-Unique: t4k57cdrMgul1BJy0SBw0w-1 Received: by mail-pl1-f197.google.com with SMTP id a18-20020a170902ecd200b001a06dbe7d4cso678444plh.6 for ; Thu, 16 Mar 2023 02:23:38 -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=gSxpmPShZvPrmwwUKD2J4CHOXFiWj6Pedv87gk6HCgQjFfTGEq4KrwfiscHkDkPooc oU72zAxlug06e1ZpMBkM+rGhd45tpZLPBNVZp5nMYD8W4xzeoqTlkZroREQxV9Jj24ud lFjJZ4HSzY6wh4J39eoHh+vCMpe8QGWPoV5UK0+zzxiTdLTzIM+ueQ8jrHv7PwxqYf8I XiX+VaaUT695osNVzF0Yzgy2lCyEM/03TdIIlvrraiP54Piu7pQ8u8VRaPM8O3jn5coc OnNaYpAIK8t0L6HzxXWvVHFHlVHTC6rQtJXVU9veV0rNQ4VagVvALNhrwWAoEfn3TRsc Mn7Q== X-Gm-Message-State: AO0yUKUXQj6Tbz8jQdWLPd2bgJiAyUXvkb+CYNsRIP5z5zWsn0JfgBpb il6IrV5HWHW++FEPSiJ4gmmEo3ymdj2VmgkYtXE+EuX6nSEI/Poo0IfLRnYlfpT1j18FIGe9ZGi bGDWoRQwQjJtsMQFpYPkxZ6E= X-Received: by 2002:a05:6a00:d58:b0:625:df7:1557 with SMTP id n24-20020a056a000d5800b006250df71557mr983528pfv.5.1678958617961; Thu, 16 Mar 2023 02:23:37 -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: stable@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: patches for DPDK stable branches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: stable-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