search for: xenvif_rx_interrupt

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

2013 Feb 15
1
[PATCH 7/8] netback: split event channels support
...t(int tx_irq, void *dev_id) { struct xenvif *vif = dev_id; @@ -69,12 +70,31 @@ static irqreturn_t xenvif_interrupt(int irq, void *dev_id) xen_netbk_schedule_xenvif(vif); + return IRQ_HANDLED; +} + +/* Rx interrupt handler used when feature-split-event-channels == 1 */ +static irqreturn_t xenvif_rx_interrupt(int rx_irq, void *dev_id) +{ + struct xenvif *vif = dev_id; + + if (vif->netbk == NULL) + return IRQ_NONE; + if (xenvif_rx_schedulable(vif)) netif_wake_queue(vif->dev); return IRQ_HANDLED; } +/* Used when feature-split-event-channels == 0 */ +static irqreturn_t xenvif_interrupt(i...