search for: xn_rx_batchlen

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

2006 Mar 09
1
FreeBSD netfront.c / problem
...plain where the problem occurs. The basic problem is that the hypercall on line 112 below fails because Xen is handed the page number -1. 1 static void 2 network_alloc_rx_buffers(struct netfront_info *sc) 3 { [...] 48 for (i = 0, m_new = sc->xn_rx_batch; m_new; 49 i++, sc->xn_rx_batchlen--, m_new = next) { 50 [...] 70 rx_pfn_array[i] = vtomach(mtod(m_new,vm_offset_t)) >> PAGE_SHIFT; The above call fails gives -1 (i.e., an invalid virtual -> machine translation) time since some mbufs are placed on the same page. 71 72 /* Remove this page from pseudo phys map...