OPNsense Forum

English Forums => Hardware and Performance => Topic started by: resetbypeer on July 31, 2024, 12:06:14 PM

Title: xxv710 interface stats messed up
Post by: resetbypeer on July 31, 2024, 12:06:14 PM
Hi,

I have in one of my OPNsense firewalls a Intel XXV710-DA2 installed, but it is showing some weird amount of received packets which is way off the chart. I almost suspect a integer overflow or some other driver issue. Here are some of the stats that I have collected from the NIC. Mind you the NIC is running in 10Gbit mode with a DAC cable connected.

firmware/driver version: ev.ixl.0.fw_version: fw 8.84.67023 api 1.14 nvm 8.40 etid 8000b1fb oem 20.5120.13

interface stats: ixl0   1500 <Link#5>                                xx:xx:xx:xx:xx:xx                  227267882           0  4294967179  320596188716   44832138           0    915389806

ixl1   1500 <Link#6>        50:7c:xx:xx:xx:xx                   43060996           0  4294967179    8669601976  281475202348826           0  317696230342           0


root@arrakis:~ # dmesg | grep -i ixl
ixl0: <Intel(R) Ethernet Controller XXV710 for 25GbE SFP28 - 2.3.3-k> mem 0x1fffe000000-0x1fffeffffff,0x1ffff008000-0x1ffff00ffff irq 54 at device 0.0 on pci5
ixl0: fw 8.84.67023 api 1.14 nvm 8.40 etid 8000b1fb oem 20.5120.13
ixl0: PF-ID[0]: VFs 64, MSI-X 129, VF MSI-X 5, QPs 768, MDIO & I2C
ixl0: Using 1024 TX descriptors and 1024 RX descriptors
ixl0: Using 8 RX queues 8 TX queues
ixl0: Using MSI-X interrupts with 9 vectors
ixl0: Ethernet address: xx:xx:xx:xx:xx:xx
ixl0: Allocating 8 queues for PF LAN VSI; 8 queues active
ixl0: PCI Express Bus: Speed 8.0GT/s Width x8
ixl0: SR-IOV ready
ixl0: netmap queues/slots: TX 8/1024, RX 8/1024
ixl1: <Intel(R) Ethernet Controller XXV710 for 25GbE SFP28 - 2.3.3-k> mem 0x1fffd000000-0x1fffdffffff,0x1ffff000000-0x1ffff007fff irq 54 at device 0.1 on pci5
ixl1: fw 8.84.67023 api 1.14 nvm 8.40 etid 8000b1fb oem 20.5120.13
ixl1: PF-ID[1]: VFs 64, MSI-X 129, VF MSI-X 5, QPs 768, MDIO & I2C
ixl1: Using 1024 TX descriptors and 1024 RX descriptors
ixl1: Using 8 RX queues 8 TX queues
ixl1: Using MSI-X interrupts with 9 vectors
ixl1: Ethernet address: xx:xx:xx:xx:xx:xx
ixl1: Allocating 8 queues for PF LAN VSI; 8 queues active
ixl1: PCI Express Bus: Speed 8.0GT/s Width x8
ixl1: SR-IOV ready


Wondering if anybody else has stumbled on this or if I should report this as a bug with Freebsd.

EDIT: to be clear, the receive packets counter is already at this level even if you reboot the machine. That is why I suspect a bug.