[0/2] app/testpmd: fix testpmd quit with pf and vfs
Message ID | 20220223113251.723692-1-wenxuanx.wu@intel.com (mailing list archive) |
---|---|
Headers |
Return-Path: <dev-bounces@dpdk.org> 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 E357FA034C; Wed, 23 Feb 2022 12:54:00 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id AFFF341170; Wed, 23 Feb 2022 12:54:00 +0100 (CET) Received: from mga18.intel.com (mga18.intel.com [134.134.136.126]) by mails.dpdk.org (Postfix) with ESMTP id CAC8740E5A for <dev@dpdk.org>; Wed, 23 Feb 2022 12:53:59 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1645617240; x=1677153240; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=C4cqPikY575/wktm5JRO/IZKiE3BkcnTnMTkQBpO3GY=; b=MFuUBspsHEOBkab4na9SMDZ6SkzEY9/WP2Kyr80takjH/p1YAmlE/PVq 8gDbKRrXh2mx/pC1BghC5HYmBh3Jo21YMv2AQMYx82wningS860RRCAeM TgYmXvuChnorbzdL4CPySgHd2Nvol6DRK8SOPpnOSJITlihIKctqEs5PK lFyriZiYMxI5pX/9AQNtp5uCOGDi1dcfg3ZXtIVhzdCLa0nOA3q9HrkoM 0BJD2zH0PBH9lEI9ByqhGKoEhmEeSeEFWjDNqZgGOj2U+AcHw+sAb/8pp y8IZEZCkHhS0DQXC1G1SHLCTVvoZuNhrW/dAVig0xvcSOXuL3le121sUr A==; X-IronPort-AV: E=McAfee;i="6200,9189,10266"; a="235454529" X-IronPort-AV: E=Sophos;i="5.88,390,1635231600"; d="scan'208";a="235454529" Received: from orsmga007.jf.intel.com ([10.7.209.58]) by orsmga106.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 23 Feb 2022 03:53:58 -0800 X-IronPort-AV: E=Sophos;i="5.88,390,1635231600"; d="scan'208";a="532651191" Received: from unknown (HELO localhost.localdomain) ([10.239.251.3]) by orsmga007-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 23 Feb 2022 03:53:56 -0800 From: wenxuanx.wu@intel.com To: xiaoyun.li@intel.com, ferruh.yigit@intel.com, dev@dpdk.org Cc: wenxuan wu <wenxuanx.wu@intel.com> Subject: [PATCH 0/2] app/testpmd: fix testpmd quit with pf and vfs Date: Wed, 23 Feb 2022 19:32:49 +0800 Message-Id: <20220223113251.723692-1-wenxuanx.wu@intel.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <de87ae03-a26a-a9d3-da70-424335777371@intel.com> References: <de87ae03-a26a-a9d3-da70-424335777371@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 <dev.dpdk.org> List-Unsubscribe: <https://mails.dpdk.org/options/dev>, <mailto:dev-request@dpdk.org?subject=unsubscribe> List-Archive: <http://mails.dpdk.org/archives/dev/> List-Post: <mailto:dev@dpdk.org> List-Help: <mailto:dev-request@dpdk.org?subject=help> List-Subscribe: <https://mails.dpdk.org/listinfo/dev>, <mailto:dev-request@dpdk.org?subject=subscribe> Errors-To: dev-bounces@dpdk.org |
Message
Wu, WenxuanX
Feb. 23, 2022, 11:32 a.m. UTC
From: wenxuan wu <wenxuanx.wu@intel.com>
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):
lib/ethdev: add reverse macro to quit testpmd
app/testpmd:fix testpmd quit failure
app/test-pmd/testpmd.c | 4 ++--
lib/ethdev/rte_ethdev.h | 11 ++++++++++-
2 files changed, 12 insertions(+), 3 deletions(-)