commit | b4c1df9378bc6ce9f7fc4fd18afa3a98b676c5fa | [log] [tgz] |
---|---|---|
author | Sathya Perla <sathya.perla@emulex.com> | Wed May 08 02:05:47 2013 +0000 |
committer | David S. Miller <davem@davemloft.net> | Wed May 08 11:59:47 2013 -0700 |
tree | a28ca1072ed3e7280a954d01856c665e4b94c2f2 | |
parent | de9c9f86be0dc3495de98dc65c80abe6e7c7d643 [diff] |
be2net: provision VF resources before enabling SR-IOV When the PF driver calls pci_enable_sriov(), the VFs may be probed inline before the call returns. So, the resources required for all VFs must be provisioned by the PF driver *before* calling pci_enable_sriov(); else, VF probe will fail. Signed-off-by: Sathya Perla <sathya.perla@emulex.com> Signed-off-by: David S. Miller <davem@davemloft.net>