mirror of
https://dev.iopsys.eu/feed/iopsys.git
synced 2025-12-10 07:44:50 +01:00
qosmngr: do not limit number of queues to 4 for BCM68880
also remove unused check of /proc/socinfo
This commit is contained in:
parent
bf1d366ce7
commit
c54cb80862
2 changed files with 1 additions and 2 deletions
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue