From f5e77e28658afc19bf4b20e216513db372ac14e3 Mon Sep 17 00:00:00 2001 From: Nicolas Vollmar Date: Fri, 13 Dec 2024 14:03:23 +0100 Subject: [PATCH] T6944: adds documentation for switchdev mode --- docs/configuration/interfaces/ethernet.rst | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/docs/configuration/interfaces/ethernet.rst b/docs/configuration/interfaces/ethernet.rst index 30a13b5b1d..7288d9d2c6 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 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 ================