Skip to content
Snippets Groups Projects
Commit 18445c4d authored by Rusty Russell's avatar Rusty Russell
Browse files

virtio: explicit enable_cb/disable_cb rather than callback return.


It seems that virtio_net wants to disable callbacks (interrupts) before
calling netif_rx_schedule(), so we can't use the return value to do so.

Rename "restart" to "cb_enable" and introduce "cb_disable" hook: callback
now returns void, rather than a boolean.

Signed-off-by: default avatarRusty Russell <rusty@rustcorp.com.au>
parent a586d4f6
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment