scripts/setup: Clear hugepages while cleaning up

Signed-off-by: Michal Berger <michalx.berger@intel.com>
Change-Id: I214e6b45f9784df74196de6e8e40a01feba9f102
Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/10209
Community-CI: Broadcom CI <spdk-ci.pdl@broadcom.com>
Community-CI: Mellanox Build Bot
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
Reviewed-by: Jim Harris <james.r.harris@intel.com>
Reviewed-by: Monica Kenguva <monica.kenguva@intel.com>
Reviewed-by: Tomasz Zawadzki <tomasz.zawadzki@intel.com>
This commit is contained in:
Michal Berger 2021-11-12 15:05:47 +01:00 committed by Tomasz Zawadzki
parent a57af488ff
commit ddb42b2e69

View File

@ -788,6 +788,7 @@ if [[ $os == Linux ]]; then
configure_linux
elif [ "$mode" == "cleanup" ]; then
cleanup_linux
clear_hugepages
elif [ "$mode" == "reset" ]; then
reset_linux
elif [ "$mode" == "status" ]; then