]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
nfp: wait for board state before talking to the NSP
authorJakub Kicinski <jakub.kicinski@netronome.com>
Wed, 13 Sep 2017 17:15:59 +0000 (10:15 -0700)
committerDavid S. Miller <davem@davemloft.net>
Wed, 13 Sep 2017 20:29:13 +0000 (13:29 -0700)
commit4cbe94f2af25bf8f4d5dea56c770937d896342bf
treedf8620d3cc89fb118b4afc169b39e8a17a69d1dc
parentb95a2d831b815189618d18e3e89bcfa5072351a1
nfp: wait for board state before talking to the NSP

Board state informs us which low-level initialization stages the card
has completed.  We should wait for the card to be fully initialized
before trying to communicate with it, not only before we configure
passing traffic.

Signed-off-by: Jakub Kicinski <jakub.kicinski@netronome.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/netronome/nfp/nfp_main.c
drivers/net/ethernet/netronome/nfp/nfp_net_main.c