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 E262145B4C; Tue, 22 Oct 2024 21:12:36 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 719524029B; Tue, 22 Oct 2024 21:12:36 +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 34D7840285 for ; Tue, 22 Oct 2024 21:12:35 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1729624354; 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=nsZx46wd2l1xDfetfw/ztwzos8wvYHCjVCHsWtDZ5uo=; b=cc0946U4VUZpz28f8z5ri254gFJLegRIHXGcTgnLWG5KkHJki16hJDVHBEt7pYkvDhGdOd GYliTHMaHitja8Ti/l8heGesmSMfAFmjfuRWtbkCc9mOUPk8GklGvO4OI6MJVQf+afgVVm bAoQWUg42pLFUPFXfChOWwjUUxFxHp4= Received: from mail-lf1-f71.google.com (mail-lf1-f71.google.com [209.85.167.71]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-258-wiofz-jXOEyJlSaxzNWh7w-1; Tue, 22 Oct 2024 15:12:33 -0400 X-MC-Unique: wiofz-jXOEyJlSaxzNWh7w-1 Received: by mail-lf1-f71.google.com with SMTP id 2adb3069b0e04-539f7ed336bso4638879e87.2 for ; Tue, 22 Oct 2024 12:12:33 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1729624352; x=1730229152; 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=nsZx46wd2l1xDfetfw/ztwzos8wvYHCjVCHsWtDZ5uo=; b=KDjkbzoEGxIpPTZuc5+MX/uSsQoNzl60NRTe9ZqVirZfG5n8ntBDtwg921KpdSxkw9 qVGxLC1AmJpqTD2gejgLH1HQK75qwP0e+HbdyEX+7TjmV0RBv0btpbwuL7PAluzlX4Db Em9iayEr9z1YvpAib/erL3ln8Q9nNxmPPgi9eQFNo6zahHOLHchzfMjkTOG60RvMu3Q1 rxQMoSgobDQiHR5QvrmI9kmHWYZwCAHAkilCnTuQDJv7BArno1oeuHZy+4s3sHHG5ijj q4R9uqgpqss9LPIxAXh/gJnQqeDwHx7uBwNIwhzzOafCzwyLflvT8oGjCM6SkdtW7Q3o a+Kw== X-Gm-Message-State: AOJu0YyjgaqGdTHwW1jiNQOUQ8BDy4Lddn+6Fc9tgD+TT1kNXSK15Bx/ oDeicGYCbuG0BTuUdf8YNTH4t+RfyEiHPZrt1HSiyrcJKRfKY4516eIQw6sclrxFyRQhKZzk+1Z u7gdMM+qMjhohhb4knnkFASFoViZLiQllWC2omBEHpo0fCbEDoPOf4I6sMtP3W2SWk1pngRgJcQ PcNyuNg6C3+9d4pjA= X-Received: by 2002:a05:6512:2813:b0:533:3fc8:43ee with SMTP id 2adb3069b0e04-53a15218c75mr8885253e87.13.1729624351948; Tue, 22 Oct 2024 12:12:31 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHm5j/A62TIUfk6WqY+MKnOfNIgXbElFt8aJqKHXMbecdIOQXRUY/sHhuoBL9pFOsXNUEb0VK4rBqJL8ypwk88= X-Received: by 2002:a05:6512:2813:b0:533:3fc8:43ee with SMTP id 2adb3069b0e04-53a15218c75mr8885232e87.13.1729624351507; Tue, 22 Oct 2024 12:12:31 -0700 (PDT) MIME-Version: 1.0 References: <20240907193311.1342310-2-gakhil@marvell.com> <20241008074000.3745855-1-gakhil@marvell.com> In-Reply-To: <20241008074000.3745855-1-gakhil@marvell.com> From: David Marchand Date: Tue, 22 Oct 2024 21:12:20 +0200 Message-ID: Subject: Re: [PATCH v2] rawdev: add API to get device from index To: Akhil Goyal Cc: dev@dpdk.org, thomas@monjalon.net, hemant.agrawal@nxp.com, jerinj@marvell.com, Rosen Xu , Jakub Palider , Tomasz Duszynski 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 Tue, Oct 8, 2024 at 9:40=E2=80=AFAM Akhil Goyal wro= te: > > Added an internal API for PMDs to get raw device pointer > from a device id. > > Signed-off-by: Akhil Goyal > Reviewed-by: Hemant Agrawal Applied, thanks. Can someone send a followup patch cleaning raw/cnxk_bphy and raw/ifpga that implement a similar helper? Cc: maintainers of those drivers. --=20 David Marchand