summaryrefslogtreecommitdiff
path: root/drivers/fsi/cf-fsi-fw.h
diff options
context:
space:
mode:
authorMichael Chan <michael.chan@broadcom.com>2020-09-27 20:42:15 +0300
committerDavid S. Miller <davem@davemloft.net>2020-09-27 23:35:46 +0300
commit3128e811b134128aadcf8582dded81b70980f23a (patch)
tree74906e5cc309626a494226f2f5f84dd39ffddac7 /drivers/fsi/cf-fsi-fw.h
parent532262ba3b84fe77d7d420a24fa66b167bb0d93e (diff)
downloadlinux-3128e811b134128aadcf8582dded81b70980f23a.tar.xz
bnxt_en: Handle ethernet link being disabled by firmware.
On some 200G dual port NICs, if one port is configured to 200G, firmware will disable the ethernet link on the other port. Firmware will send notification to the driver for the disabled port when this happens. Define a new field in the link_info structure to keep track of this state. The new phy_state field replaces the unused loop_back field. Log a message when the phy_state changes state. In the disabled state, disallow any PHY configurations on the disabled port as the firmware will fail all calls to configure the PHY in this state. Reviewed-by: Vasundhara Volam <vasundhara-v.volam@broadcom.com> Reviewed-by: Edwin Peer <edwin.peer@broadcom.com> Signed-off-by: Michael Chan <michael.chan@broadcom.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/fsi/cf-fsi-fw.h')
0 files changed, 0 insertions, 0 deletions