Commit graph

7 commits

Author SHA1 Message Date
RobertWalstab
7018ac8e47 mpm: systemd: systemd configuration are getting now installed under consideration of the device type 2020-07-16 10:00:12 -05:00
Joerg Hofrichter
58601da038 mpm: systemd: added systemd configuration files for network
Added files which were previously maintained in meta-ettus
repository but which are better placed alongside MPM itself:

- eth0/int0/sfp0/sfp1.network: network configuration files
- 70-sfp-net.rules: udev rule for automatically naming the
  network interfaces

Signed-off-by: Joerg Hofrichter <joerg.hofrichter@ni.com>
2020-07-16 10:00:12 -05:00
Joerg Hofrichter
55793604e5 mpm: systemd: added sysconf file for setting network buffer sizes
udp_zero_copy requires the network send buffer size (net.core.wmem_max)
and the network receive buffer size (net.core.rmem_max) to be set to
2500000 bytes (UDP_DEFAULT_BUFF_SIZE in udp_common.hpp).

Add a sysconf file (usrp-hwd.conf) to automatically set the recommended
values.
2020-05-01 15:22:07 -05:00
Brent Stapleton
431deb855b uhd: mpm: update all license header w/ "-or-later"
Updating all SPDX license identifiers to include "-or-later"
2019-03-08 00:43:07 +01:00
Martin Braun
a69ab0c23a cmake: Update coding style to use lowercase commands
Also updates our coding style file.

Ancient CMake versions required upper-case commands.  Later command
names became case-insensitive.  Now the preferred style is lower-case.

Run the following shell code (with GNU compliant sed):

cmake --help-command-list | grep -v "cmake version" | while read c; do
  echo 's/\b'"$(echo $c | tr '[:lower:]' '[:upper:]')"'\(\s*\)(/'"$c"'\1(/g'
done > convert.sed \
&& git ls-files -z -- bootstrap '*.cmake' '*.cmake.in' \
'*CMakeLists.txt' | xargs -0 gsed -i -f convert.sed && rm convert.sed

(Make sure the backslashes don't get mangled!)
2018-11-14 14:10:09 -08:00
Martin Braun
66d0257b2e mpm: Enable systemd watchdog and update it from MPM
- Updated systemd service file
- Added health status flag in shared data object
- Added thread in RPC process to update watchdog

Reviewed-by: Moritz Fischer <moritz.fischer@ettus.com>
2018-01-15 10:45:07 -08:00
Moritz Fischer
46fd417253 mpm: systemd: Add a systemd service file for MPM
Add a service file to start MPM on bootup via systemd.

Signed-off-by: Moritz Fischer <moritz.fischer@ettus.com>
2018-01-04 15:01:41 -08:00