sfc: Cleanup RX event processing
authorBen Hutchings <bhutchings@solarflare.com>
Mon, 1 Sep 2008 11:48:08 +0000 (12:48 +0100)
committerJeff Garzik <jgarzik@redhat.com>
Wed, 3 Sep 2008 13:53:47 +0000 (09:53 -0400)
commit42cbe2d73c9bc2574f86d63c2b57da93e3b3060d
tree8a85d4e92eeefbe3c55b921ac920527d12c33461
parentd3074025345ae27fbb076a92425f28b40b6fa4c0
sfc: Cleanup RX event processing

Make efx_process_channel() and falcon_process_eventq() return the
number of packets received rather than updating the quota, consistent
with new NAPI.

Since channels and RX queues are mapped one-to-one, remove return
value from falcon_handle_rx_event() and add a warning for events
with the wrong RX queue number.

Signed-off-by: Ben Hutchings <bhutchings@solarflare.com>
Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
drivers/net/sfc/efx.c
drivers/net/sfc/falcon.c
drivers/net/sfc/falcon.h