[dpdk-dev] [PATCH 4/4] doc: add switch restart support to fm10k guide

Wang, Xiao W xiao.w.wang at intel.com
Tue Oct 24 03:31:16 CEST 2017



> -----Original Message-----
> From: Mcnamara, John
> Sent: Monday, October 23, 2017 9:07 PM
> To: Wang, Xiao W <xiao.w.wang at intel.com>; dev at dpdk.org
> Cc: Wu, Jingjing <jingjing.wu at intel.com>; Chen, Jing D
> <jing.d.chen at intel.com>; Wang, Xiao W <xiao.w.wang at intel.com>
> Subject: RE: [dpdk-dev] [PATCH 4/4] doc: add switch restart support to fm10k
> guide
> 
> 
> 
> > -----Original Message-----
> > From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Xiao Wang
> > Sent: Sunday, October 22, 2017 10:37 PM
> > To: dev at dpdk.org
> > Cc: Wu, Jingjing <jingjing.wu at intel.com>; Chen, Jing D
> > <jing.d.chen at intel.com>; Wang, Xiao W <xiao.w.wang at intel.com>
> > Subject: [dpdk-dev] [PATCH 4/4] doc: add switch restart support to fm10k
> > guide
> >
> > This patch documents how DPDK app should handle the event of switch quit-
> > restart to resume its network without an app-level restart.
> >
> > Signed-off-by: Xiao Wang <xiao.w.wang at intel.com>
> 
> 
> 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
> needs
> 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.

Thanks John, I will make it in v2.

BRs,
Xiao


More information about the dev mailing list