diff options
| author | Sergey Nemov <[email protected]> | 2018-12-19 06:45:40 -0800 |
|---|---|---|
| committer | Jeff Kirsher <[email protected]> | 2019-01-22 07:51:33 -0800 |
| commit | 3f8af41262697a4d6742f030fbe0ceb9e1a048a6 (patch) | |
| tree | e37253f7d9b266e0ae969671092d552fc5aaaaa6 /scripts/gdb/linux/tasks.py | |
| 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 <[email protected]>
Tested-by: Andrew Bowers <[email protected]>
Signed-off-by: Jeff Kirsher <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/tasks.py')
0 files changed, 0 insertions, 0 deletions