Displaying 1 result from an estimated 1 matches for "netbk_max_ring_page_ord".
Did you mean:
netbk_max_ring_page_order
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