ionic: start queues before announcing link up
authorShannon Nelson <snelson@pensando.io>
Thu, 12 Nov 2020 18:22:01 +0000 (10:22 -0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 17 Jan 2021 13:16:59 +0000 (14:16 +0100)
commitbca9046c36d39ebce2eed4577d29910131307e3f
tree7c036729c6cc15d27df8aba5c2ebc4dfa0cdf261
parent6aebfdacad97bd0f52a80dcf0b49aa123bedf2cc
ionic: start queues before announcing link up

commit 8f56bc4dc1011be6e2a53198b615fdc588b4ef6a upstream.

Change the order of operations in the link_up handling to be
sure that the queues are up and ready before we announce that
the link is up.

Signed-off-by: Shannon Nelson <snelson@pensando.io>
Reviewed-by: Saeed Mahameed <saeedm@nvidia.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/net/ethernet/pensando/ionic/ionic_lif.c