search for: netbk_max_ring_pag

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

Did you mean: netbk_max_ring_pages
2012 Jan 26
1
[PATCH] netback: fix multi page ring size calculation.
...- (__CONST_RING_SIZE(xen_netif_tx, PAGE_SIZE) * (_nr_pages)) + (__CONST_RING_SIZE(xen_netif_tx, PAGE_SIZE * (_nr_pages))) #define NETBK_RX_RING_SIZE(_nr_pages) \ - (__CONST_RING_SIZE(xen_netif_rx, PAGE_SIZE) * (_nr_pages)) + (__CONST_RING_SIZE(xen_netif_rx, PAGE_SIZE * (_nr_pages))) #define NETBK_MAX_RING_PAGE_ORDER 2 #define NETBK_MAX_RING_PAGES (1U << NETBK_MAX_RING_PAGE_ORDER) -- 1.7.8.3
2013 Feb 15
1
[PATCH 7/8] netback: split event channels support
...*tx_ring_ref, unsigned int tx_ring_ref_count, unsigned long *rx_ring_ref, unsigned int rx_ring_ref_count, - unsigned int evtchn) + unsigned int tx_evtchn, unsigned int rx_evtchn) { int err = -ENOMEM; void *addr; @@ -317,7 +339,7 @@ int xenvif_connect(struct xenvif *vif, int tmp[NETBK_MAX_RING_PAGES], i; /* Already connected through? */ - if (vif->irq) + if (vif->tx_irq) return 0; __module_get(THIS_MODULE); @@ -347,13 +369,32 @@ int xenvif_connect(struct xenvif *vif, BACK_RING_INIT(&vif->rx, rxs, PAGE_SIZE * rx_ring_ref_count); vif->nr_rx_handles = rx_ring_ref_...