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 48B4FA0547; Tue, 19 Oct 2021 20:47:30 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 0656840142; Tue, 19 Oct 2021 20:47:30 +0200 (CEST) Received: from mail-io1-f45.google.com (mail-io1-f45.google.com [209.85.166.45]) by mails.dpdk.org (Postfix) with ESMTP id A73A44003E; Tue, 19 Oct 2021 20:47:28 +0200 (CEST) Received: by mail-io1-f45.google.com with SMTP id 188so21519077iou.12; Tue, 19 Oct 2021 11:47:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=TO3gmbdD5v6xvG8H2q6GI9q9mLdswpAuQttN8ZHRFRU=; b=T0B804ebqOIB3C/QcUolWkLTGEJ2SMdP2pPLlu7NkXR3tuK1ijmPWH7h960stxjcsT rsCiqjq0A+2FSrybZr7J271LPoQUTY6a2+Eds16P56MxkvcGE9jMSXj66oOWIZdmZaR1 E0AYx8E8hIoKjZ08UJzRDrTOwWZ0VV+VjB7Hpd0Odiw7VF2jkhUN4ct+3YcafXa0x5ka 9ekwsroHgQpzMbB8F4BEFJMt68wZ2lhzdY59PHJrRApzlnGLbcVmWNb7Ma3EYSttDtWq HFUleztaR0+ofe7GdO3IySV38CZsYwlubv+WLKXFeIwvLAo4pEBEQVl0Hk6F4EpiQNDn 3xQA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=TO3gmbdD5v6xvG8H2q6GI9q9mLdswpAuQttN8ZHRFRU=; b=nLqlor68K50oFxfE4wwel5NDLub7dCld3HQ945Pwq4+3MXok7WwvSkM/YSgh365dxg JOUPfreCct9Sx8V//bZEfS1nOtRIpqrKUMlOSMX4akb0aTeMPBa82EBMjn1G7FDKRJWS 9JigSvQaDupw4eGzd3hk7aQGvN3Fa9kxQ/LrCAAg4Q7wNZIXNhSbuKchaFnRA5uZVvvI PvZ/heWonOsnhdWo8q6MCjuZ5DULBHLk5SvhwNwaKlwoB2ydS60pDCgUWJZxVgAnE3zZ FXUfooWtAwrsEtGMSRshQjwyIdQxdoixAtS5UCfuhmOht8CbTFF9LVCAwFGc055W2AKF XRug== X-Gm-Message-State: AOAM531Pg2SWCLK0WvGjO9kbPTk15QBypiow3xXsWVhtOxhi68oDETS1 SWNJU2W5i1W8TpzwAa82WGtjr+/0oN3kVxa0N8E= X-Google-Smtp-Source: ABdhPJyD2ni5zD99UK/HZv3uPtOLt0hdMo2NHAR3EbERkdl7FfZ8OZXsSoj7u1+EFDAsaCkzIHcRquakVp1DtJWjWEU= X-Received: by 2002:a05:6638:358c:: with SMTP id v12mr5391263jal.48.1634669248018; Tue, 19 Oct 2021 11:47:28 -0700 (PDT) MIME-Version: 1.0 References: <20210602203531.2288645-1-thomas@monjalon.net> <68083401.ybZ649KAnY@thomas> <8296426.PREcJboN3U@thomas> In-Reply-To: From: Jerin Jacob Date: Wed, 20 Oct 2021 00:17:01 +0530 Message-ID: To: Elena Agostini Cc: NBU-Contact-Thomas Monjalon , "techboard@dpdk.org" , dpdk-dev Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Subject: Re: [dpdk-dev] [PATCH v3 0/9] GPU library 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 Sender: "dev" > > > > > > > He wants only feature-specific API. > > > > > > To re-reiterate, feature-specific "application" API. A device-specific > > > bit can be > > > driver API and accessible to the out-of-tree driver if needed. > > > > > > IMO, if we take this path, DPU, XPU, GPU, etc we need N different libra= ries to > > > get the job done for a specific feature for the dataplane. > > > Instead, Enabling public feature APIs will make the application > > > portable and does not > > > need to worry about which type of *PU it runs. > > > > > > > As I stated multiple times, let=E2=80=99s start with something simple tha= t works and > > then think about how to enhance the library/driver. I have submitted RFC[1] to abstract in a generic way so that workload-specific _driver_ aspects are NOT EXPOSED to the application. The RFC explains with application code, how any workload can be used by the application without exposing the driver details. Also, shows how to enable a framework to abstract a different form of workload acceletor(DPU, GPU, XPU, IPU....) In order to map to this discussion with RFC: You may need to add a new host port for GPU which as lib/dwa/rte_dwa_port_host_xxxxx.h and adding new workload as lib/dwa/rte_dwa_profile_xxxx.h(Which can be reused by all dataplane workload accelerator) [1] http://mails.dpdk.org/archives/dev/2021-October/226070.html > > IMHO it doesn=E2=80=99t make sense to address all the use-cases now. > > This is a completely new scenario we=E2=80=99re opening in the DPDK conte= xt, let=E2=80=99s start > > from the basis.