commit | 3f8af41262697a4d6742f030fbe0ceb9e1a048a6 | [log] [tgz] |
---|---|---|
author | Sergey Nemov <sergey.nemov@intel.com> | Wed Dec 19 06:45:40 2018 -0800 |
committer | Jeff Kirsher <jeffrey.t.kirsher@intel.com> | Tue Jan 22 07:51:33 2019 -0800 |
tree | e37253f7d9b266e0ae969671092d552fc5aaaaa6 | |
parent | 9b0732d9ed6f80d712119fa32ff25ae9b09d481e [diff] |
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>