diff options
author | Brett Creeley <brett.creeley@intel.com> | 2021-04-01 00:17:04 +0300 |
---|---|---|
committer | Tony Nguyen <anthony.l.nguyen@intel.com> | 2021-04-15 03:12:05 +0300 |
commit | c931c782d8465c0408e14bf031e951134c30b059 (patch) | |
tree | bef438f7d7458f23d780b826babfc5aa64d78f65 /.gitignore | |
parent | 1cdea9a7eae3a976adc2735bc7ce62ac07cafcdb (diff) | |
download | linux-c931c782d8465c0408e14bf031e951134c30b059.tar.xz |
ice: Set vsi->vf_id as ICE_INVAL_VFID for non VF VSI types
Currently the vsi->vf_id is set only for ICE_VSI_VF and it's left as 0
for all other VSI types. This is confusing and could be problematic
since 0 is a valid vf_id. Fix this by always setting non VF VSI types to
ICE_INVAL_VFID.
Signed-off-by: Brett Creeley <brett.creeley@intel.com>
Tested-by: Tony Brelinski <tonyx.brelinski@intel.com>
Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>
Diffstat (limited to '.gitignore')
0 files changed, 0 insertions, 0 deletions