search for: rx_evtchn

Displaying 2 results from an estimated 2 matches for "rx_evtchn".

Did you mean: tx_evtchn
2013 Feb 15
1
[PATCH 7/8] netback: split event channels support
...ed int rx_irq; /* List of frontends to notify after a batch of frames sent. */ struct list_head notify_list; @@ -122,10 +125,11 @@ struct xenvif *xenvif_alloc(struct device *parent, domid_t domid, unsigned int handle); +/* When feature-split-event-channels == 0, tx_evtchn == rx_evtchn */ int xenvif_connect(struct xenvif *vif, unsigned long *tx_ring_ref, unsigned int tx_ring_order, unsigned long *rx_ring_ref, unsigned int rx_ring_order, - unsigned int evtchn); + unsigned int tx_evtchn, unsigned int rx_evtchn); void xenvif_disconnect(struct xenvif *vif); v...
2013 May 21
1
[PATCH net-next V2 2/2] xen-netfront: split event channels support for Xen frontend driver
...3b..1fb2bfb4 100644 --- a/drivers/net/xen-netfront.c +++ b/drivers/net/xen-netfront.c @@ -85,7 +85,15 @@ struct netfront_info { struct napi_struct napi; - unsigned int evtchn; + /* Split event channels support, tx_* == rx_* when using + * single event channel. + */ + unsigned int tx_evtchn, rx_evtchn; + unsigned int tx_irq, rx_irq; + /* Only used when split event channels support is enabled */ + char tx_irq_name[IFNAMSIZ+4]; /* DEVNAME-tx */ + char rx_irq_name[IFNAMSIZ+4]; /* DEVNAME-rx */ + struct xenbus_device *xbdev; spinlock_t tx_lock; @@ -330,7 +338,7 @@ no_skb: push: RING_PUSH...