Displaying 1 result from an estimated 1 matches for "compat_napi".
Did you mean:
compat_ap
2008 Mar 03
0
[PATCH 1/3] Backward compat to replace napi in *rx_schedule*
...->vq_ops->enable_cb(vi->rvq);";
print "";
print " if (!no_work && netif_rx_reschedule(vi->dev, received)) {";
print " skb = NULL;";
@@ -62,6 +62,32 @@
virtnet_poll = 1
}
+/\tnetif_rx_schedule\(/ {
+ print "#ifdef COMPAT_napi";
+ print " vi->rvq->vq_ops->enable_cb(vi->rvq);";
+ print " if (netif_rx_schedule_prep(vi->dev)) {";
+ print " vi->rvq->vq_ops->disable_cb(vi->rvq);";
+ print " __netif_rx_schedule(vi->dev);";
+ print "...