diff options
author | 2018-04-10 10:49:49 -0700 | |
---|---|---|
committer | 2018-04-24 08:55:42 -0700 | |
commit | d332a38c9519e0208f04da465bc88427db3485f6 (patch) | |
tree | d39555d59a6a5a339abb2a160cce85dab8d7a7d6 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | igb: Fix the transmission mode of queue 0 for Qav mode (diff) | |
download | linux-dev-d332a38c9519e0208f04da465bc88427db3485f6.tar.xz linux-dev-d332a38c9519e0208f04da465bc88427db3485f6.zip |
ice: Fix initialization for num_nodes_added
ice_sched_add_nodes_to_layer is used recursively, and so we start
with num_nodes_added being 0. This way, in case of an error or if
num_nodes is NULL, the function just returns 0 to indicate that no
nodes were added.
Fixes: 5513b920a4f7 ("ice: Update Tx scheduler tree for VSI multi-Tx queue support")
Signed-off-by: Anirudh Venkataramanan <anirudh.venkataramanan@intel.com>
Tested-by: Tony Brelinski <tonyx.brelinski@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions