diff --git a/ansible/roles/tsg-os-HAL/files/conf/tsg-os-HAL.conf b/ansible/roles/tsg-os-HAL/files/conf/tsg-os-HAL.conf index 2e5ff8be..1c5aa18d 100644 --- a/ansible/roles/tsg-os-HAL/files/conf/tsg-os-HAL.conf +++ b/ansible/roles/tsg-os-HAL/files/conf/tsg-os-HAL.conf @@ -7,3 +7,4 @@ # MRZCPD_DIRECT_PKTMBUF= # MRZCPD_INDIRECT_PKTMBUF= +# MRZCPD_POLL_WAIT_THROTTLE= diff --git a/ansible/roles/tsg-os-HAL/files/script/tsg-os-HAL.sh b/ansible/roles/tsg-os-HAL/files/script/tsg-os-HAL.sh index 8f75612e..5579ed2e 100644 --- a/ansible/roles/tsg-os-HAL/files/script/tsg-os-HAL.sh +++ b/ansible/roles/tsg-os-HAL/files/script/tsg-os-HAL.sh @@ -19,6 +19,7 @@ MRZCPD_IOCORE= CLIXON_IOCORE= MRZCPD_DIRECT_PKTMBUF= MRZCPD_INDIRECT_PKTMBUF= +MRZCPD_POLL_WAIT_THROTTLE=512 load_tsg_os_HAL_config() { @@ -59,6 +60,8 @@ set_tsg_clixon_conf() [ -f ${mrglobal_cfg_template} ] && sed -i "s/^iocore=.*$/iocore=${MRZCPD_IOCORE}/g" ${mrglobal_cfg_template} + [ -f ${mrglobal_cfg_template} ] && sed -i "s/^poll_wait_throttle=.*$/poll_wait_throttle=${MRZCPD_POLL_WAIT_THROTTLE}/g" ${mrglobal_cfg_template} + [ -f ${tsg_clixon_cfg_file} ] && sed -i "s/^cpu_range=.*$/cpu_range=${CLIXON_IOCORE}/g" ${tsg_clixon_cfg_file} }