diff options
author | Ivan Mikhaylov <i.mikhaylov@yadro.com> | 2021-07-08 14:27:53 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2021-07-08 23:16:39 +0200 |
commit | abd2fddc94a619b96bf41c60429d4c32bd118e17 (patch) | |
tree | 0fcc157787da90eb9d0db5bdf58b6f65a43fa82c /net/ncsi/Kconfig | |
parent | net/ncsi: fix restricted cast warning of sparse (diff) | |
download | linux-abd2fddc94a619b96bf41c60429d4c32bd118e17.tar.xz 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/Kconfig | 6 |
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. |