summaryrefslogtreecommitdiff
path: root/docs/configuration
diff options
context:
space:
mode:
authorNicolas Vollmar <nvo@scaling.ch>2024-12-13 14:03:23 +0100
committerNicolas Vollmar <nvo@scaling.ch>2024-12-13 14:03:23 +0100
commitf5e77e28658afc19bf4b20e216513db372ac14e3 (patch)
tree43881ab16b6593ee6d35523de4fd85e8438b2894 /docs/configuration
parent60a2b5373a1bcb8f66f533d9164c1441380b244e (diff)
downloadvyos-documentation-f5e77e28658afc19bf4b20e216513db372ac14e3.tar.gz
vyos-documentation-f5e77e28658afc19bf4b20e216513db372ac14e3.zip
T6944: adds documentation for switchdev mode
Diffstat (limited to 'docs/configuration')
-rw-r--r--docs/configuration/interfaces/ethernet.rst11
1 files changed, 11 insertions, 0 deletions
diff --git a/docs/configuration/interfaces/ethernet.rst b/docs/configuration/interfaces/ethernet.rst
index 30a13b5b..7288d9d2 100644
--- a/docs/configuration/interfaces/ethernet.rst
+++ b/docs/configuration/interfaces/ethernet.rst
@@ -20,6 +20,17 @@ Common interface configuration
:var0: ethernet
:var1: eth0
+.. cfgcmd:: set interface ethernet <interface> switchdev
+
+ Switches this interface to `switchdev` mode that allows network interfaces to offload
+ certain networking functions directly to hardware, like a network switch or a SmartNIC.
+ This enables higher performance and lower latency for network processing by
+ bypassing the kernel's network stack for supported operations.
+
+.. note:: This is only supported on certain physical network interfaces
+ and depends on specific models and drivers.
+
+
Ethernet options
================