]> git.baikalelectronics.ru Git - kernel.git/commit
ice: Clear and free XLT entries on reset
authorVignesh Sridhar <vignesh.sridhar@intel.com>
Thu, 30 Jul 2020 00:19:15 +0000 (17:19 -0700)
committerTony Nguyen <anthony.l.nguyen@intel.com>
Sat, 1 Aug 2020 15:44:04 +0000 (08:44 -0700)
commit2f02817c51880d7eba0bbf2ebe501f204a48061d
treea8df6e522af6d1d3440824086cd587a9d11e5fef
parent50a6785bcdab752e2000551a79c3e113f337d7f9
ice: Clear and free XLT entries on reset

This fix has been added to address memory leak issues resulting from
triggering a sudden driver reset which does not allow us to follow our
normal removal flows for SW XLT entries for advanced features.

- Adding call to destroy flow profile locks when clearing SW XLT tables.

- Extraction sequence entries were not correctly cleared previously
which could cause ownership conflicts for repeated reset-replay calls.

Fixes: 10754cdd5b91 ("ice: Allocate flow profile")
Signed-off-by: Vignesh Sridhar <vignesh.sridhar@intel.com>
Tested-by: Andrew Bowers <andrewx.bowers@intel.com>
Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>
drivers/net/ethernet/intel/ice/ice_flex_pipe.c