From 6c7548c77ea64502c9ee5334de12d94774a2d181 Mon Sep 17 00:00:00 2001 From: Dave Taht Date: Sun, 29 Jan 2023 18:22:42 -0800 Subject: [PATCH] More fixes for how the conf file should work. It was hilarious that I already missed the new "bridge" section in my first attempt. Imagine what it is like for the users? Pithy notes: I think this is an artifact of history, as a bool. disable_rxvlan = true disable_txvlan = true There are a zillion other options in ethtool -h for coalesing things, besides this. disable_offload = [ "gso", "tso", "lro", "sg", "gro" ] --- src/lqos.conf.new.discuss | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/src/lqos.conf.new.discuss b/src/lqos.conf.new.discuss index 66583689..e2fa97fd 100644 --- a/src/lqos.conf.new.discuss +++ b/src/lqos.conf.new.discuss @@ -11,11 +11,27 @@ disable_rxvlan = true disable_txvlan = true disable_offload = [ "gso", "tso", "lro", "sg", "gro" ] +# For a two interface setup, use the following - and replace +# "enp1s0f1" and "enp1s0f2" with your network card names (obtained +# from `ip link`): + +[bridge] +use_xdp_bridge = true interface_mapping = [ { name = "enp1s0f1", redirect_to = "enp1s0f2", scan_vlans = false }, { name = "enp1s0f2", redirect_to = "enp1s0f1", scan_vlans = false } ] vlan_mapping = [] +# For "on a stick" (single interface mode): +# [bridge] +# use_xdp_bridge = true +# interface_mapping = [ +# { name = "enp1s0f1", redirect_to = "enp1s0f1", scan_vlans = true } +# ] +# vlan_mapping = [ +# { parent = "enp1s0f1", tag = 3, redirect_to = 4 }, +# { parent = "enp1s0f1", tag = 4, redirect_to = 3 } +# ] # NMS/CRM Integration