diff options
author | Christian Breunig <christian@breunig.cc> | 2023-08-17 21:53:50 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-08-17 21:53:50 +0200 |
commit | 49f25c568c91750e06bb982ae0321d4448fbddbb (patch) | |
tree | f3a48a845e03603a4c4fff8913bc82f1b230e375 /interface-definitions | |
parent | 214d0d4933e90cbe9440280d916f069b9db463fc (diff) | |
parent | 6bd061100ae43bc3a8319408f5123ec9bde3f2b8 (diff) | |
download | vyos-1x-49f25c568c91750e06bb982ae0321d4448fbddbb.tar.gz vyos-1x-49f25c568c91750e06bb982ae0321d4448fbddbb.zip |
Merge pull request #2130 from aapostoliuk/T5409-sagitta
wireguard: T5409: Added 'set interfaces wireguard wgX threaded'
Diffstat (limited to 'interface-definitions')
-rw-r--r-- | interface-definitions/include/interface/per-client-thread.xml.i | 8 | ||||
-rw-r--r-- | interface-definitions/interfaces-wireguard.xml.in | 1 | ||||
-rw-r--r-- | interface-definitions/interfaces-wireless.xml.in | 1 |
3 files changed, 10 insertions, 0 deletions
diff --git a/interface-definitions/include/interface/per-client-thread.xml.i b/interface-definitions/include/interface/per-client-thread.xml.i new file mode 100644 index 000000000..2fd19b5ce --- /dev/null +++ b/interface-definitions/include/interface/per-client-thread.xml.i @@ -0,0 +1,8 @@ +<!-- include start from interface/per-client-thread.xml.i --> +<leafNode name="per-client-thread"> + <properties> + <help>Process traffic from each client in a dedicated thread</help> + <valueless/> + </properties> +</leafNode> +<!-- include end --> diff --git a/interface-definitions/interfaces-wireguard.xml.in b/interface-definitions/interfaces-wireguard.xml.in index 2dd5b47d1..3c79cef28 100644 --- a/interface-definitions/interfaces-wireguard.xml.in +++ b/interface-definitions/interfaces-wireguard.xml.in @@ -120,6 +120,7 @@ </children> </tagNode> #include <include/interface/redirect.xml.i> + #include <include/interface/per-client-thread.xml.i> #include <include/interface/vrf.xml.i> </children> </tagNode> diff --git a/interface-definitions/interfaces-wireless.xml.in b/interface-definitions/interfaces-wireless.xml.in index a9538d577..421d46c6e 100644 --- a/interface-definitions/interfaces-wireless.xml.in +++ b/interface-definitions/interfaces-wireless.xml.in @@ -778,6 +778,7 @@ </properties> <defaultValue>monitor</defaultValue> </leafNode> + #include <include/interface/per-client-thread.xml.i> #include <include/interface/redirect.xml.i> #include <include/interface/vif.xml.i> #include <include/interface/vif-s.xml.i> |