no queues
0neday opened this issue · 2 comments
0neday commented
log is here
root@OpenWrt:~# dmesg | grep r8125
[ 5.792088] r8125 2.5Gigabit Ethernet driver 9.010.01-NAPI-RSS loaded
[ 5.808613] r8125: This product is covered by one or more of the following patents: US6,570,884, US6,115,776, and US6,327,625.
[ 5.811352] r8125 Copyright (C) 2022 Realtek NIC software team <nicfae@realtek.com>
[ 5.813264] r8125 2.5Gigabit Ethernet driver 9.010.01-NAPI-RSS loaded
[ 5.831110] r8125: This product is covered by one or more of the following patents: US6,570,884, US6,115,776, and US6,327,625.
[ 5.833851] r8125 Copyright (C) 2022 Realtek NIC software team <nicfae@realtek.com>
[ 5.835735] r8125 2.5Gigabit Ethernet driver 9.010.01-NAPI-RSS loaded
[ 5.853713] r8125: This product is covered by one or more of the following patents: US6,570,884, US6,115,776, and US6,327,625.
[ 5.856464] r8125 Copyright (C) 2022 Realtek NIC software team <nicfae@realtek.com>
[ 5.858328] r8125 2.5Gigabit Ethernet driver 9.010.01-NAPI-RSS loaded
[ 5.876295] r8125: This product is covered by one or more of the following patents: US6,570,884, US6,115,776, and US6,327,625.
[ 5.879029] r8125 Copyright (C) 2022 Realtek NIC software team <nicfae@realtek.com>
[ 10.086013] r8125: eth0: link up
root@OpenWrt:~# ethtool -S eth0 | grep q
root@OpenWrt:~# ethtool -S eth0
NIC statistics:
tx_packets: 641
rx_packets: 1340
tx_errors: 0
rx_errors: 0
rx_missed: 0
align_errors: 0
tx_single_collisions: 0
tx_multi_collisions: 0
unicast: 521
broadcast: 754
multicast: 65
tx_aborted: 0
tx_underrun: 0
tx_octets: 151034
rx_octets: 126269
rx_multicast64: 0
tx_unicast64: 544
tx_broadcast64: 17
tx_multicast64: 80
tx_pause_on: 0
tx_pause_off: 0
tx_pause_all: 0
tx_deferred: 0
tx_late_collision: 0
tx_all_collision: 0
tx_aborted32: 0
align_errors32: 0
rx_frame_too_long: 0
rx_runt: 0
rx_pause_on: 0
rx_pause_off: 0
rx_pause_all: 0
rx_unknown_opcode: 0
rx_mac_error: 0
tx_underrun32: 0
rx_mac_missed: 11
rx_tcam_dropped: 0
tdu: 0
rdu: 0
csrutil commented
There are three queues for the RX and two queues for the tx
root@main:~# ls -al /sys/class/net/eth0/queues/
drwxr-xr-x 7 root root 0 Nov 20 09:31 .
drwxr-xr-x 5 root root 0 Nov 20 09:31 ..
drwxr-xr-x 2 root root 0 Dec 25 11:35 rx-0
drwxr-xr-x 2 root root 0 Dec 25 11:35 rx-1
drwxr-xr-x 2 root root 0 Dec 25 11:35 rx-2
drwxr-xr-x 3 root root 0 Dec 25 11:35 tx-0
drwxr-xr-x 3 root root 0 Dec 25 11:35 tx-1
Because of RTL don't provide the API on ethtool for checking the rx/tx queue. You can check the ethernets' interrupts by
cat /proc/interrupts | grep 'CPU\|eth'
And this is my ethernets' affinity.
root@main:~# cat /proc/interrupts | grep 'CPU\|eth'
CPU0 CPU1 CPU2
30: 3551364829 0 1 PCI-MSI 262144-edge eth0-0
31: 0 0 0 PCI-MSI 262145-edge eth0-1
32: 0 0 0 PCI-MSI 262146-edge eth0-2
33: 0 0 0 PCI-MSI 262147-edge eth0-3
34: 0 0 0 PCI-MSI 262148-edge eth0-4
35: 0 0 0 PCI-MSI 262149-edge eth0-5
36: 0 0 0 PCI-MSI 262150-edge eth0-6
37: 0 0 0 PCI-MSI 262151-edge eth0-7
38: 0 0 0 PCI-MSI 262152-edge eth0-8
39: 0 0 0 PCI-MSI 262153-edge eth0-9
40: 0 0 0 PCI-MSI 262154-edge eth0-10
41: 0 0 0 PCI-MSI 262155-edge eth0-11
42: 0 0 0 PCI-MSI 262156-edge eth0-12
43: 0 0 0 PCI-MSI 262157-edge eth0-13
44: 0 0 0 PCI-MSI 262158-edge eth0-14
45: 0 0 0 PCI-MSI 262159-edge eth0-15
46: 1 3275054886 0 PCI-MSI 262160-edge eth0-16
47: 0 0 0 PCI-MSI 262161-edge eth0-17
48: 0 0 3154576079 PCI-MSI 262162-edge eth0-18
49: 0 0 0 PCI-MSI 262163-edge eth0-19
50: 0 0 0 PCI-MSI 262164-edge eth0-20
51: 0 0 1 PCI-MSI 262165-edge eth0-21
52: 0 0 0 PCI-MSI 262166-edge eth0-22
53: 0 0 0 PCI-MSI 262167-edge eth0-23
54: 0 0 0 PCI-MSI 262168-edge eth0-24
55: 0 0 0 PCI-MSI 262169-edge eth0-25
56: 0 0 0 PCI-MSI 262170-edge eth0-26
57: 0 0 0 PCI-MSI 262171-edge eth0-27
58: 0 0 0 PCI-MSI 262172-edge eth0-28
59: 0 0 0 PCI-MSI 262173-edge eth0-29
60: 0 0 0 PCI-MSI 262174-edge eth0-30
61: 0 0 0 PCI-MSI 262175-edge eth0-31
62: 1499178020 0 0 PCI-MSI 278528-edge eth1-0
63: 0 0 0 PCI-MSI 278529-edge eth1-1
64: 0 0 0 PCI-MSI 278530-edge eth1-2
65: 0 0 0 PCI-MSI 278531-edge eth1-3
66: 0 0 0 PCI-MSI 278532-edge eth1-4
67: 0 0 0 PCI-MSI 278533-edge eth1-5
68: 0 0 0 PCI-MSI 278534-edge eth1-6
69: 0 0 0 PCI-MSI 278535-edge eth1-7
70: 0 0 0 PCI-MSI 278536-edge eth1-8
71: 0 0 0 PCI-MSI 278537-edge eth1-9
72: 0 0 0 PCI-MSI 278538-edge eth1-10
73: 0 0 0 PCI-MSI 278539-edge eth1-11
74: 0 0 0 PCI-MSI 278540-edge eth1-12
75: 0 0 0 PCI-MSI 278541-edge eth1-13
76: 0 0 0 PCI-MSI 278542-edge eth1-14
77: 0 0 0 PCI-MSI 278543-edge eth1-15
78: 0 1853933939 0 PCI-MSI 278544-edge eth1-16
79: 0 0 0 PCI-MSI 278545-edge eth1-17
80: 1 0 1808822014 PCI-MSI 278546-edge eth1-18
81: 0 0 0 PCI-MSI 278547-edge eth1-19
82: 0 0 0 PCI-MSI 278548-edge eth1-20
83: 3 0 0 PCI-MSI 278549-edge eth1-21
84: 0 0 0 PCI-MSI 278550-edge eth1-22
85: 0 0 0 PCI-MSI 278551-edge eth1-23
86: 0 0 0 PCI-MSI 278552-edge eth1-24
87: 0 0 0 PCI-MSI 278553-edge eth1-25
88: 0 0 0 PCI-MSI 278554-edge eth1-26
89: 0 0 0 PCI-MSI 278555-edge eth1-27
90: 0 0 0 PCI-MSI 278556-edge eth1-28
91: 0 0 0 PCI-MSI 278557-edge eth1-29
92: 0 0 0 PCI-MSI 278558-edge eth1-30
93: 0 0 0 PCI-MSI 278559-edge eth1-31
0neday commented
thank you, it worked