cvs commit: src/sys/dev/em if_em.c if_em.h if_em_hw.h

Gleb Smirnoff glebius at
Thu Nov 17 10:13:20 GMT 2005

glebius     2005-11-17 10:13:18 UTC

  FreeBSD src repository

  Modified files:
    sys/dev/em           if_em.c if_em.h if_em_hw.h 
  - Backout last change, since it is memory overkill for a non busy host or
    for a notebook with em(4) adapter.
  - Introduce tunables em.hw.txd and em.hw.rxd, which allow administrator
    to configure number of transmit and receive descriptors.
  - Check em.hw.txd and em.hw.rxd against hardware limits [*] and require
    them to be multiple of 128.
  [*] According to comments in if_em.h the 82540EM/82541ER chips can handle
      more than 256 descriptors. Since we don't have this hardware to test,
      we decided to mimic NetBSD wm(4) driver, that limits these chips to
      256 descriptors.
  In collaboration with:  yongari
  Revision  Changes    Path
  1.87      +29 -9     src/sys/dev/em/if_em.c
  1.39      +8 -4      src/sys/dev/em/if_em.h
  1.18      +7 -0      src/sys/dev/em/if_em_hw.h

More information about the cvs-src mailing list