On 7.7.2020. 10:51, David Gwynne wrote:
> unfortunately em(4) covers a lot of chips of different vintages, so if
> anyone has a super old one they can try this diff on with kstat enabled
> in their kernel config, that would be appreciated.


Hi,

don't know if 82576 is old or super old but here are results ...

i'm sending udp with random packet size from 64b to 1500b from host
connected to em1 to host connected to em0..


em0:0:em-stats:0
     rx crc errs: 0 packets
   rx align errs: 0 packets
   rx align errs: 0 packets
         rx errs: 0 packets
       rx missed: 0 packets
  tx single coll: 0 packets
  tx excess coll: 0 packets
   tx multi coll: 0 packets
    tx late coll: 0 packets
         tx coll: 0
       tx defers: 0
       tx no CRS: 0 packets
        seq errs: 0
   carr ext errs: 0 packets
     rx len errs: 0 packets
          rx xon: 0 packets
          tx xon: 0 packets
         rx xoff: 0 packets
         tx xoff: 0 packets
  FC unsupported: 0 packets
          rx 64B: 33 packets
      rx 65-127B: 0 packets
     rx 128-255B: 1187 packets
     rx 256-511B: 0 packets
    rx 512-1023B: 0 packets
    rx 1024-maxB: 0 packets
         rx good: 1220 packets
        rx bcast: 0 packets
        rx mcast: 1187 packets
         tx good: 4739699733 packets
         rx good: 278683 bytes
         tx good: 6180591344197 bytes
   rx no buffers: 0 packets
    rx undersize: 0 packets
    rx fragments: 0 packets
     rx oversize: 0 packets
      rx jabbers: 0 packets
         rx mgmt: 0 packets
   rx mgmt drops: 0 packets
         tx mgmt: 0 packets
        rx total: 279844 bytes
        tx total: 4157661749214 bytes
        rx total: 1233 packets
        tx total: 4739699732 packets
          tx 64B: 67510552 packets
      tx 65-127B: 231664682 packets
     tx 128-255B: 470662473 packets
     tx 256-511B: 941174688 packets
    tx 512-1023B: 1881674253 packets
    tx 1024-maxB: 1768714760 packets
        tx mcast: 1188 packets
        tx bcast: 33 packets
em0:0:rxq:0
         packets: 1220 packets
           bytes: 273803 bytes
          qdrops: 0 packets
          errors: 0 packets
            qlen: 0 packets
em0:0:txq:0
         packets: 5361401666 packets
           bytes: 4136216461234 bytes
          qdrops: 1334588 packets
          errors: 0 packets
            qlen: 0 packets
         maxqlen: 511 packets
         oactive: false
em1:0:em-stats:0
     rx crc errs: 0 packets
   rx align errs: 0 packets
   rx align errs: 0 packets
         rx errs: 0 packets
       rx missed: 38992552 packets
  tx single coll: 0 packets
  tx excess coll: 0 packets
   tx multi coll: 0 packets
    tx late coll: 0 packets
         tx coll: 0
       tx defers: 0
       tx no CRS: 0 packets
        seq errs: 0
   carr ext errs: 0 packets
     rx len errs: 0 packets
          rx xon: 0 packets
          tx xon: 0 packets
         rx xoff: 0 packets
         tx xoff: 0 packets
  FC unsupported: 0 packets
          rx 64B: 81172363 packets
      rx 65-127B: 231666120 packets
     rx 128-255B: 470687906 packets
     rx 256-511B: 941373440 packets
    rx 512-1023B: 1882746880 packets
    rx 1024-maxB: 1768751378 packets
         rx good: 4753594331 packets
        rx bcast: 0 packets
        rx mcast: 1186 packets
         tx good: 1188 packets
         rx good: 17400682469430 bytes
         tx good: 191268 bytes
   rx no buffers: 1151692 packets
    rx undersize: 0 packets
    rx fragments: 0 packets
     rx oversize: 0 packets
      rx jabbers: 0 packets
         rx mgmt: 0 packets
   rx mgmt drops: 0 packets
         tx mgmt: 0 packets
        rx total: 4161793823633 bytes
        tx total: 191268 bytes
        rx total: 4792586884 packets
        tx total: 1188 packets
          tx 64B: 0 packets
      tx 65-127B: 0 packets
     tx 128-255B: 1188 packets
     tx 256-511B: 0 packets
    tx 512-1023B: 0 packets
    tx 1024-maxB: 0 packets
        tx mcast: 1188 packets
        tx bcast: 0 packets
em1:0:rxq:0
         packets: 5376398072 packets
           bytes: 4137792685172 bytes
          qdrops: 13661822 packets
          errors: 0 packets
            qlen: 0 packets
em1:0:txq:0
         packets: 1189 packets
           bytes: 186558 bytes
          qdrops: 1 packets
          errors: 0 packets
            qlen: 0 packets
         maxqlen: 511 packets
         oactive: false

Reply via email to