From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga03.intel.com (mga03.intel.com [143.182.124.21]) by dpdk.org (Postfix) with ESMTP id 95BB8AFCD for ; Wed, 28 May 2014 09:15:25 +0200 (CEST) Received: from azsmga001.ch.intel.com ([10.2.17.19]) by azsmga101.ch.intel.com with ESMTP; 28 May 2014 00:15:12 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="4.98,926,1392192000"; d="scan'208";a="437905964" Received: from shilc102.sh.intel.com ([10.239.39.44]) by azsmga001.ch.intel.com with ESMTP; 28 May 2014 00:15:11 -0700 Received: from shecgisg004.sh.intel.com (shecgisg004.sh.intel.com [10.239.29.89]) by shilc102.sh.intel.com (8.13.6/8.13.6/SuSE Linux 0.8) with ESMTP id s4S7F7up024785; Wed, 28 May 2014 15:15:09 +0800 Received: from shecgisg004.sh.intel.com (localhost [127.0.0.1]) by shecgisg004.sh.intel.com (8.13.6/8.13.6/SuSE Linux 0.8) with ESMTP id s4S7F5Xf030275; Wed, 28 May 2014 15:15:07 +0800 Received: (from couyang@localhost) by shecgisg004.sh.intel.com (8.13.6/8.13.6/Submit) id s4S7F2pV030271; Wed, 28 May 2014 15:15:02 +0800 From: Ouyang Changchun To: dev@dpdk.org Date: Wed, 28 May 2014 15:14:59 +0800 Message-Id: <1401261302-30140-1-git-send-email-changchun.ouyang@intel.com> X-Mailer: git-send-email 1.7.0.7 Subject: [dpdk-dev] [PATCH v2 0/3] Support setting link up and link down 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: Wed, 28 May 2014 07:15:26 -0000 Please ignore the previous patch series with subject: "Support administrative link up and link down" This v2 patch series will replace the previous patch series. This patch series contain the following 3 items: 1. Add API to support setting link up and down, it can be used to repeatedly stop and restart RX/TX of a port without re-allocating resources for the port and re-configuring the port. 2. Implement the functionality of setting link up and down in IXGBE PMD. 3. Add command in testpmd to test the functionality of setting link up and down of PMD. Ouyang Changchun (3): Add API to support set link up and link down. Implement the functionality of setting link up and link down in IXGBE PMD. Add command line to test the functionality of setting link up and link down in testpmd. app/test-pmd/cmdline.c | 81 +++++++++++++++++++++++++++++++++++++ app/test-pmd/testpmd.c | 14 +++++++ app/test-pmd/testpmd.h | 2 + lib/librte_ether/rte_ethdev.c | 38 +++++++++++++++++ lib/librte_ether/rte_ethdev.h | 34 ++++++++++++++++ lib/librte_pmd_ixgbe/ixgbe_ethdev.c | 63 +++++++++++++++++++++++++++++ 6 files changed, 232 insertions(+) -- 1.9.0