From: Xiao Wang <xiao.w.wang@intel.com>
To: dev@dpdk.org
Cc: jingjing.wu@intel.com, jing.d.chen@intel.com,
Xiao Wang <xiao.w.wang@intel.com>
Subject: [dpdk-dev] [PATCH 4/4] doc: add switch restart support to fm10k guide
Date: Sun, 22 Oct 2017 14:37:20 -0700 [thread overview]
Message-ID: <1508708240-69814-5-git-send-email-xiao.w.wang@intel.com> (raw)
In-Reply-To: <1508708240-69814-1-git-send-email-xiao.w.wang@intel.com>
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@intel.com>
---
doc/guides/nics/fm10k.rst | 10 ++++++++++
1 file changed, 10 insertions(+)
diff --git a/doc/guides/nics/fm10k.rst b/doc/guides/nics/fm10k.rst
index 7fc4862..51b8326 100644
--- a/doc/guides/nics/fm10k.rst
+++ b/doc/guides/nics/fm10k.rst
@@ -161,6 +161,16 @@ 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 Switch Restart
+~~~~~~~~~~~~~~~~~~~~~~
+
+For fm10k multi host based design, DPDK app running in VM or host needs to
+get aware of the switch's state because switch may undergo a quit-restart.
+When switch goes down, DPDK app receives a LSC event indicating link status
+turns down, and app should stop the worker threads that are polling on the
+Rx/Tx queues. When switch gets up, a LSC event indicating LINK_UP is sent to
+the app, then app can restart fm10k port to resume its network processing.
+
CRC striping
~~~~~~~~~~~~
--
1.8.3.1
next prev parent reply other threads:[~2017-10-22 12:58 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-10-22 21:37 [dpdk-dev] [PATCH 0/4] net/fm10k: support switch restart Xiao Wang
2017-10-22 21:37 ` [dpdk-dev] [PATCH 1/4] net/fm10k: redefine link status semantics Xiao Wang
2017-10-22 21:37 ` [dpdk-dev] [PATCH 2/4] net/fm10k: support switch restart on PF Xiao Wang
2017-10-22 21:37 ` [dpdk-dev] [PATCH 3/4] net/fm10k: support switch restart on VF Xiao Wang
2017-10-22 21:37 ` Xiao Wang [this message]
2017-10-23 13:06 ` [dpdk-dev] [PATCH 4/4] doc: add switch restart support to fm10k guide Mcnamara, John
2017-10-24 1:31 ` Wang, Xiao W
2017-10-24 13:45 ` [dpdk-dev] [PATCH v2 0/4] net/fm10k: support switch restart Xiao Wang
2017-10-24 13:45 ` [dpdk-dev] [PATCH v2 1/4] net/fm10k: redefine link status semantics Xiao Wang
2017-10-24 13:45 ` [dpdk-dev] [PATCH v2 2/4] net/fm10k: support switch restart on PF Xiao Wang
2017-10-24 13:45 ` [dpdk-dev] [PATCH v2 3/4] net/fm10k: support switch restart on VF Xiao Wang
2017-10-24 13:45 ` [dpdk-dev] [PATCH v2 4/4] doc: add switch restart support to fm10k guide Xiao Wang
2017-10-24 10:56 ` Mcnamara, John
2017-10-24 19:29 ` [dpdk-dev] [PATCH v2 0/4] net/fm10k: support switch restart Ferruh Yigit
2017-10-24 19:37 ` Ferruh Yigit
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1508708240-69814-5-git-send-email-xiao.w.wang@intel.com \
--to=xiao.w.wang@intel.com \
--cc=dev@dpdk.org \
--cc=jing.d.chen@intel.com \
--cc=jingjing.wu@intel.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).