diff options
author | David S. Miller <davem@davemloft.net> | 2020-01-05 14:51:02 -0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2020-01-05 14:51:02 -0800 |
commit | aea6a1eba5769999ecb8d7a049f397b5f8ff5d28 (patch) | |
tree | a9e439be520410e9b3cff9c5be70737299b00477 /include | |
parent | 14a65084f9310ba6a4017c365f9c9820b099dde5 (diff) | |
parent | fbb39807e9ae0f60e2f6a0a628aadab73554fbbe (diff) | |
download | linux-aea6a1eba5769999ecb8d7a049f397b5f8ff5d28.tar.bz2 |
Merge branch 'ionic-add-sriov-support'
Shannon Nelson says:
====================
ionic: add sriov support
Set up the basic support for enabling SR-IOV devices in the
ionic driver. Since most of the management work happens in
the NIC firmware, the driver becomes mostly a pass-through
for the network stack commands that want to control and
configure the VFs.
v4: changed "vf too big" checks to use pci_num_vf()
changed from vf[] array of pointers of individually allocated
vf structs to single allocated vfs[] array of vf structs
added clean up of vfs[] on probe fail
added setup for vf stats dma
v3: added check in probe for pre-existing VFs
split out the alloc and dealloc of vf structs to better deal
with pre-existing VFs (left enabled on remove)
restored the checks for vf too big because of a potential
case where VFs are already enabled but driver failed to
alloc the vf structs
v2: use pci_num_vf() and kcalloc()
remove checks for vf too big
add locking for the VF operations
disable VFs in ionic_remove() if they are still running
====================
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions