OSDN Git Service

ionic: start queues before announcing link up
authorShannon Nelson <snelson@pensando.io>
Thu, 12 Nov 2020 18:22:01 +0000 (10:22 -0800)
committerJakub Kicinski <kuba@kernel.org>
Sat, 14 Nov 2020 21:22:58 +0000 (13:22 -0800)
commit8f56bc4dc1011be6e2a53198b615fdc588b4ef6a
tree88cec9572dbc3b4cba0ea01438ea23c8634e8aa7
parent9e6cad531c9de1ba39334fca535af0da5fdf8770
ionic: start queues before announcing link up

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>
drivers/net/ethernet/pensando/ionic/ionic_lif.c