aboutsummaryrefslogtreecommitdiffstats
path: root/.gitignore
diff options
context:
space:
mode:
authorHarshitha Ramamurthy <harshitha.ramamurthy@intel.com>2018-08-28 10:16:05 -0700
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>2018-09-25 13:05:37 -0700
commited277c50c0752e11631bc79363385db0e1bb010a (patch)
tree0341e9689a04a28c0cf7fa29d41b58e090bb8c0b /.gitignore
parenti40e: use declared variables for pf and hw (diff)
downloadlinux-dev-ed277c50c0752e11631bc79363385db0e1bb010a.tar.xz
linux-dev-ed277c50c0752e11631bc79363385db0e1bb010a.zip
i40e: add a helper function to validate a VF based on the vf id
When we are trying to change VF settings, it is possible for 2 race conditions to happen. One, when the VF is created but not yet enabled. Second, the VF is enabled but the VSI is still not created or not yet re-created in the VF reset flow. This patch introduces a helper function to validate that the VF is enabled and that the VSI is set up. This patch also calls this function from other functions which could get into these race conditions. While we are poking around here, remove unnecessary parenthesis that checkpatch was complaining about. Signed-off-by: Harshitha Ramamurthy <harshitha.ramamurthy@intel.com> Tested-by: Andrew Bowers <andrewx.bowers@intel.com> Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Diffstat (limited to '.gitignore')
0 files changed, 0 insertions, 0 deletions