Files
ecmc_server_cfg/AutoStart/S10-eth-irq-prio

12 lines
333 B
Bash
Executable File

#!/bin/bash
#echo "I am in ${0}"
# set IRQ priority=92 for all EtherCAT kernel threads (default is 50)
# This is only working if generic driver is in use. If igb, which is default, then ignore any errors from the below
source /etc/ethercat.conf
for dev in $LINK_DEVICES
do
/usr/local/bin/set-irq-threads-priority.sh $dev 92
done