From patchwork Thu Feb 17 10:14:26 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Wu, WenxuanX" X-Patchwork-Id: 107716 Return-Path: X-Original-To: patchwork@inbox.dpdk.org Delivered-To: patchwork@inbox.dpdk.org Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 9DBE8A00BE; Thu, 17 Feb 2022 11:34:52 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 37C8A4113F; Thu, 17 Feb 2022 11:34:52 +0100 (CET) Received: from mga07.intel.com (mga07.intel.com [134.134.136.100]) by mails.dpdk.org (Postfix) with ESMTP id 9455F40DDD for ; Thu, 17 Feb 2022 11:34:50 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1645094090; x=1676630090; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=AfqY4k6qMcWqcWY+dUi51Eu9eSnaM97TapHYB1BQB44=; b=IoU0/68UINtXvJPs7GFFUcOrFUe/3DwKlP6IjnpSzze2kAxnesqQ9gcA H60Rucqs2kZ23xCyNjLTaN2KmFXe7vDGaKBDu+5cNPLJcEjFnRpfqQnS1 Wu8/EDe54trOjQJq+jIiv0C59JNnk7ycSxHqGve6tm2kOMa72Q+uG3yRA r4hw4kkWizbDYZouSwl5meMvMwCPANbm1X5vs6Ap56/Q+q0JNctb/Ch1/ Kl7x2VRA/H5qEAq0EqtLB1x2hJV5HF3JSaAGE6re0yP+FWa/dwObU/bRZ yjv17jsA513yQjuQqXI/sHTt6pPHq8oZHomBk6m7s2V9n7eDWPJZz07IE g==; X-IronPort-AV: E=McAfee;i="6200,9189,10260"; a="314114271" X-IronPort-AV: E=Sophos;i="5.88,375,1635231600"; d="scan'208";a="314114271" Received: from orsmga008.jf.intel.com ([10.7.209.65]) by orsmga105.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 17 Feb 2022 02:34:48 -0800 X-IronPort-AV: E=Sophos;i="5.88,375,1635231600"; d="scan'208";a="545513980" Received: from unknown (HELO localhost.localdomain) ([10.239.251.3]) by orsmga008-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 17 Feb 2022 02:34:40 -0800 From: wenxuanx.wu@intel.com To: qiming.yang@intel.com, qi.z.zhang@intel.com, xiaoyun.li@intel.com, aman.deep.singh@intel.com, yuying.zhang@intel.com Cc: dev@dpdk.org Subject: [PATCH 0/2] app/testpmd: fix quit testpmd with vfs and pf Date: Thu, 17 Feb 2022 18:14:26 +0800 Message-Id: <20220217101428.385751-1-wenxuanx.wu@intel.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 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 From: wenxuan wu Apply our reverse iterator macro into testpmd to avoid testpmd startups with pf and vfs quit without error heap-free-before-use wenxuan wu (2): app/testpmd: fix quit testpmd with vfs and pf lib/ethdev: add reverse macro to quit testpmd app/test-pmd/testpmd.c | 4 ++-- lib/ethdev/rte_ethdev.h | 14 +++++++++++++- 2 files changed, 15 insertions(+), 3 deletions(-)