Skip to content

Commit

Permalink
Update README: Add explicit cmdline to disable XPS
Browse files Browse the repository at this point in the history
In issue #3 there were some confusion on how to disable XPS
via the script bin/xps_setup.sh.

Adding explicit command line how to call script.

Signed-off-by: Jesper Dangaard Brouer <[email protected]>
  • Loading branch information
netoptimizer committed Oct 14, 2021
1 parent e9a2e63 commit 5676b81
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions README.org
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,11 @@ The basic components (in TC MQ-setup [[file:bin/tc_mq_htb_setup_example.sh][exam
For this project to work disable XPS (Transmit Packet Steering). A script for
configuring and disabling XPS is provided here: [[file:bin/xps_setup.sh]].

Script command line to disable XPS:
#+begin_src sh
sudo ./bin/xps_setup.sh --dev DEVICE --default --disable
#+end_src

The reason is that XPS (Transmit Packet Steering) takes precedence over setting
=skb->queue_mapping= used by TC BPF-prog. XPS is configured per DEVICE via
=/sys/class/net/DEVICE/queues/tx-*/xps_cpus= via a CPU hex mask. To disable set
Expand Down

0 comments on commit 5676b81

Please sign in to comment.