Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 27 Sep 2010 16:29:25 +0000 (UTC)
From:      John Baldwin <jhb@FreeBSD.org>
To:        cvs-src-old@freebsd.org
Subject:   cvs commit: src/sys/dev/e1000 if_em.c if_igb.c if_lem.c if_lem.h
Message-ID:  <201009271629.o8RGTbPD050129@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
jhb         2010-09-27 16:29:25 UTC

  FreeBSD src repository

  Modified files:        (Branch: RELENG_8)
    sys/dev/e1000        if_em.c if_igb.c if_lem.c if_lem.h 
  Log:
  SVN rev 213205 on 2010-09-27 16:29:25Z by jhb
  
  MFC 212902:
  Tweak the stats exported by the e1000 drivers:
  - Add a single sysctl procedure to all three drivers to read an arbitrary
    register (the register is passed as arg2).  Use it to replace existing
    routines in igb(4) that used a separate routine for each register, and
    to add support for missing stats in em(4) and lem(4).
  - Move the 'rx_overruns' and 'watchdog_timeouts' stats out of the MAC stats
    section as they are driver stats, not MAC counters.
  - Simplify the code that creates per-queue stats in igb(4) to use a single
    loop and remove duplicated code.
  - Properly read all 64 bits of the 'good octets received/transmitted' in
    em(4) and lem(4).
  - Actually read the interrupt count registers in em(4), and drop the
    'host to card' sysctl stats from em(4) as they are not implemented in
    any of the hardware this driver supports.
  - Restore several stats to em(4) that were lost in the earlier stats
    conversion including per-queue stats.
  - Export several MAC stats in em(4) that were exported in igb(4) but not
    in em(4).
  - Export stats in lem(4) using individual sysctls as in em(4) and igb(4).
  
  Revision   Changes    Path
  1.21.2.13  +111 -77   src/sys/dev/e1000/if_em.c
  1.21.2.13  +32 -106   src/sys/dev/e1000/if_igb.c
  1.3.2.7    +260 -159  src/sys/dev/e1000/if_lem.c
  1.2.2.3    +0 -3      src/sys/dev/e1000/if_lem.h



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201009271629.o8RGTbPD050129>