OSDN Git Service

qed*: esl priv flag support through ethtool
authorManish Chopra <manishc@marvell.com>
Thu, 2 Dec 2021 21:01:57 +0000 (13:01 -0800)
committerJakub Kicinski <kuba@kernel.org>
Sat, 4 Dec 2021 02:24:21 +0000 (18:24 -0800)
commit823163ba6e52e644be5df4539a19e3df8d0988dd
tree3049200b277fc7eca75b3fe3420ffba6792ccd4d
parent0cc3a8017900f856f9bf4fdc41c2b5cb1670aabe
qed*: esl priv flag support through ethtool

ESL(Enhanced System Lockdown) was designed to lock PCI adapter firmware
images and prevent changes to critical non-volatile configuration data
so that uncontrolled, malicious or unintentional modification to the
adapters are avoided, ensuring it's operational state. Once this feature is
enabled, the device is locked, rejecting any modification to non-volatile
images. Once unlocked, the protection is off such that firmware and
non-volatile configurations may be altered.

Driver just reflects the capability and status of this through
the ethtool private flag.

Signed-off-by: Manish Chopra <manishc@marvell.com>
Signed-off-by: Prabhakar Kushwaha <pkushwaha@marvell.com>
Signed-off-by: Alok Prasad <palok@marvell.com>
Signed-off-by: Ariel Elior <aelior@marvell.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/ethernet/qlogic/qed/qed_main.c
drivers/net/ethernet/qlogic/qed/qed_mcp.c
drivers/net/ethernet/qlogic/qed/qed_mcp.h
drivers/net/ethernet/qlogic/qed/qed_mfw_hsi.h
drivers/net/ethernet/qlogic/qede/qede_ethtool.c
include/linux/qed/qed_if.h