NanoPI R6S with OpenWRT

WAN is eth1 on the R6S by default, and eth1 is reporting only a single TX/RX queue (see the output from my R6S below).

As I understand it, cake_mq requires the Ethernet hardware to support two or more queues. Is that correct?

BTW, theoretically the RTL8125 should have 4 RSS queues and 2 TX queues (this information still needs confirmation). If this is correct, I am wondering whether this is a driver limitation, since OpenWrt 25.12 uses the r8169 driver by default.

root@router:~# ll /sys/class/net/eth0/queues
drwxr-xr-x    6 root     root             0 Mar  3 13:30 ./
drwxr-xr-x    6 root     root             0 Mar  3 13:30 ../
drwxr-xr-x    2 root     root             0 Mar  3 13:30 rx-0/
drwxr-xr-x    2 root     root             0 Mar  3 13:30 rx-1/
drwxr-xr-x    3 root     root             0 Mar 12 07:05 tx-0/
drwxr-xr-x    3 root     root             0 Mar 12 07:05 tx-1/
root@router:~# ll /sys/class/net/eth1/queues
drwxr-xr-x    4 root     root             0 Mar  3 13:30 ./
drwxr-xr-x    9 root     root             0 Mar  3 13:30 ../
drwxr-xr-x    2 root     root             0 Mar  3 13:30 rx-0/
drwxr-xr-x    3 root     root             0 Mar  7 17:57 tx-0/
root@router:~# ll /sys/class/net/eth2/queues
drwxr-xr-x    4 root     root             0 Mar  3 13:30 ./
drwxr-xr-x   10 root     root             0 Mar  3 13:30 ../
drwxr-xr-x    2 root     root             0 Mar  3 13:30 rx-0/
drwxr-xr-x    3 root     root             0 Mar 12 07:05 tx-0/
root@router:~# ethtool -l eth0
Channel parameters for eth0:
RX:		2
TX:		2
Other:		n/a
Combined:	n/a
RX:		2
TX:		2
Other:		n/a
Combined:	n/a

root@router:~# ethtool -l eth1
netlink error: Not supported

root@router:~# ethtool -l eth2
netlink error: Not supported
root@router:~# 
root@router:~# lspci
0003:30:00.0 PCI bridge: Rockchip Electronics Co., Ltd RK3588 (rev 01)
0003:31:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8125 2.5GbE Controller (rev 05)
0004:40:00.0 PCI bridge: Rockchip Electronics Co., Ltd RK3588 (rev 01)
0004:41:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8125 2.5GbE Controller (rev 05)

root@router:~# ethtool -i eth0
driver: st_gmac
version: 6.12.71
firmware-version: 
expansion-rom-version: 
bus-info: fe1c0000.ethernet
supports-statistics: yes
supports-test: no
supports-eeprom-access: no
supports-register-dump: yes
supports-priv-flags: no

root@router:~# ethtool -i eth1
driver: r8169
version: 6.12.71
firmware-version: rtl8125b-2_0.0.2 07/13/20
expansion-rom-version: 
bus-info: 0003:31:00.0
supports-statistics: yes
supports-test: no
supports-eeprom-access: no
supports-register-dump: yes
supports-priv-flags: no

root@router:~# ethtool -i eth2
driver: r8169
version: 6.12.71
firmware-version: rtl8125b-2_0.0.2 07/13/20
expansion-rom-version: 
bus-info: 0004:41:00.0
supports-statistics: yes
supports-test: no
supports-eeprom-access: no
supports-register-dump: yes
supports-priv-flags: no
root@router:~# 

1 Like