Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 24 Apr 2012 09:47:22 +0200
From:      rizzo <rizzo@iet.unipi.it>
To:        "root@9du.org" <root@9du.org>
Cc:        freebsd-current <freebsd-current@freebsd.org>
Subject:   Re: about /sys/dev/netmap/head.diff
Message-ID:  <20120424074722.GA56331@onelab2.iet.unipi.it>
In-Reply-To: <201204232016029060073@9du.org>
References:  <201204232016029060073@9du.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Apr 23, 2012 at 08:17:40PM +0800, root@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@9du.org



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20120424074722.GA56331>