aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/intel/ice/ice_lib.c
diff options
context:
space:
mode:
authorVictor Raj <[email protected]>2021-03-25 22:35:05 +0000
committerTony Nguyen <[email protected]>2021-04-08 00:09:15 +0000
commit7fb09a737536fc7bff75c7018133acb30328ca07 (patch)
treebc2c8d65011d23f43aabec1d334a9cf878f3d445 /drivers/net/ethernet/intel/ice/ice_lib.c
parentice: Re-send some AQ commands, as result of EBUSY AQ error (diff)
downloadkernel-7fb09a737536fc7bff75c7018133acb30328ca07.tar.gz
kernel-7fb09a737536fc7bff75c7018133acb30328ca07.zip
ice: Modify recursive way of adding nodes
Remove the recursive way of adding the nodes to the layer in order to reduce the stack usage. Instead the algorithm is modified to use a while loop. The previous code was scanning recursively the nodes horizontally. The total stack consumption will be based on number of nodes present on that layer. In some cases it can consume more stack. Signed-off-by: Victor Raj <[email protected]> Tested-by: Tony Brelinski <[email protected]> Signed-off-by: Tony Nguyen <[email protected]>
Diffstat (limited to 'drivers/net/ethernet/intel/ice/ice_lib.c')
0 files changed, 0 insertions, 0 deletions