From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga14.intel.com (mga14.intel.com [192.55.52.115]) by dpdk.org (Postfix) with ESMTP id C43F92C6E for ; Thu, 5 May 2016 17:40:17 +0200 (CEST) Received: from fmsmga003.fm.intel.com ([10.253.24.29]) by fmsmga103.fm.intel.com with ESMTP; 05 May 2016 08:40:16 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.24,582,1455004800"; d="scan'208";a="697295556" Received: from irvmail001.ir.intel.com ([163.33.26.43]) by FMSMGA003.fm.intel.com with ESMTP; 05 May 2016 08:40:15 -0700 Received: from sivswdev01.ir.intel.com (sivswdev01.ir.intel.com [10.237.217.45]) by irvmail001.ir.intel.com (8.14.3/8.13.6/MailSET/Hub) with ESMTP id u45FeFiP022236; Thu, 5 May 2016 16:40:15 +0100 Received: from sivswdev01.ir.intel.com (localhost [127.0.0.1]) by sivswdev01.ir.intel.com with ESMTP id u45FeF0T019254; Thu, 5 May 2016 16:40:15 +0100 Received: (from bairemon@localhost) by sivswdev01.ir.intel.com with id u45FeFqr019250; Thu, 5 May 2016 16:40:15 +0100 From: Bernard Iremonger To: dev@dpdk.org Cc: pablo.de.lara.guarch@intel.com, Bernard Iremonger Date: Thu, 5 May 2016 16:39:47 +0100 Message-Id: <1462462795-18767-1-git-send-email-bernard.iremonger@intel.com> X-Mailer: git-send-email 1.7.4.1 In-Reply-To: <1461156779-24737-1-git-send-email-bernard.iremonger@intel.com> References: <1461156779-24737-1-git-send-email-bernard.iremonger@intel.com> Subject: [dpdk-dev] [PATCH v2 0/8] app/testpmd: forwarding X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 05 May 2016 15:40:18 -0000 Modify testpmd to allow stop, close, detach and attach of a port without stopping forwarding. This patchset should not be applied unless the following bonding patchset is applied: 0001-bonding-replace-spinlock-with-read-write-lock.patch 0002-bonding-add-read-write-lock-to-rx-tx-burst-functions.patch 0003-bonding-remove-memcopy-of-slaves-from-rx-tx-burst-fu.patch 0004-bonding-add-read-write-lock-to-stop-function.patch 0005-bonding-add-read-write-lock-to-the-link_update-funct.patch Changes in v2: Added 4 more patches app/testpmd: add function port_is_bonding_slave app/testpmd: move call to init_fwd_streams app/testpmd: check for valid socket id when attaching port app/testpmd: check for valid mbuf pool Bernard Iremonger (8): app/testpmd: add function port_is_forwarding app/testpmd: don't update fwding config when attaching/detaching a port app/testpmd: check port is not forwarding in stop_port and close_port app/testpmd: reconfigure forwarding after changing portlist app/testpmd: add function port_is_bonding_slave app/testpmd: move call to init_fwd_streams app/testpmd: check for valid socket id when attaching port app/testpmd: check for valid mbuf pool app/test-pmd/config.c | 26 ++++++++++-- app/test-pmd/testpmd.c | 109 +++++++++++++++++++++++++------------------------ app/test-pmd/testpmd.h | 5 ++- 3 files changed, 82 insertions(+), 58 deletions(-) -- 2.6.3