diff options
author | Michal Swiatkowski <[email protected]> | 2019-04-16 10:21:17 -0700 |
---|---|---|
committer | Jeff Kirsher <[email protected]> | 2019-05-04 14:18:27 -0700 |
commit | ba0db585bdb696d28bd6ec3ae9908d45c0bdeb37 (patch) | |
tree | 78d346d9c441410208743fab4037f99c44d633e9 /scripts/gdb/linux/tasks.py | |
parent | bb877b22bcb5334fc4e1752fe77e96ab762c3738 (diff) |
ice: Add more validation in ice_vc_cfg_irq_map_msg
Add few checks to validate msg from iavf driver.
Test if we have got enough q_vectors allocated in VSI connected with VF.
Add masks for itr_indx and msix_indx to avoid writing to reserved fieldi
of QINT. Clear q_vector->num_ring_rx/tx, without it we can increment this
value every time we send irq map msg from VF. So after second call this
value will be incorrect.
Decrement num_vectors from msg, because last vector in iavf msg is misc
vector (we don't set map for it).
Signed-off-by: Michal Swiatkowski <[email protected]>
Signed-off-by: Anirudh Venkataramanan <[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