LibreQoE / LibreQoS

A Quality of Experience and Smart Queue Management system for ISPs. Leverage CAKE to improve network responsiveness, enforce bandwidth plans, and reduce bufferbloat.
https://libreqos.io/
GNU General Public License v2.0
457 stars 48 forks source link

"You must configure XDP bridging by editing the `/etc/lqos.conf` file on the server" Displayed in GUI #534

Closed owaismai closed 3 months ago

owaismai commented 3 months ago

Despite following the tutorial and properly configuring the /etc/lqos.conf file, the GUI still shows the following message in red, screenshot below:

xdp

Error: Bifrost XDP-Accelerated Bridge You must configure XDP bridging by editing the /etc/lqos.conf file on the server.

My Configs:

Here is my /etc/lqos.conf file:


lqos_directory = '/opt/libreqos/src'
queue_check_period_ms = 1000
node_id = "c2eb3081-eb4a-4bfa-85e0-c31903f2a4c6"

[tuning]
stop_irq_balance = true
netdev_budget_usecs = 8000
netdev_budget_packets = 300
rx_usecs = 8
tx_usecs = 8
disable_rxvlan = true
disable_txvlan = true
disable_offload = [ "gso", "tso", "lro", "sg", "gro" ]

[bridge]
use_xdp_bridge = true
interface_mapping = [
       { name = "eno2", redirect_to = "eno1", scan_vlans = false },
       { name = "eno1", redirect_to = "eno2", scan_vlans = false }
]
vlan_mapping = []

[usage_stats]
send_anonymous = true
anonymous_server = "stats.libreqos.io:9125"

My NIC Details:


NIC Model: Intel Ethernet Connection X722 for 1GbE
Driver: i40e
Driver Version: 5.15.0-116-generic
Firmware Version: 4.00 0x8000166a 1.2028.0

ethtool -l eno1

Channel parameters for eno1:
Pre-set maximums:
RX:             n/a
TX:             n/a
Other:          1
Combined:       8
Current hardware settings:
RX:             n/a
TX:             n/a
Other:          1
Combined:       8

$ ethtool -i eno1
driver: i40e
version: 5.15.0-116-generic
firmware-version: 4.00 0x8000166a 1.2028.0
expansion-rom-version:
bus-info: 0000:64:00.0
supports-statistics: yes
supports-test: yes
supports-eeprom-access: yes
supports-register-dump: yes
supports-priv-flags: yes

~$ sudo lshw -C network
  *-network:0
       description: Ethernet interface
       product: Ethernet Connection X722 for 1GbE
       vendor: Intel Corporation
       physical id: 0
       bus info: pci@0000:64:00.0
       logical name: eno1
       version: 09
       serial: 08:f1:ea:6d:05:1c
       size: 1Gbit/s
       capacity: 1Gbit/s
       width: 64 bits
       clock: 33MHz
       capabilities: pm msi msix pciexpress vpd bus_master cap_list rom ethernet physical tp 1000bt-fd autonegotiation
       configuration: autonegotiation=on broadcast=yes driver=i40e driverversion=5.15.0-116-generic duplex=full firmware=4.00 0x8000166a 1.2028.0 latency=0 link=yes multicast=yes port=twisted pair promiscuous=yes speed=1Gbit/s
       resources: irq:34 memory:eb000000-ebffffff memory:ef000000-ef007fff memory:ef080000-ef0fffff memory:efe00000-f01fffff memory:f0380000-f03fffff

Server has been restarted after configuration changes.

Why GUI still showing this message? Is there something I missed in the configuration, or is there an additional step required to properly enable XDP bridging? Or is this error incorrectly showing?

rchac commented 3 months ago

In v1.4, this message just means "we can't allow you to enable or disable this feature from the GUI, it has to be done using the CLI". In v1.5 it does allow you to change it through the GUI.