Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
T
targets
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Container registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Issue analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Feed
targets
Commits
980a6dec
Commit
980a6dec
authored
2 months ago
by
Markus Gothe
Browse files
Options
Downloads
Patches
Plain Diff
ecnt_init: Fix SMP affinity for VoIP stack.
parent
1801a765
No related branches found
No related tags found
1 merge request
!1398
ecnt_init: Fix SMP affinity for VoIP stack.
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
airoha/base-files/etc/init.d/ecnt_init
+14
-0
14 additions, 0 deletions
airoha/base-files/etc/init.d/ecnt_init
with
14 additions
and
0 deletions
airoha/base-files/etc/init.d/ecnt_init
+
14
−
0
View file @
980a6dec
...
...
@@ -40,6 +40,20 @@ boot() {
.
$PROFILE_CFG
fi
if
[
-x
/userfs/bin/voip_loader
-a
"
$(
cat
/proc/device-tree/airoha-voice/slic-power-mode
)
"
!=
"none"
]
;
then
if
[
"
$TCSUPPORT_CPU_ARMV8
"
!=
""
]
;
then
HID
=
`
cat
/proc/tc3162/hid
`
if
[
"
$HID
"
=
"f"
]
||
[
"
$HID
"
=
"10"
]
;
then
CPUIDX
=
0x2
/userfs/bin/irqCpuBind
set
PCM1 1
else
CPUIDX
=
0x8
/userfs/bin/irqCpuBind
set
PCM1 3
fi
printf
"%x"
$((
0
xf&~CPUIDX
))
>
/proc/irq/default_smp_affinity
fi
fi
echo
65535
>
/proc/net/skbmgr_driver_max_skb
echo
32768
>
/proc/net/skbmgr_limit
echo
32767
>
/proc/net/skbmgr_4k_limit
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment