diff options
author | Sergey Nemov <sergey.nemov@intel.com> | 2018-12-19 06:45:40 -0800 |
---|---|---|
committer | Jeff Kirsher <jeffrey.t.kirsher@intel.com> | 2019-01-22 07:51:33 -0800 |
commit | 3f8af41262697a4d6742f030fbe0ceb9e1a048a6 (patch) | |
tree | e37253f7d9b266e0ae969671092d552fc5aaaaa6 /drivers/base/Kconfig | |
parent | i40e: Change unmatched function types (diff) | |
download | linux-dev-3f8af41262697a4d6742f030fbe0ceb9e1a048a6.tar.xz linux-dev-3f8af41262697a4d6742f030fbe0ceb9e1a048a6.zip |
i40e: check queue pairs num in config queues handler
Check if num_queue_pairs number requested by VF is less than
maximum possible value in VIRTCHNL_OP_CONFIG_VSI_QUEUES handler.
Also check if local_vf_id >= 0 in common handler since it is of
int type and can potentially be negative.
Signed-off-by: Sergey Nemov <sergey.nemov@intel.com>
Tested-by: Andrew Bowers <andrewx.bowers@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Diffstat (limited to 'drivers/base/Kconfig')
0 files changed, 0 insertions, 0 deletions