Date: Thu, 17 Nov 2005 10:13:18 +0000 (UTC) From: Gleb Smirnoff <glebius@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/dev/em if_em.c if_em.h if_em_hw.h Message-ID: <200511171013.jAHADJ4O072668@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
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 Log: - 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200511171013.jAHADJ4O072668>