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 870D65A6E for ; Fri, 30 Jun 2017 10:57:22 +0200 (CEST) Received: from orsmga001.jf.intel.com ([10.7.209.18]) by fmsmga103.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 30 Jun 2017 01:57:21 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.40,285,1496127600"; d="scan'208";a="1146422473" Received: from fmsmsx106.amr.corp.intel.com ([10.18.124.204]) by orsmga001.jf.intel.com with ESMTP; 30 Jun 2017 01:57:21 -0700 Received: from fmsmsx116.amr.corp.intel.com (10.18.116.20) by FMSMSX106.amr.corp.intel.com (10.18.124.204) with Microsoft SMTP Server (TLS) id 14.3.319.2; Fri, 30 Jun 2017 01:57:21 -0700 Received: from shsmsx151.ccr.corp.intel.com (10.239.6.50) by fmsmsx116.amr.corp.intel.com (10.18.116.20) with Microsoft SMTP Server (TLS) id 14.3.319.2; Fri, 30 Jun 2017 01:57:20 -0700 Received: from shsmsx103.ccr.corp.intel.com ([169.254.4.116]) by SHSMSX151.ccr.corp.intel.com ([169.254.3.56]) with mapi id 14.03.0319.002; Fri, 30 Jun 2017 16:57:17 +0800 From: "Wu, Jingjing" To: "Dai, Wei" , "thomas@monjalon.net" , "Lu, Wenzhuo" , "Ananyev, Konstantin" , "Zhang, Helin" , "Peng, Yuan" CC: "dev@dpdk.org" Thread-Topic: [PATCH v4 5/5] app/testpmd: enhance command to test NIC reset Thread-Index: AQHS8Om6t5BUqZAMhEeokMvY93r6tqI9G76Q Date: Fri, 30 Jun 2017 08:57:17 +0000 Message-ID: <9BB6961774997848B5B42BEC655768F810DB7576@SHSMSX103.ccr.corp.intel.com> References: <20170629083404.1271-1-wei.dai@intel.com> <1498748282-69914-1-git-send-email-wei.dai@intel.com> <1498748282-69914-6-git-send-email-wei.dai@intel.com> In-Reply-To: <1498748282-69914-6-git-send-email-wei.dai@intel.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: dlp-product: dlpe-windows dlp-version: 10.0.102.7 dlp-reaction: no-action 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 v4 5/5] app/testpmd: enhance command to test NIC reset X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 30 Jun 2017 08:57:23 -0000 > -----Original Message----- > From: Dai, Wei > Sent: Thursday, June 29, 2017 10:58 PM > To: thomas@monjalon.net; Lu, Wenzhuo ; Ananyev, Kon= stantin > ; Zhang, Helin ; Wu,= Jingjing > ; yuan.pntel.com > Cc: dev@dpdk.org; Dai, Wei > Subject: [PATCH v4 5/5] app/testpmd: enhance command to test NIC reset >=20 > When PF is reset, a message will show it and all its > VF need to be reset. > User can run the command "port reset port_id" > to reset the VF port and to keep same port id without > any configuration. Then user can run "port stop port_id" > and "port start port_id" to reconfigure its forwarding > mode and parmaters as previous ones. > To avoid crash, current forwarding should be stopped > before running "port reset port_id". >=20 > Signed-off-by: Wei Dai Acked-by: Jingjing Wu