david/ipxe
david
/
ipxe
Archived
1
0
Fork 0

Respect the RX quota. This improves poll time by about 0.7us when the

quota is 1.
This commit is contained in:
Michael Brown 2007-01-18 12:34:12 +00:00
parent dd6d94004f
commit 48fe701716
1 changed files with 1 additions and 0 deletions

View File

@ -450,6 +450,7 @@ static void rtl_poll ( struct net_device *netdev, unsigned int rx_quota ) {
rtl->rx.ring, wrapped_len );
netdev_rx ( netdev, rx_pkb );
rx_quota--;
} else {
DBG ( "RX bad packet (status %#04x len %d)\n",
rx_status, rx_len );