]> git.baikalelectronics.ru Git - kernel.git/commit
ibmvnic: Warn unknown speed message only when carrier is present
authorMurilo Fossa Vicentini <muvic@linux.ibm.com>
Mon, 16 Sep 2019 14:50:37 +0000 (11:50 -0300)
committerJakub Kicinski <jakub.kicinski@netronome.com>
Fri, 20 Sep 2019 00:36:49 +0000 (17:36 -0700)
commit8badeb5756c5027613c06f42f2a4a86378d16b7c
treebbf70cd4002b727d56f2fc9164c9023a46bd0736
parent8280f65fa13b0404f8749d35c1ed84834c2109e3
ibmvnic: Warn unknown speed message only when carrier is present

With commit a9d3a0c99857 ("net/ibmvnic: Update carrier state after link
state change") we are now able to detect when the carrier is properly
present in the device, so only report an unexpected unknown speed when it
is properly detected. Unknown speed is expected to be seen by the device
in case the backing device has no link detected.

Reported-by: Abdul Haleem <abdhalee@linux.vnet.ibm.com>
Tested-by: Abdul Haleem <abdhalee@linux.vnet.ibm.com>
Signed-off-by: Murilo Fossa Vicentini <muvic@linux.ibm.com>
Reviewed-by: Thomas Falcon <tlfalcon@linux.ibm.com>
drivers/net/ethernet/ibm/ibmvnic.c