]> git.baikalelectronics.ru Git - kernel.git/commit
ice: cleanup stack hog
authorBruce Allan <bruce.w.allan@intel.com>
Mon, 14 Sep 2020 15:37:14 +0000 (08:37 -0700)
committerTony Nguyen <anthony.l.nguyen@intel.com>
Wed, 9 Dec 2020 16:11:13 +0000 (08:11 -0800)
commit55e477b5a7cd62283ddce54431ef6d832ca32447
tree2eb98da961ebfd7ccb389ec333e5225adab5cecb
parente8c4130aaceb0b1b2a0b66120ef7ea14b3533023
ice: cleanup stack hog

In ice_flow_add_prof_sync(), struct ice_flow_prof_params has recently
grown in size hogging stack space when allocated there.  Hogging stack
space should be avoided.  Change allocation to be on the heap when needed.

Signed-off-by: Bruce Allan <bruce.w.allan@intel.com>
Tested-by: Harikumar Bokkena <harikumarx.bokkena@intel.com>
Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>
drivers/net/ethernet/intel/ice/ice_flow.c