From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga07.intel.com (mga07.intel.com [134.134.136.100]) by dpdk.org (Postfix) with ESMTP id 34F2A1B70C for ; Tue, 24 Oct 2017 03:31:20 +0200 (CEST) Received: from fmsmga004.fm.intel.com ([10.253.24.48]) by orsmga105.jf.intel.com with ESMTP; 23 Oct 2017 18:31:19 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.43,424,1503385200"; d="scan'208";a="326821039" Received: from fmsmsx106.amr.corp.intel.com ([10.18.124.204]) by fmsmga004.fm.intel.com with ESMTP; 23 Oct 2017 18:31:18 -0700 Received: from FMSMSX109.amr.corp.intel.com (10.18.116.9) by FMSMSX106.amr.corp.intel.com (10.18.124.204) with Microsoft SMTP Server (TLS) id 14.3.319.2; Mon, 23 Oct 2017 18:31:18 -0700 Received: from shsmsx152.ccr.corp.intel.com (10.239.6.52) by fmsmsx109.amr.corp.intel.com (10.18.116.9) with Microsoft SMTP Server (TLS) id 14.3.319.2; Mon, 23 Oct 2017 18:31:18 -0700 Received: from shsmsx101.ccr.corp.intel.com ([169.254.1.159]) by SHSMSX152.ccr.corp.intel.com ([169.254.6.93]) with mapi id 14.03.0319.002; Tue, 24 Oct 2017 09:31:16 +0800 From: "Wang, Xiao W" To: "Mcnamara, John" , "dev@dpdk.org" CC: "Wu, Jingjing" , "Chen, Jing D" Thread-Topic: [dpdk-dev] [PATCH 4/4] doc: add switch restart support to fm10k guide Thread-Index: AQHTS//ODCVdNDKPl0CUw4rqb+dQ46LyNteg Date: Tue, 24 Oct 2017 01:31:16 +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: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ctpclassification: CTP_IC x-titus-metadata-40: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiZWQxZTcxN2MtZTg0YS00Yjc5LWEwZDktODQxZjgxMGRiMGZhIiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX0lDIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE3LjIuNS4xOCIsIlRydXN0ZWRMYWJlbEhhc2giOiJuVTlUaVRSN1wvbEFDTk0rbFlKM0lYKzBpUEZmemc2bTJObFVMbGZzclJBWjFRTXBvNFlzaFFhRWJKblwvQ0xmVm8ifQ== dlp-product: dlpe-windows dlp-version: 11.0.0.116 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 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: Tue, 24 Oct 2017 01:31:20 -0000 > -----Original Message----- > From: Mcnamara, John > Sent: Monday, October 23, 2017 9:07 PM > To: Wang, Xiao W ; dev@dpdk.org > Cc: Wu, Jingjing ; Chen, Jing D > ; Wang, Xiao W > Subject: RE: [dpdk-dev] [PATCH 4/4] doc: add switch restart support to fm= 10k > guide >=20 >=20 >=20 > > -----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 fm10= k > > guide > > > > This patch documents how DPDK app should handle the event of switch qui= t- > > restart to resume its network without an app-level restart. > > > > Signed-off-by: Xiao Wang >=20 >=20 > I'd suggest some minor changes as follows: >=20 >=20 > Support for Switch Restart > ~~~~~~~~~~~~~~~~~~~~~~~~~~ >=20 > For FM10000 multi host based design a DPDK app running in the VM or host > needs > to be aware of the switch's state since it may undergo a quit-restart. Wh= en > the switch goes down the DPDK app will receive a LSC event indicating lin= k > 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. Thanks John, I will make it in v2. BRs, Xiao