Disable real-time Ethernet

This chapter demonstrates how to disable real-time Ethernet if you do not need real-time communication and want to use the interfaces instead for traditional full-bandwidth Ethernet communication.

Real-time Ethernet is enabled by default. Use the command TcRteConfig show to call up the current configuration for the interfaces:

Administrator@CX-3B151A:~ % TcRteConfig show
sysctl:
dev.igb.1.iflib.tc_rte.mode: 0
dev.igb.1.iflib.support_tc_rte: 1
dev.igb.1.iflib.disable_tc_rte: 0
dev.igb.0.iflib.tc_rte.mode: 0
dev.igb.0.iflib.support_tc_rte: 1
dev.igb.0.iflib.disable_tc_rte: 0

Depending on the device, different network adapters can be displayed. In the example shown here, the network adapters are called igb0 and igb1.

Disable real-time Ethernet as follows:

1. Enter the command doas TcRteConfig disable igb.1 in the console.
Real-time Ethernet is disabled for the igb.1 interface.
/boot/device.hints:
dev.igb.1.iflib.disable_tc_rte="1"
Administrator@CX-3B151A:~ %
2. Restart the Industrial PC with the command shutdown -r now to apply the settings.
After the restart, real-time Ethernet is disabled for the igb.1 interface. The command doas TcRteConfig enable igb.1 can be used to re-enable real-time Ethernet. Here, too, the settings are only applied after a restart.