openvpn: T4974: add data channel offload CLI documentation

This commit is contained in:
Christian Breunig 2023-07-27 11:27:08 +02:00
parent 8d0279a0f0
commit aebb422f67

View File

@ -513,6 +513,29 @@ example:
}
}
Offloading (DCO)
================
The expression Data Channel Offload refers to any technique implemented with
the goal of moving the processing of data packets from the OpenVPN userspace
program to a separate entity.
Given that OpenVPN spends a considerable amount of time passing data packets
back and forth from kernel-land to user-land, where decryption and re-routing
happens, it was decided to offload the data processing directly to the kernel.
As direct consequence, data packets are not required to leave the kernelspace
anymore, thus boosting the performance of active VPN connections.
.. warning:: This is experimental!
.. cfgcmd:: set interfaces openvpn <name> offload dco
Enable OpenVPN Data Channel Offload feature by loading the appropriate kernel
module.
Disbaled by default. No kernel module loaded.
******
Client
******