From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga02.intel.com (mga02.intel.com [134.134.136.20]) by dpdk.org (Postfix) with ESMTP id 9FAED1B60C for ; Mon, 23 Oct 2017 15:06:57 +0200 (CEST) Received: from fmsmga004.fm.intel.com ([10.253.24.48]) by orsmga101.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 23 Oct 2017 06:06:56 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.43,422,1503385200"; d="scan'208";a="326551761" Received: from irsmsx101.ger.corp.intel.com ([163.33.3.153]) by fmsmga004.fm.intel.com with ESMTP; 23 Oct 2017 06:06:55 -0700 Received: from irsmsx103.ger.corp.intel.com ([169.254.3.49]) by IRSMSX101.ger.corp.intel.com ([169.254.1.22]) with mapi id 14.03.0319.002; Mon, 23 Oct 2017 14:06:54 +0100 From: "Mcnamara, John" To: "Wang, Xiao W" , "dev@dpdk.org" CC: "Wu, Jingjing" , "Chen, Jing D" , "Wang, Xiao W" Thread-Topic: [dpdk-dev] [PATCH 4/4] doc: add switch restart support to fm10k guide Thread-Index: AQHTSzWxXznDIli8eUuALprETlfNTaLxaOiQ Date: Mon, 23 Oct 2017 13:06:53 +0000 Message-ID: References: <1508708240-69814-1-git-send-email-xiao.w.wang@intel.com> <1508708240-69814-5-git-send-email-xiao.w.wang@intel.com> In-Reply-To: <1508708240-69814-5-git-send-email-xiao.w.wang@intel.com> Accept-Language: en-GB, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ctpclassification: CTP_IC x-titus-metadata-40: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiZWQxZTcxN2MtZTg0YS00Yjc5LWEwZDktODQxZjgxMGRiMGZhIiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX0lDIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE2LjUuOS4zIiwiVHJ1c3RlZExhYmVsSGFzaCI6IlUzaUlQK2xEQ1Y5NVNveURIRXZHbmo4M2NORDJiZ2UxRTBzcko1S3hIMDA9In0= dlp-product: dlpe-windows dlp-version: 11.0.0.116 dlp-reaction: no-action x-originating-ip: [163.33.239.181] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Subject: Re: [dpdk-dev] [PATCH 4/4] doc: add switch restart support to fm10k guide 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: Mon, 23 Oct 2017 13:06:58 -0000 > -----Original Message----- > From: dev [mailto:dev-bounces@dpdk.org] On Behalf Of Xiao Wang > Sent: Sunday, October 22, 2017 10:37 PM > To: dev@dpdk.org > Cc: Wu, Jingjing ; Chen, Jing D > ; Wang, Xiao W > Subject: [dpdk-dev] [PATCH 4/4] doc: add switch restart support to fm10k > guide >=20 > This patch documents how DPDK app should handle the event of switch quit- > restart to resume its network without an app-level restart. >=20 > Signed-off-by: Xiao Wang I'd suggest some minor changes as follows: Support for Switch Restart ~~~~~~~~~~~~~~~~~~~~~~~~~~ For FM10000 multi host based design a DPDK app running in the VM or host ne= eds to be aware of the switch's state since it may undergo a quit-restart. When the switch goes down the DPDK app will receive a LSC event indicating link status down, and the app should stop the worker threads that are polling on the Rx/Tx queues. When switch comes up, a LSC event indicating ``LINK_UP`` = is sent to the app, which can then restart the FM100 port to resume network processing.