sfc: Add channel specific receive_skb handler and post_remove callback
authorStuart Hodgson <smhodgson@solarflare.com>
Wed, 18 Jul 2012 08:52:11 +0000 (09:52 +0100)
committerBen Hutchings <bhutchings@solarflare.com>
Fri, 7 Sep 2012 20:13:39 +0000 (21:13 +0100)
commitc31e5f9f97fba32103c8bdd286eee8e3aefbee31
tree33fd1ed248a3f4812686af9a2b749c6e6f4b4090
parent79d68b370074044d7a9dd789ee103ffe5ef00bda
sfc: Add channel specific receive_skb handler and post_remove callback

Allows an extra channel to override the standard receive_skb handler
and also for extra non generic operations to be performed on remove.

Also set default rx strategy so only skbs can be delivered to the
PTP receive function.

Signed-off-by: Stuart Hodgson <smhodgson@solarflare.com>
Signed-off-by: Ben Hutchings <bhutchings@solarflare.com>
drivers/net/ethernet/sfc/efx.c
drivers/net/ethernet/sfc/efx.h
drivers/net/ethernet/sfc/net_driver.h
drivers/net/ethernet/sfc/rx.c