https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=288733

            Bug ID: 288733
           Summary: ixl hw packet counters issue
           Product: Base System
           Version: 13.5-STABLE
          Hardware: amd64
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: kern
          Assignee: [email protected]
          Reporter: [email protected]

Created attachment 262807
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=262807&action=edit
Proposed fix.

The following illustrates the issue:

# ifconfig ixl0  192.168.1.71/24
# netstat -i -I ixl0 
Name    Mtu Network         Address                           Ipkts Ierrs Idrop
  Imcast    Opkts Oerrs   Omcast  Coll
ixl0   1500 <Link#5>        f0:b2:b9:14:de:0c                     0     0     0
       0        0     0        0     0
ixl0      - 192.168.1.0/24  192.168.1.71                          0     -     -
       0        0     -        0     -
ixl0      - fe80::%ixl0/64  fe80::f2b2:b9ff:fe14:de0c%ixl0        0     -     -
       0        0     -        0     -
# netstat -i -I ixl0  
Name    Mtu Network         Address                                   Ipkts    
  Ierrs       Idrop   Imcast            Opkts       Oerrs   Omcast        Coll
ixl0   1500 <Link#5>        f0:b2:b9:14:de:0c                             9    
      0  4294967256        9  281474976710652           0 281474976710652      
    0
ixl0      - 192.168.1.0/24  192.168.1.71                                  0    
      -           -        0                0           -        0           -
ixl0      - fe80::%ixl0/64  fe80::f2b2:b9ff:fe14:de0c%ixl0                0    
      -           -        0                0           -        0           -
# 

When the interface is configured, the driver switches to a different HW queue.
The stats need to be reset when the queue is changed.

A proposed fix is attached.

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to