2
0
mirror of https://github.com/xcat2/xNBA.git synced 2024-12-14 23:31:39 +00:00

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

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 );