summaryrefslogtreecommitdiff
path: root/daemons
diff options
context:
space:
mode:
Diffstat (limited to 'daemons')
-rw-r--r--daemons/shaper/README.rst14
-rw-r--r--daemons/shaper/src/shaper_daemon.c2
2 files changed, 14 insertions, 2 deletions
diff --git a/daemons/shaper/README.rst b/daemons/shaper/README.rst
index 71aebc42..6847c1d6 100644
--- a/daemons/shaper/README.rst
+++ b/daemons/shaper/README.rst
@@ -4,7 +4,8 @@ OpenAvnu Traffic Shaping Daemon
.. contents::
..
1 Introduction
- 2 Future Updates
+ 2 Support
+ 3 Future Updates
Introduction
------------
@@ -14,6 +15,17 @@ configure the kernel traffic shaping with the Hierarchy Token Bucket. While
tc could be called directly, using the daemon allows for a simpler interface
and keeps track of the current traffic shaping configurations in use.
+Support
+-------
+
+To enable the Shaper daemon support for AVTP Pipeline, edit the endpoint.ini
+file and uncomment the port=15365 line of the shaper section.
+
+The Shaper daemon does not work (i.e. no shaping occurs) if the Intel IGB
+support is loaded for the adapter being used. You may also need to compile
+the AVTP Pipeline with PLATFORM_TOOLCHAIN=generic to not include the IGB
+features.
+
Future Updates
--------------
diff --git a/daemons/shaper/src/shaper_daemon.c b/daemons/shaper/src/shaper_daemon.c
index 40f07088..5169b055 100644
--- a/daemons/shaper/src/shaper_daemon.c
+++ b/daemons/shaper/src/shaper_daemon.c
@@ -477,7 +477,7 @@ int process_command(int sockfd, char command[])
usage(sockfd);
return -1;
}
- sprintf(tc_command, "tc qdisc add dev %s root handle 1: mqprio num_tc 4 map 0 1 2 3 2 0 0 1 1 1 1 1 3 3 3 3 queues 1@0 1@1 1@2 1@3 hw 0", input.interface);
+ sprintf(tc_command, "tc qdisc add dev %s root handle 1: mqprio num_tc 4 map 3 3 1 0 2 2 2 2 2 2 2 2 2 2 2 2 queues 1@0 1@1 1@2 1@3 hw 0", input.interface);
log_client_debug_message(sockfd, "tc command: \"%s\"", tc_command);
if (system(tc_command) < 0)
{