commit | 582a686f52d2e002da64093fe4b9aa5befcaf4e4 | [log] [tgz] |
---|---|---|
author | Phil Sutter <phil@nwl.cc> | Wed Jan 18 14:04:37 2017 +0100 |
committer | David S. Miller <davem@davemloft.net> | Fri Jan 20 11:43:16 2017 -0500 |
tree | 3af9cc4b76d7b522d2fb41e15de209c4b61d9410 | |
parent | 6c59ebd356ff2ca64cdf1f61c5fe17f6fa8fc045 [diff] |
device: bus_type: Introduce num_vf callback This allows for bus types to implement their own method of retrieving the number of virtual functions a NIC on that type of bus supports. Signed-off-by: Phil Sutter <phil@nwl.cc> Signed-off-by: David S. Miller <davem@davemloft.net>