<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src/sys/dev/netmap/netmap.c, branch release/10.1.0</title>
<subtitle>FreeBSD source tree</subtitle>
<id>https://cgit-dev.freebsd.org/src/atom?h=release%2F10.1.0</id>
<link rel='self' href='https://cgit-dev.freebsd.org/src/atom?h=release%2F10.1.0'/>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/'/>
<updated>2014-08-20T23:34:36Z</updated>
<entry>
<title>MFC 270063: update of netmap code</title>
<updated>2014-08-20T23:34:36Z</updated>
<author>
<name>Luigi Rizzo</name>
<email>luigi@FreeBSD.org</email>
</author>
<published>2014-08-20T23:34:36Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=609deef53d143a87415f58ae8d9915879345d227'/>
<id>urn:sha1:609deef53d143a87415f58ae8d9915879345d227</id>
<content type='text'>
(vtnet and cxgbe not merged yet because we need some other mfc first)
</content>
</entry>
<entry>
<title>MFC  267284</title>
<updated>2014-06-10T17:24:46Z</updated>
<author>
<name>Luigi Rizzo</name>
<email>luigi@FreeBSD.org</email>
</author>
<published>2014-06-10T17:24:46Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=658229cbd48e3e9245170aa6467291db96061d12'/>
<id>urn:sha1:658229cbd48e3e9245170aa6467291db96061d12</id>
<content type='text'>
Fixes from Fanco Ficthner on transparent mode

* The way rings are updated changed with the last API bump.
  Also sync -&gt;head when moving slots in netmap_sw_to_nic().

* Remove a crashing selrecord() call.

* Unclog the logic surrounding netmap_rxsync_from_host().

* Add timestamping to RX host ring.

* Remove a couple of obsolete comments.

Submitted by:	Franco Fichtner
MFC after:	3 days
Sponsored by:	Packetwerk
</content>
</entry>
<entry>
<title>sync netmap code with the version in HEAD:</title>
<updated>2014-06-09T15:24:45Z</updated>
<author>
<name>Luigi Rizzo</name>
<email>luigi@FreeBSD.org</email>
</author>
<published>2014-06-09T15:24:45Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=d98ceccd6c210a9c515ef0795ad0866de5acac5f'/>
<id>urn:sha1:d98ceccd6c210a9c515ef0795ad0866de5acac5f</id>
<content type='text'>
- fix handling of tx mbufs in emulated netmap mode;
- introduce mbq_lock() and mbq_unlock()
- rate limit some error messages
- many whitespace and comment fixes
</content>
</entry>
<entry>
<title>MFH: sync the netmap code with the one in HEAD</title>
<updated>2014-02-18T05:01:04Z</updated>
<author>
<name>Luigi Rizzo</name>
<email>luigi@FreeBSD.org</email>
</author>
<published>2014-02-18T05:01:04Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=2d47b4a1972fddbb8a4c9e26afbf09e373c6ba19'/>
<id>urn:sha1:2d47b4a1972fddbb8a4c9e26afbf09e373c6ba19</id>
<content type='text'>
(enhanced VALE switch, netmap pipes, emulated netmap mode).
See details in the log for svn 261909.
</content>
</entry>
<entry>
<title>- fix a bug in the previous commit that was dropping the last packet</title>
<updated>2013-06-05T17:27:59Z</updated>
<author>
<name>Luigi Rizzo</name>
<email>luigi@FreeBSD.org</email>
</author>
<published>2013-06-05T17:27:59Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=85233a7d39f577ef5cf55fac2b090d4bc32960bf'/>
<id>urn:sha1:85233a7d39f577ef5cf55fac2b090d4bc32960bf</id>
<content type='text'>
  from each batch flowing on the VALE switch

- feature: add glue for 'indirect' buffers on the sender side:
  if a slot has NS_INDIRECT set, the netmap buffer contains pointer(s)
  to the actual userspace buffers, which are accessed with copyin().
     The feature is not finalised yet, as it will likely need to deal
  with some iovec variant for proper scatter/gather support.
  This will save one copy for clients (e.g. qemu) that cannot
  use the netmap buffer directly.

A curiosity: on amd64 copyin() appears to be 10-15% faster than pkt_copy()
or bcopy() at least for sizes of 256 and greater.
</content>
</entry>
<entry>
<title>Bring in a number of new features, mostly implemented by Michio Honda:</title>
<updated>2013-05-30T14:07:14Z</updated>
<author>
<name>Luigi Rizzo</name>
<email>luigi@FreeBSD.org</email>
</author>
<published>2013-05-30T14:07:14Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=f18be5766f1c00051020f9f5b174db57e74f437e'/>
<id>urn:sha1:f18be5766f1c00051020f9f5b174db57e74f437e</id>
<content type='text'>
- the VALE switch now support up to 254 destinations per switch,
  unicast or broadcast (multicast goes to all ports).

- we can attach hw interfaces and the host stack to a VALE switch,
  which means we will be able to use it more or less as a native bridge
  (minor tweaks still necessary).
  A 'vale-ctl' program is supplied in tools/tools/netmap
  to attach/detach ports the switch, and list current configuration.

- the lookup function in the VALE switch can be reassigned to
  something else, similar to the pf hooks. This will enable
  attaching the firewall, or other processing functions (e.g. in-kernel
  openvswitch) directly on the netmap port.

The internal API used by device drivers does not change.

Userspace applications should be recompiled because we
bump NETMAP_API as we now use some fields in the struct nmreq
that were previously ignored -- otherwise, data structures
are the same.

Manpages will be committed separately.
</content>
</entry>
<entry>
<title>remove trailing whitespace</title>
<updated>2013-05-02T16:01:04Z</updated>
<author>
<name>Luigi Rizzo</name>
<email>luigi@FreeBSD.org</email>
</author>
<published>2013-05-02T16:01:04Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=654ae8d68c0a79dfa51d1279de2bac7bebda6dae'/>
<id>urn:sha1:654ae8d68c0a79dfa51d1279de2bac7bebda6dae</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Partial cleanup in preparation for upcoming changes:</title>
<updated>2013-04-30T16:08:34Z</updated>
<author>
<name>Luigi Rizzo</name>
<email>luigi@FreeBSD.org</email>
</author>
<published>2013-04-30T16:08:34Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=849bec0e760b99364545f0b4d570ed60767a1475'/>
<id>urn:sha1:849bec0e760b99364545f0b4d570ed60767a1475</id>
<content type='text'>
- netmap_rx_irq()/netmap_tx_irq() can now be called by FreeBSD drivers
  hiding the logic for handling NIC interrupts in netmap mode.
  This also simplifies the case of NICs attached to VALE switches.
     Individual drivers will be updated with separate commits.

- use the same refcount() API for FreeBSD and linux

- plus some comments, typos and formatting fixes

Portions contributed by Michio Honda
</content>
</entry>
<entry>
<title>whitespace changes:</title>
<updated>2013-04-29T18:00:53Z</updated>
<author>
<name>Luigi Rizzo</name>
<email>luigi@FreeBSD.org</email>
</author>
<published>2013-04-29T18:00:53Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=d4b42e08696b1dc7089bfd21edd6f0f621f30b0d'/>
<id>urn:sha1:d4b42e08696b1dc7089bfd21edd6f0f621f30b0d</id>
<content type='text'>
remove $Id$ lines, and add blank lines around some #if / #elif /#endif
</content>
</entry>
<entry>
<title>mostly whitespace changes:</title>
<updated>2013-04-19T21:08:21Z</updated>
<author>
<name>Luigi Rizzo</name>
<email>luigi@FreeBSD.org</email>
</author>
<published>2013-04-19T21:08:21Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=2579e2d715f7a6d1731587402dce0b2c01c9eeea'/>
<id>urn:sha1:2579e2d715f7a6d1731587402dce0b2c01c9eeea</id>
<content type='text'>
- remove vestiges of the old memory allocator
- clean up some comments
</content>
</entry>
</feed>
