diff options
author | Brett Creeley <[email protected]> | 2019-04-16 10:21:19 -0700 |
---|---|---|
committer | Jeff Kirsher <[email protected]> | 2019-05-04 14:22:55 -0700 |
commit | a85a3847fb5164f08e2a5c0cc0b386f0a79293a6 (patch) | |
tree | 380ab4827437ec64a3548ed4c3715f9928397a5b /scripts/gdb/linux/tasks.py | |
parent | 207e3721acb4982f73453762ed8d6f3c7dc3de35 (diff) |
ice: Always free/allocate q_vectors
Currently when probing/removing the driver we allocate/deallocate
each vsi->q_vectors array in ice_vsi_alloc_arrays() and
ice_vsi_free_arrays() respectively. However, we don't do this
during the reset and VSI rebuild flow. This is inconsistent
and unnecessary to have a difference between the two flows.
This patch makes the change to always allocate/deallocate the
vsi->q_vectors array regardless of the driver flow we are in.
Also, update the comment for ice_vsi_free_arrays() to be more
descriptive.
Signed-off-by: Brett Creeley <[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