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 D0F366848 for ; Wed, 4 Jun 2014 17:37:29 +0200 (CEST) Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by fmsmga102.fm.intel.com with ESMTP; 04 Jun 2014 08:37:17 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="4.98,973,1392192000"; d="scan'208";a="542427112" Received: from fmsmsx103.amr.corp.intel.com ([10.19.9.34]) by fmsmga001.fm.intel.com with ESMTP; 04 Jun 2014 08:36:59 -0700 Received: from shsmsx152.ccr.corp.intel.com (10.239.6.52) by FMSMSX103.amr.corp.intel.com (10.19.9.34) with Microsoft SMTP Server (TLS) id 14.3.123.3; Wed, 4 Jun 2014 08:36:57 -0700 Received: from shsmsx103.ccr.corp.intel.com ([169.254.4.34]) by SHSMSX152.ccr.corp.intel.com ([169.254.6.23]) with mapi id 14.03.0123.003; Wed, 4 Jun 2014 23:36:55 +0800 From: "Cao, Waterman" To: "Ouyang, Changchun" , "dev@dpdk.org" , Thomas Monjalon Thread-Topic: [dpdk-dev] [PATCH v2 0/3] Support setting link up and link down Thread-Index: AQHPekTGopMLkZZMkU2wLgHdu/izqJthHCZw Date: Wed, 4 Jun 2014 15:36:54 +0000 Message-ID: References: <1401261302-30140-1-git-send-email-changchun.ouyang@intel.com> In-Reply-To: <1401261302-30140-1-git-send-email-changchun.ouyang@intel.com> Accept-Language: en-GB, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.239.127.40] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Subject: Re: [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, 04 Jun 2014 15:37:30 -0000 Tested-by: Waterman Cao This patch is used to fix bug, and has been tested by Intel. We verified API by testpmd, it passed. Please see test steps as the following: 1. In the host machine, set the DPDK environment as usual and start testpmd= : ./app/test-pmd/testpmd -c f -n 4 -- -i 2. Start packet forwarding on both ports. 3. In the tester/traffic generator, send the packet with destine MAC to any= port on host. 4. Then launch testpmd on host, use the following command to set link up/do= wn to the port: testpmd> set link-up port 0(or 1) testpmd> set link-down port 0(or 1) 5. Then check port status See test environment information as the following: Fedora 20 x86_64, Linux Kernel 3.13.9-200, GCC 4.8.2 Intel Xeon CPU E5-2680 v2 @ 2.80GHz NIC: Intel Niantic 82599, Intel i350, Intel 82580 and Intel 82576