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: Rusty Russell <rusty@rustcorp.com.au> |
||
---|---|---|
.. | ||
Kconfig | ||
Makefile | ||
client.c | ||
conv.c | ||
error.c | ||
fcprint.c | ||
mod.c | ||
mux.c | ||
trans_fd.c | ||
trans_virtio.c | ||
util.c |