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 77935A0503; Thu, 19 May 2022 14:13:15 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 1668840222; Thu, 19 May 2022 14:13:15 +0200 (CEST) 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 023CD40156 for ; Thu, 19 May 2022 14:13:12 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1652962392; 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=qjKmejOKXWLN+LsnO2UH3D8JsH2YSEXVtp/8GOC2aH8=; b=TLcSLNEFvgA7aCg9yqbIyIvFC0MmPqMl1LHKCt+fG3dAPwLMqrPLoxP3xEdUwiBBIW6v+R l+5fkWvVjXffOA3JxXln9wuwYRFeG2mC0TIvPfuk1Fu1HaQrBuak7guu1+8iTUpWRg97mz DInkvCwi7V+Ch4IiW9QcYL+4h4f3emk= Received: from mail-lj1-f200.google.com (mail-lj1-f200.google.com [209.85.208.200]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-621-8MsSVda5PY6c5vUhHHut9A-1; Thu, 19 May 2022 08:13:11 -0400 X-MC-Unique: 8MsSVda5PY6c5vUhHHut9A-1 Received: by mail-lj1-f200.google.com with SMTP id g3-20020a2e9cc3000000b00253cc2b5ab5so970152ljj.19 for ; Thu, 19 May 2022 05:13:11 -0700 (PDT) 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; bh=qjKmejOKXWLN+LsnO2UH3D8JsH2YSEXVtp/8GOC2aH8=; b=Y8yILel5ISW9P9UpTthvHc5VJpgTY8THg7+S7/qZxMiiHtnNr8LGhVp811ydduuVN6 m/3Hc+cqHimLxWIxjCPhBoR5CQIhmh9gZDwee8KgZ+tLMxYWpcb2IsTk5whLFMZSX634 qJQMvsZvjv7Kkt/f4c5u82pNyAnk65deeqiY7gthQocBVMVtEOXgVNClII8kWgsYrFgj RAMM0ahG8Ap/TB54GURsPFR7sjY3xv9/c9yY1d5ouEEliV641MOMEphHGXZIKOHLj6Kg Kkce3p22Gxw+OWRYmO/UAPWxKTiLCBw/wIlnOOJLWTGnpQj7tKI05cB5FSipEmrJ2J0x ioSg== X-Gm-Message-State: AOAM530OGs7y6/jbFHY+zZviA8JUpFXN1kHJU7argzNP20WZsKAcA60b rolqIPtrZgherH/BztSZ5nW9fviv3gSw1IBLF74Atr6r9/GH8xCzMZLPo96UML/nY6QnJAgXSFN QDgjdYg7zjFoxczOBbLI= X-Received: by 2002:a05:651c:1781:b0:247:daa7:4358 with SMTP id bn1-20020a05651c178100b00247daa74358mr2466817ljb.477.1652962389834; Thu, 19 May 2022 05:13:09 -0700 (PDT) X-Google-Smtp-Source: ABdhPJw8d9oREMu65wDGq38zhK+vJoXRad/49wWg3cfq2iNm4jHDrvbnvrusgJW//F9b5wryYgSizlhJW9Sv4kmvWgU= X-Received: by 2002:a05:651c:1781:b0:247:daa7:4358 with SMTP id bn1-20020a05651c178100b00247daa74358mr2466812ljb.477.1652962389653; Thu, 19 May 2022 05:13:09 -0700 (PDT) MIME-Version: 1.0 References: <20220512020618.474816-1-stevex.yang@intel.com> <20220518065806.1005694-1-stevex.yang@intel.com> In-Reply-To: <20220518065806.1005694-1-stevex.yang@intel.com> From: David Marchand Date: Thu, 19 May 2022 14:12:58 +0200 Message-ID: Subject: Re: [PATCH v3] app/testpmd: support ddp dump command for ice To: Steve Yang Cc: dev , Yuying Zhang , Qi Zhang , Ferruh Yigit , Andrew Rybchenko , Thomas Monjalon Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=dmarchan@redhat.com 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 On Wed, May 18, 2022 at 9:07 AM Steve Yang wrote: > > Dump DDP runtime configure into a binary(package) file from ice PF port. > > Add command line: > ddp dump > > Parameters: > the PF Port ID > dumped runtime configure file, if not a absolute path, > it will be dumped to testpmd running directory. > > For example: > testpmd> ddp dump 0 current.pkg > > If you want to dump ice VF DDP runtime configure, you need bind other > unused PF port of the NIC first, and then dump the PF's runtime configure > as target output. > > Signed-off-by: Steve Yang I proposed a way to move such code in drivers, please have a look at/give feedback to: https://patchwork.dpdk.org/project/dpdk/list/?series=23000&state=* -- David Marchand