summaryrefslogtreecommitdiffstats
path: root/include/linux/debugobjects.h
diff options
context:
space:
mode:
authorBrett Creeley <brett.creeley@intel.com>2018-10-26 11:44:34 -0700
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>2018-11-13 09:09:26 -0800
commit99fc1057b4d4e2a95c24b3b1ea4d6140eb2712a2 (patch)
tree87f8189ab56b4d661325f1919addb1ff51f70c53 /include/linux/debugobjects.h
parent7b8ff0f9cc531ce4367827e335c8bf0488d245f8 (diff)
downloadcachepc-linux-99fc1057b4d4e2a95c24b3b1ea4d6140eb2712a2.tar.gz
cachepc-linux-99fc1057b4d4e2a95c24b3b1ea4d6140eb2712a2.zip
ice: Call pci_disable_sriov before stopping queues for VF
Previous to this commit the driver was immediately stopping Tx/Rx queues when doing the following "echo 0 > sriov_numvfs" and then it was calling pci_disable_sriov if the VFs are not assigned. This was causing the VIRTCHNL_OP_DISABLE_QUEUES to fail because it was trying to stop the queues for a second time. Fix this by calling pci_disable_sriov before stopping the Tx/Rx queues. This allows the VIRTCHNL_OP_DISABLE_QUEUES to get processed before the driver tries to stop the Rx/Tx queues in ice_free_vfs. Signed-off-by: Brett Creeley <brett.creeley@intel.com> Signed-off-by: Anirudh Venkataramanan <anirudh.venkataramanan@intel.com> Tested-by: Andrew Bowers <andrewx.bowers@intel.com> Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Diffstat (limited to 'include/linux/debugobjects.h')
0 files changed, 0 insertions, 0 deletions