linux/drivers/net/ethernet/intel/ice
Anirudh Venkataramanan d332a38c95 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: 5513b920a4 ("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>
2018-04-24 08:55:42 -07:00
..
ice.h ice: Implement filter sync, NDO operations and bump version 2018-03-26 12:41:38 -07:00
ice_adminq_cmd.h ice: Implement filter sync, NDO operations and bump version 2018-03-26 12:41:38 -07:00
ice_common.c ice: Fix error return code in ice_init_hw() 2018-04-06 07:00:09 -07:00
ice_common.h ice: Implement filter sync, NDO operations and bump version 2018-03-26 12:41:38 -07:00
ice_controlq.c ice: Initialize PF and setup miscellaneous interrupt 2018-03-26 10:34:49 -07:00
ice_controlq.h ice: Initialize PF and setup miscellaneous interrupt 2018-03-26 10:34:49 -07:00
ice_devids.h
ice_ethtool.c ice: Bug fixes in ethtool code 2018-04-06 07:00:09 -07:00
ice_hw_autogen.h ice: Support link events, reset and rebuild 2018-03-26 12:32:17 -07:00
ice_lan_tx_rx.h ice: Implement filter sync, NDO operations and bump version 2018-03-26 12:41:38 -07:00
ice_main.c ice: Implement filter sync, NDO operations and bump version 2018-03-26 12:41:38 -07:00
ice_nvm.c ice: Start hardware initialization 2018-03-26 09:59:08 -07:00
ice_osdep.h ice: Start hardware initialization 2018-03-26 09:59:08 -07:00
ice_sched.c ice: Fix initialization for num_nodes_added 2018-04-24 08:55:42 -07:00
ice_sched.h ice: Update Tx scheduler tree for VSI multi-Tx queue support 2018-03-26 12:21:42 -07:00
ice_status.h ice: Configure VSIs for Tx/Rx 2018-03-26 11:18:36 -07:00
ice_switch.c ice: Implement filter sync, NDO operations and bump version 2018-03-26 12:41:38 -07:00
ice_switch.h ice: Implement filter sync, NDO operations and bump version 2018-03-26 12:41:38 -07:00
ice_txrx.c ice: Add support for VLANs and offloads 2018-03-26 11:54:49 -07:00
ice_txrx.h ice: Add support for VLANs and offloads 2018-03-26 11:54:49 -07:00
ice_type.h ice: Implement filter sync, NDO operations and bump version 2018-03-26 12:41:38 -07:00
Makefile ice: Add stats and ethtool support 2018-03-26 12:11:19 -07:00