]> git.baikalelectronics.ru Git - kernel.git/commit
bnxt_en: Do not allow VF to read EEPROM.
authorMichael Chan <michael.chan@broadcom.com>
Thu, 26 Apr 2018 21:44:37 +0000 (17:44 -0400)
committerDavid S. Miller <davem@davemloft.net>
Fri, 27 Apr 2018 18:47:30 +0000 (14:47 -0400)
commit14a7d19c6991285a994871e07f1cc868d8062dd1
treedb567505100838e25156465f43363d00025682a8
parent6fa34eee4334d68f726ad8df5807ae3a629181ed
bnxt_en: Do not allow VF to read EEPROM.

Firmware does not allow the operation and would return failure, causing
a warning in dmesg.  So check for VF and disallow it in the driver.

Signed-off-by: Michael Chan <michael.chan@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/broadcom/bnxt/bnxt_ethtool.c