search for: netif_poll_disable

Displaying 1 result from an estimated 1 matches for "netif_poll_disable".

2007 Oct 03
0
[PATCH 6/6] Network acceleration improvements
...BOL_GPL(netfront_accelerator_r /* + * Remove the hooks from a single vif state. + */ +static void +accelerator_remove_single_hook(struct netfront_accelerator *accelerator, + struct netfront_accel_vif_state *vif_state) +{ + /* Make sure there are no data path operations going on */ + netif_poll_disable(vif_state->np->netdev); + netif_tx_lock_bh(vif_state->np->netdev); + + /* + * 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-...