[SOLVED]How can I enable rss for intel i211 ?
-
How can I enable rss for intel i211 ?I set rss.debug=1,but I can't find anything in syslog.
[23.05-RELEASE][root@GW.Tel]/root: grep rss /boot/loader.conf net.inet.rss.bits=2 [23.05-RELEASE][root@GW.Tel]/root: sysctl -a | grep rss device wlan_rssadapt net.inet.rss.bucket_mapping: 0:0 1:1 2:2 3:3 net.inet.rss.debug: 1 net.inet.rss.basecpu: 0 net.inet.rss.buckets: 4 net.inet.rss.maxcpus: 64 net.inet.rss.ncpus: 4 net.inet.rss.maxbits: 7 net.inet.rss.mask: 3 net.inet.rss.bits: 2 net.inet.rss.hashalgo: 2 hw.bxe.udp_rss: 0 hw.ix.enable_rss: 1 hw.cxgbe.nm_split_rss: 0 compat.linuxkpi.mlx4_udp_rss: 1
-
What makes you think it isn't enabled? Do you see interrupt activity on all queues?
-
@stephenw10 I dont know how to verify whether the rss was enabled :(
-
As far as I know there is nothing to set for igb NICs. If the kernel has RSS support (which it does) then it will be used.
-
The answer for the question: dmesg| grep -i queue
[23.05-RELEASE][root@GW.Tel]/root: dmesg| grep -i queue igb0: Using 2 RX queues 2 TX queues igb0: netmap queues/slots: TX 2/1024, RX 2/1024 igb1: Using 2 RX queues 2 TX queues igb1: netmap queues/slots: TX 2/1024, RX 2/1024 ada0: Command Queueing enabled
-
I would try
vmstat -i
and make sure you see interrupts on both queues on each NIC when it's passing traffic.