From 80006b5987302111d78d3cf5017b0ff72dd17f77 Mon Sep 17 00:00:00 2001 From: Chengwen Feng Date: Wed, 30 Jun 2021 09:56:23 +0800 Subject: [PATCH] doc: add link status event requirements in hns3 guide Add link status event pre-conditions in the driver documentation. Signed-off-by: Chengwen Feng Signed-off-by: Min Hu (Connor) --- doc/guides/nics/hns3.rst | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/doc/guides/nics/hns3.rst b/doc/guides/nics/hns3.rst index cf72810375..6fbeccddba 100644 --- a/doc/guides/nics/hns3.rst +++ b/doc/guides/nics/hns3.rst @@ -115,6 +115,18 @@ Runtime Config Options For example:: -a 0000:7d:00.0,dev_caps_mask=0xF + +Link status event Pre-conditions +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + +Firmware 1.8.0.0 and later versions support reporting link changes to the PF. +Therefore, to use the LSC for the PF driver, ensure that the firmware version +also supports reporting link changes. +If the VF driver needs to support LSC, special patch must be added: +``_. +Note: The patch has been uploaded to 5.13 of the Linux kernel mainline. + + Driver compilation and testing ------------------------------ -- 2.20.1