qosmngr: do not limit number of queues to 4 for BCM68880

also remove unused check of /proc/socinfo
This commit is contained in:
Sukru Senli 2023-01-13 16:28:48 +01:00 committed by Rahul Thakur
parent bf1d366ce7
commit c54cb80862
2 changed files with 1 additions and 2 deletions

View file

@ -9,7 +9,7 @@ queue_num=8
populate_no_of_queue(){
case $cpu_model in
BCM68*) queue_num=4;;
BCM68[3,4,5]*) queue_num=4 ;;
esac
if grep -qE '[0-9]+ archer$' /proc/devices; then
queue_num=4

View file

@ -1231,7 +1231,6 @@ configure_qos() {
reload_qos() {
local service_name="$1"
local cpu_model="$(cat /proc/socinfo | grep 'SoC Name' | cut -d':' -f2)"
if [ -z "$service_name" ]; then
configure_qos