From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga11.intel.com (mga11.intel.com [192.55.52.93]) by dpdk.org (Postfix) with ESMTP id 3F6F0C5AA for ; Mon, 27 Jul 2015 17:54:48 +0200 (CEST) Received: from orsmga002.jf.intel.com ([10.7.209.21]) by fmsmga102.fm.intel.com with ESMTP; 27 Jul 2015 08:54:48 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.15,555,1432623600"; d="scan'208";a="772127245" Received: from irvmail001.ir.intel.com ([163.33.26.43]) by orsmga002.jf.intel.com with ESMTP; 27 Jul 2015 08:54:46 -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 t6RFskTE018719; Mon, 27 Jul 2015 16:54:46 +0100 Received: from sivswdev01.ir.intel.com (localhost [127.0.0.1]) by sivswdev01.ir.intel.com with ESMTP id t6RFsk2x000803; Mon, 27 Jul 2015 16:54:46 +0100 Received: (from bairemon@localhost) by sivswdev01.ir.intel.com with id t6RFskwV000798; Mon, 27 Jul 2015 16:54:46 +0100 From: Bernard Iremonger To: dev@dpdk.org Date: Mon, 27 Jul 2015 16:54:37 +0100 Message-Id: <1438012477-729-5-git-send-email-bernard.iremonger@intel.com> X-Mailer: git-send-email 1.7.4.1 In-Reply-To: <1438012477-729-1-git-send-email-bernard.iremonger@intel.com> References: <1438012477-729-1-git-send-email-bernard.iremonger@intel.com> Subject: [dpdk-dev] [PATCH v7 4/4] testpmd_app_ug: add example of re-attaching bonded port 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: Mon, 27 Jul 2015 15:54:48 -0000 Signed-off-by: Bernard Iremonger --- doc/guides/testpmd_app_ug/testpmd_funcs.rst | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/doc/guides/testpmd_app_ug/testpmd_funcs.rst b/doc/guides/testpmd_app_ug/testpmd_funcs.rst index 4652962..5272bf4 100644 --- a/doc/guides/testpmd_app_ug/testpmd_funcs.rst +++ b/doc/guides/testpmd_app_ug/testpmd_funcs.rst @@ -909,6 +909,19 @@ For example, to attach a port created by pcap PMD. In this case, identifier is "eth_pcap0,iface=eth0". This identifier format is the same as "--vdev" format of DPDK applications. +For example, to re-attach a bonded port which has been previously detached, +the mode and slave parameters must be given. + +.. code-block:: console + + testpmd> port attach eth_bond_testpmd_0,mode=0,slave=1 + Attaching a new port... + EAL: Initializing pmd_bond for eth_bond_testpmd_0 + EAL: Create bonded device eth_bond_testpmd_0 on port 0 in mode 0 on socket 0. + Port 0 is attached. Now total ports is 1 + Done + + port detach ~~~~~~~~~~~ -- 1.9.1