Displaying 1 result from an estimated 1 matches for "netif_poll_en".
2007 Oct 03
0
[PATCH 6/6] Network acceleration improvements
...dev);
+
+ /*
+ * Remove the hooks, but leave the vif_state on the
+ * accelerator''s list as that signifies this vif is
+ * interested in using that accelerator if it becomes
+ * available again
+ */
+ vif_state->hooks = NULL;
+
+ netif_tx_unlock_bh(vif_state->np->netdev);
+ netif_poll_enable(vif_state->np->netdev);
+}
+
+
+/*
* Safely remove the accelerator function hooks from a netfront state.
*/
static void accelerator_remove_hooks(struct netfront_accelerator *accelerator,
@@ -513,20 +537,7 @@ static void accelerator_remove_hooks(str
list_for_each_entry_saf...