]> 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)
commit9db556f709857acee6c5ffd28418d23a0f2cda44
treebbf70cd4002b727d56f2fc9164c9023a46bd0736
parente06e557424e6ccfd61f5b203a9ba058928ab5fea
ibmvnic: Warn unknown speed message only when carrier is present

With commit 45f8ae92c139 ("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