Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
O
OpenXG-RAN
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
lizhongxiao
OpenXG-RAN
Commits
d03a8b38
Commit
d03a8b38
authored
2 years ago
by
Robert Schmidt
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Set kernel parameters when loading N300
parent
4d9ee5d1
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
0 deletions
+3
-0
targets/ARCH/USRP/USERSPACE/LIB/usrp_lib.cpp
targets/ARCH/USRP/USERSPACE/LIB/usrp_lib.cpp
+3
-0
No files found.
targets/ARCH/USRP/USERSPACE/LIB/usrp_lib.cpp
View file @
d03a8b38
...
@@ -1023,6 +1023,9 @@ extern "C" {
...
@@ -1023,6 +1023,9 @@ extern "C" {
device
->
type
=
USRP_N300_DEV
;
device
->
type
=
USRP_N300_DEV
;
usrp_master_clock
=
122.88e6
;
usrp_master_clock
=
122.88e6
;
args
+=
boost
::
str
(
boost
::
format
(
",master_clock_rate=%f"
)
%
usrp_master_clock
);
args
+=
boost
::
str
(
boost
::
format
(
",master_clock_rate=%f"
)
%
usrp_master_clock
);
if
(
0
!=
system
(
"sysctl -w net.core.rmem_max=62500000 net.core.wmem_max=62500000"
)
)
LOG_W
(
HW
,
"Can't set kernel parameters for N3x0
\n
"
);
}
}
if
(
device_adds
[
0
].
get
(
"type"
)
==
"x300"
)
{
if
(
device_adds
[
0
].
get
(
"type"
)
==
"x300"
)
{
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment