about /sys/dev/netmap/head.diff

rizzo rizzo at iet.unipi.it
Tue Apr 24 07:27:44 UTC 2012


On Mon, Apr 23, 2012 at 08:17:40PM +0800, root at 9du.org wrote:
> i think this "head.diff" may be is old!

it is, definitely time to remove it since the code
has been merged.

cheers
luigi

> 
> in diff
> +#ifdef DEV_NETMAP
> + if (slot) {
> + netmap_load_map(txr->txtag, txbuf->map,
> + NMB(slot), adapter->rx_mbuf_sz);
> + slot++;
> + }
> +#endif /* DEV_NETMAP */
> 
> in netmap_kern.h
> 
> static inline void
> netmap_load_map(bus_dma_tag_t tag, bus_dmamap_t map, void *buf)
> {
> if (map)
> bus_dmamap_load(tag, map, buf, NETMAP_BUF_SIZE,
>     netmap_dmamap_cb, NULL, BUS_DMA_NOWAIT);
> }
> 
> 
> 
> 
> yong
> root at 9du.org


More information about the freebsd-current mailing list