]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Change the refresh_mbuf logic slightly, add an inline
authorjfv <jfv@FreeBSD.org>
Fri, 1 Apr 2011 18:48:31 +0000 (18:48 +0000)
committerjfv <jfv@FreeBSD.org>
Fri, 1 Apr 2011 18:48:31 +0000 (18:48 +0000)
commit47692eab3cde195383bbb502e46b1f8dce0f5508
treef94c971edad9b3de0fd34dc5b919e46b31e1233f
parenta5be52d8024f41fc3cdd6c5fdb1ca746a0e9028e
Change the refresh_mbuf logic slightly, add an inline
to calculate the outstanding descriptors that need to be
refreshed at any time, and use THAT in rxeof to determine
if refreshing needs to be done. Also change the local_timer
to simply fire off the appropriate interrupt rather than
schedule a tasklet, its simpler.

MFC in two weeks
sys/dev/e1000/if_em.c
sys/dev/e1000/if_em.h