aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/net/ncsi/Kconfig
diff options
context:
space:
mode:
authorIvan Mikhaylov <i.mikhaylov@yadro.com>2021-07-08 15:27:53 +0300
committerDavid S. Miller <davem@davemloft.net>2021-07-08 14:16:39 -0700
commitabd2fddc94a619b96bf41c60429d4c32bd118e17 (patch)
tree0fcc157787da90eb9d0db5bdf58b6f65a43fa82c /net/ncsi/Kconfig
parentnet/ncsi: fix restricted cast warning of sparse (diff)
downloadwireguard-linux-abd2fddc94a619b96bf41c60429d4c32bd118e17.tar.xz
wireguard-linux-abd2fddc94a619b96bf41c60429d4c32bd118e17.zip
net/ncsi: add NCSI Intel OEM command to keep PHY up
This allows to keep PHY link up and prevents any channel resets during the host load. It is KEEP_PHY_LINK_UP option(Veto bit) in i210 datasheet which block PHY reset and power state changes. Signed-off-by: Ivan Mikhaylov <i.mikhaylov@yadro.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ncsi/Kconfig')
-rw-r--r--net/ncsi/Kconfig6
1 files changed, 6 insertions, 0 deletions
diff --git a/net/ncsi/Kconfig b/net/ncsi/Kconfig
index 93309081f5a4..ea1dd32b6b1f 100644
--- a/net/ncsi/Kconfig
+++ b/net/ncsi/Kconfig
@@ -17,3 +17,9 @@ config NCSI_OEM_CMD_GET_MAC
help
This allows to get MAC address from NCSI firmware and set them back to
controller.
+config NCSI_OEM_CMD_KEEP_PHY
+ bool "Keep PHY Link up"
+ depends on NET_NCSI
+ help
+ This allows to keep PHY link up and prevents any channel resets during
+ the host load.