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 01A5BA0032; Thu, 12 May 2022 04:15:03 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 9D926410EF; Thu, 12 May 2022 04:15:03 +0200 (CEST) Received: from mga03.intel.com (mga03.intel.com [134.134.136.65]) by mails.dpdk.org (Postfix) with ESMTP id EDADD40E64 for ; Thu, 12 May 2022 04:15:01 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1652321702; x=1683857702; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=zHdXA99tWDQxp2oqUAG2GMEQA4Jf85pyPpmG0Oz5rsg=; b=ckD+Rxk9SvSkMdqcxqXY7BqbgcXIISEGwBs46P5X07rxFXi6kpP6X2c/ wWKmnurt/BHIBKxl/HT8jKeE6LNMXQpGGm86paj3CqpJB7HXac8XRZzuy Mf2msklsUHeYeAMn9V79JhMbhpZW8Y88i9ei57SZYZR22hGPm65EVnAov SxIUdQts80PL4zW6WrZC8g3cq0PsqIYTEMuYoE0vZrnFm7jjxE5Fu8RL9 nVIjYbdtg/YWd4NPfWp9lkvm9WGdwAHowrL/k7v+ItVwxEqXn29ozouY9 FlfYNs3vc5rS9HblVsORN0cfP5e2SDhoHmp2Sfvh8LrySeIMYfBuFhjeb g==; X-IronPort-AV: E=McAfee;i="6400,9594,10344"; a="269804709" X-IronPort-AV: E=Sophos;i="5.91,218,1647327600"; d="scan'208";a="269804709" Received: from orsmga008.jf.intel.com ([10.7.209.65]) by orsmga103.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 11 May 2022 19:15:00 -0700 X-IronPort-AV: E=Sophos;i="5.91,218,1647327600"; d="scan'208";a="594435157" Received: from intel-cd-odc-steve.cd.intel.com ([10.240.178.191]) by orsmga008-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 11 May 2022 19:14:58 -0700 From: Steve Yang To: dev@dpdk.org Cc: yuying.zhang@intel.com, qiming.yang@intel.com, qi.z.zhang@intel.com, mdr@ashroe.eu, Steve Yang Subject: [PATCH v2 0/2] ICE ddp download tool Date: Thu, 12 May 2022 02:06:16 +0000 Message-Id: <20220512020618.474816-1-stevex.yang@intel.com> X-Mailer: git-send-email 2.27.0 In-Reply-To: <20220511080247.261043-1-stevex.yang@intel.com> References: <20220511080247.261043-1-stevex.yang@intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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 Support dump ice PF ddp package via testpmd command line. Add command line: ddp dump Parameters: the PF Port ID dumped package profile 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 package, you need bind other unused PF port of the NIC first, and then dump the PF ddp package as target output. --- v2: - fixed compiling issue - fixed unused variables warning Steve Yang (2): net/ice: support dump ice ddp package app/testpmd: support dump_pkg command for ice app/test-pmd/cmdline.c | 74 ++++++ app/test-pmd/meson.build | 3 + drivers/net/ice/ice_ddp_package.c | 418 ++++++++++++++++++++++++++++++ drivers/net/ice/ice_ethdev.c | 5 + drivers/net/ice/ice_ethdev.h | 1 + drivers/net/ice/meson.build | 1 + drivers/net/ice/rte_pmd_ice.h | 3 + drivers/net/ice/version.map | 1 + 8 files changed, 506 insertions(+) create mode 100644 drivers/net/ice/ice_ddp_package.c -- 2.27.0