commit | 6d48ceb27af1420882f092495fc796cfcbf92a14 | [log] [tgz] |
---|---|---|
author | Jakub Kicinski <jakub.kicinski@netronome.com> | Tue Jun 27 00:50:27 2017 -0700 |
committer | David S. Miller <davem@davemloft.net> | Tue Jun 27 15:48:49 2017 -0400 |
tree | 767ddea3dd839ce2627cd6b8ef814f97730fdcd3 | |
parent | e3f28473b8ed348f7c052fa1bf79edfde5efba48 [diff] |
nfp: allocate a private workqueue for driver work Since we grab pf->lock around pci_enable_sriov() we can no longer safely queue work which may also grab that lock onto system workqueue. pci_enable_sriov() will flush system workqueue as part to wait for VF probing. Signed-off-by: Jakub Kicinski <jakub.kicinski@netronome.com> Reviewed-by: Simon Horman <simon.horman@netronome.com> Signed-off-by: David S. Miller <davem@davemloft.net>