From: Xiao Wang Date: Tue, 24 Oct 2017 13:45:52 +0000 (-0700) Subject: doc: add switch restart support to fm10k guide X-Git-Tag: spdx-start~1114 X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=9eff0d0f97f8ec625b97894e055dfb2b61956519;p=dpdk.git doc: add switch restart support to fm10k guide Document 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 Reviewed-by: Ferruh Yigit Acked-by: John McNamara --- diff --git a/doc/guides/nics/fm10k.rst b/doc/guides/nics/fm10k.rst index 7fc486248d..b47fc0db08 100644 --- a/doc/guides/nics/fm10k.rst +++ b/doc/guides/nics/fm10k.rst @@ -161,6 +161,17 @@ FM10000 PMD driver. The switch driver can be acquired from Intel support. Only Testpoint is validated with DPDK, the latest version that has been validated with DPDK is 4.1.6. +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 FM10000 port to resume network +processing. + CRC striping ~~~~~~~~~~~~