<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src-test/sys/dev/netmap/netmap_mem2.c, branch main</title>
<subtitle>FreeBSD source tree</subtitle>
<id>https://cgit-dev.freebsd.org/src-test/atom?h=main</id>
<link rel='self' href='https://cgit-dev.freebsd.org/src-test/atom?h=main'/>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test/'/>
<updated>2020-10-22T20:21:11Z</updated>
<entry>
<title>netmap: fix mutex double unlock bug</title>
<updated>2020-10-22T20:21:11Z</updated>
<author>
<name>Vincenzo Maffione</name>
<email>vmaffione@FreeBSD.org</email>
</author>
<published>2020-10-22T20:21:11Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test/commit/?id=174f809da51057394107af98266a690dc4d9cc9d'/>
<id>urn:sha1:174f809da51057394107af98266a690dc4d9cc9d</id>
<content type='text'>
https://github.com/luigirizzo/netmap/pull/733

Submitted by:	 brian90013
MFC after:	3 days
</content>
</entry>
<entry>
<title>netmap_mem_unmap: fix NULL pointer dereference</title>
<updated>2020-01-26T21:34:46Z</updated>
<author>
<name>Vincenzo Maffione</name>
<email>vmaffione@FreeBSD.org</email>
</author>
<published>2020-01-26T21:34:46Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test/commit/?id=de27b3034012cb79278eddb18dcece0369542cb9'/>
<id>urn:sha1:de27b3034012cb79278eddb18dcece0369542cb9</id>
<content type='text'>
MFC after:	3 days
</content>
</entry>
<entry>
<title>netmap: minor misc improvements</title>
<updated>2019-10-20T14:15:45Z</updated>
<author>
<name>Vincenzo Maffione</name>
<email>vmaffione@FreeBSD.org</email>
</author>
<published>2019-10-20T14:15:45Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test/commit/?id=760fa2ab5d12880865aec9b7dec8f1bc59f1ab0a'/>
<id>urn:sha1:760fa2ab5d12880865aec9b7dec8f1bc59f1ab0a</id>
<content type='text'>
 - use ring-&gt;head rather than ring-&gt;cur in lb(8)
 - use strlcat() rather than strncat()
 - fix bandwidth computation in pkt-gen(8)

MFC after:	1 week
</content>
</entry>
<entry>
<title>netmap: import changes from upstream (SHA 137f537eae513)</title>
<updated>2019-09-01T14:47:41Z</updated>
<author>
<name>Vincenzo Maffione</name>
<email>vmaffione@FreeBSD.org</email>
</author>
<published>2019-09-01T14:47:41Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test/commit/?id=253b2ec199b831cacc022b58cb38c3e3c29c1a8f'/>
<id>urn:sha1:253b2ec199b831cacc022b58cb38c3e3c29c1a8f</id>
<content type='text'>
 - Rework option processing.
 - Use larger integers for memory size values in the
   memory management code.

MFC after:	2 weeks
</content>
</entry>
<entry>
<title>netmap: Remove pointer leakage in netmap_mem2.c</title>
<updated>2019-07-04T21:31:49Z</updated>
<author>
<name>Vincenzo Maffione</name>
<email>vmaffione@FreeBSD.org</email>
</author>
<published>2019-07-04T21:31:49Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test/commit/?id=5d47236b182d932cde36c2522bef00479e44926b'/>
<id>urn:sha1:5d47236b182d932cde36c2522bef00479e44926b</id>
<content type='text'>
PR:		238641
Submitted by:	Fuqian Huang &lt;huangfq.daxian@gmail.com&gt;
Reviewed by:	vmaffione
MFC after:	1 week
</content>
</entry>
<entry>
<title>netmap: add support for multiple host rings</title>
<updated>2019-03-18T12:22:23Z</updated>
<author>
<name>Vincenzo Maffione</name>
<email>vmaffione@FreeBSD.org</email>
</author>
<published>2019-03-18T12:22:23Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test/commit/?id=d12354a56c82993a353903ada310952bda231409'/>
<id>urn:sha1:d12354a56c82993a353903ada310952bda231409</id>
<content type='text'>
Some applications forward from/to host rings most or all the
traffic received or sent on a physical interface. In this
cases it is desirable to have more than a pair of RX/TX host
rings, and use multiple threads to speed up forwarding.
This change adds support for multiple host rings. On registering
a netmap port, the user can specify the number of desired receive
and transmit host rings in the nr_host_tx_rings and nr_host_rx_rings
fields of the nmreq_register structure.

MFC after:	2 weeks
</content>
</entry>
<entry>
<title>netmap: refactor logging macros and pipes</title>
<updated>2019-02-05T12:10:48Z</updated>
<author>
<name>Vincenzo Maffione</name>
<email>vmaffione@FreeBSD.org</email>
</author>
<published>2019-02-05T12:10:48Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test/commit/?id=75f4f3ed51ea3eb78ed77e255845aa301b657bc4'/>
<id>urn:sha1:75f4f3ed51ea3eb78ed77e255845aa301b657bc4</id>
<content type='text'>
Changelist:
    - Replace ND, D and RD macros with nm_prdis, nm_prinf, nm_prerr
      and nm_prlim, to avoid possible naming conflicts.
    - Add netmap_krings_mode_commit() helper function and use that
      to reduce code duplication.
    - Refactor pipes control code to export some functions that
      can be reused by the veth driver (on Linux) and epair(4).
    - Add check to reject API requests with version less than 11.
    - Small code refactoring for the null adapter.

MFC after:	1 week
</content>
</entry>
<entry>
<title>netmap: align codebase to the current upstream (760279cfb2730a585)</title>
<updated>2018-12-05T11:57:16Z</updated>
<author>
<name>Vincenzo Maffione</name>
<email>vmaffione@FreeBSD.org</email>
</author>
<published>2018-12-05T11:57:16Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test/commit/?id=b6e66be22bdce2aadcf52ee6230faa1e6cd3f805'/>
<id>urn:sha1:b6e66be22bdce2aadcf52ee6230faa1e6cd3f805</id>
<content type='text'>
Changelist:
  - Replace netmap passthrough host support with a more general
    mechanism to call TXSYNC/RXSYNC from an in-kernel event-loop.
    No kernel threads are used to use this feature: the application
    is required to spawn a thread (or a process) and issue a
    SYNC_KLOOP_START (NIOCCTRL) command in the thread body. The
    kernel loop is executed by the ioctl implementation, which returns
    to userspace only when a different thread calls SYNC_KLOOP_STOP
    or the netmap file descriptor is closed.
  - Update the if_ptnet driver to cope with the new data structures,
    and prune all the obsolete ptnetmap code.
  - Add support for "null" netmap ports, useful to allocate netmap_if,
    netmap_ring and netmap buffers to be used by specialized applications
    (e.g. hypervisors). TXSYNC/RXSYNC on these ports have no effect.
  - Various fixes and code refactoring.

Sponsored by:	Sunny Valley Networks
Differential Revision:	https://reviews.freebsd.org/D18015
</content>
</entry>
<entry>
<title>netmap: align codebase to the current upstream (sha 8374e1a7e6941)</title>
<updated>2018-10-23T08:55:16Z</updated>
<author>
<name>Vincenzo Maffione</name>
<email>vmaffione@FreeBSD.org</email>
</author>
<published>2018-10-23T08:55:16Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test/commit/?id=2a7db7a63de8af153b9a626780dd15ca26ae3596'/>
<id>urn:sha1:2a7db7a63de8af153b9a626780dd15ca26ae3596</id>
<content type='text'>
Changelist:
    - Move large parts of VALE code to a new file and header netmap_bdg.[ch].
      This is useful to reuse the code within upcoming projects.
    - Improvements and bug fixes to pipes and monitors.
    - Introduce nm_os_onattach(), nm_os_onenter() and nm_os_onexit() to
      handle differences between FreeBSD and Linux.
    - Introduce some new helper functions to handle more host rings and fake
      rings (netmap_all_rings(), netmap_real_rings(), ...)
    - Added new sysctl to enable/disable hw checksum in emulated netmap mode.
    - nm_inject: add support for NS_MOREFRAG

Approved by:	gnn (mentor)
Differential Revision:	https://reviews.freebsd.org/D17364
</content>
</entry>
<entry>
<title>netmap: pull fix for 32-bit support from upstream</title>
<updated>2018-05-18T03:38:17Z</updated>
<author>
<name>Matt Macy</name>
<email>mmacy@FreeBSD.org</email>
</author>
<published>2018-05-18T03:38:17Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test/commit/?id=cfa866f6a1ba4798cd6d877f0f0e4f45227efb9c'/>
<id>urn:sha1:cfa866f6a1ba4798cd6d877f0f0e4f45227efb9c</id>
<content type='text'>
Approved by:	sbruno
</content>
</entry>
</feed>
