<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src-test/sys/dev/netmap/netmap_monitor.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>2019-02-05T12:10:48Z</updated>
<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: fix crash with monitors and VALE ports</title>
<updated>2019-01-24T22:09:26Z</updated>
<author>
<name>Vincenzo Maffione</name>
<email>vmaffione@FreeBSD.org</email>
</author>
<published>2019-01-24T22:09:26Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test/commit/?id=aa4dd64dfec15d8bc6118db6f26ca88f9dbec84e'/>
<id>urn:sha1:aa4dd64dfec15d8bc6118db6f26ca88f9dbec84e</id>
<content type='text'>
Crash report described here:
    https://github.com/luigirizzo/netmap/issues/583
Fixed by providing dummy sync callback in case it is missing.
</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>
<entry>
<title>netmap: align codebase to the current upstream (commit id 3fb001303718146)</title>
<updated>2018-04-12T07:20:50Z</updated>
<author>
<name>Vincenzo Maffione</name>
<email>vmaffione@FreeBSD.org</email>
</author>
<published>2018-04-12T07:20:50Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test/commit/?id=2ff91c175eca50b7d0d9da6b31eae4109c034137'/>
<id>urn:sha1:2ff91c175eca50b7d0d9da6b31eae4109c034137</id>
<content type='text'>
Changelist:
    - Turn tx_rings and rx_rings arrays into arrays of pointers to kring
      structs. This patch includes fixes for ixv, ixl, ix, re, cxgbe, iflib,
      vtnet and ptnet drivers to cope with the change.
    - Generalize the nm_config() callback to accept a struct containing many
      parameters.
    - Introduce NKR_FAKERING to support buffers sharing (used for netmap
      pipes)
    - Improved API for external VALE modules.
    - Various bug fixes and improvements to the netmap memory allocator,
      including support for externally (userspace) allocated memory.
    - Refactoring of netmap pipes: now linked rings share the same netmap
      buffers, with a separate set of kring pointers (rhead, rcur, rtail).
      Buffer swapping does not need to happen anymore.
    - Large refactoring of the control API towards an extensible solution;
      the goal is to allow the addition of more commands and extension of
      existing ones (with new options) without the need of hacks or the
      risk of running out of configuration space.
      A new NIOCCTRL ioctl has been added to handle all the requests of the
      new control API, which cover all the functionalities so far supported.
      The netmap API bumps from 11 to 12 with this patch. Full backward
      compatibility is provided for the old control command (NIOCREGIF), by
      means of a new netmap_legacy module. Many parts of the old netmap.h
      header has now been moved to netmap_legacy.h (included by netmap.h).

Approved by:	hrs (mentor)
</content>
</entry>
<entry>
<title>netmap: align codebase to upstream version v11.4</title>
<updated>2018-04-09T09:24:26Z</updated>
<author>
<name>Vincenzo Maffione</name>
<email>vmaffione@FreeBSD.org</email>
</author>
<published>2018-04-09T09:24:26Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test/commit/?id=4f80b14ce2b17100b12dc3a346fb9e6e76764e11'/>
<id>urn:sha1:4f80b14ce2b17100b12dc3a346fb9e6e76764e11</id>
<content type='text'>
Changelist:
  - remove unused nkr_slot_flags
  - new nm_intr adapter callback to enable/disable interrupts
  - remove unused sysctls and document the other sysctls
  - new infrastructure to support NS_MOREFRAG for NIC ports
  - support for external memory allocator (for now linux-only),
    including linux-specific changes in common headers
  - optimizations within netmap pipes datapath
  - improvements on VALE control API
  - new nm_parse() helper function in netmap_user.h
  - various bug fixes and code clean up

Approved by:	hrs (mentor)
</content>
</entry>
<entry>
<title>Update the current version of netmap to bring it in sync with the github</title>
<updated>2017-06-12T22:53:18Z</updated>
<author>
<name>Luiz Otavio O Souza</name>
<email>loos@FreeBSD.org</email>
</author>
<published>2017-06-12T22:53:18Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test/commit/?id=c3e9b4db8c059c049a20c15d337100a18051f780'/>
<id>urn:sha1:c3e9b4db8c059c049a20c15d337100a18051f780</id>
<content type='text'>
version.

This commit contains mostly refactoring, a few fixes and minor added
functionality.

Submitted by:	Vincenzo Maffione &lt;v.maffione at gmail.com&gt;
Requested by:	many
Sponsored by:	Rubicon Communications, LLC (Netgate)
</content>
</entry>
<entry>
<title>remove trailing whitespace. No code changes.</title>
<updated>2016-10-18T15:41:57Z</updated>
<author>
<name>Luigi Rizzo</name>
<email>luigi@FreeBSD.org</email>
</author>
<published>2016-10-18T15:41:57Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test/commit/?id=6ad42d71b2c2d6afb14e8328d8bb1ba5b00919f8'/>
<id>urn:sha1:6ad42d71b2c2d6afb14e8328d8bb1ba5b00919f8</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Import the current version of netmap, aligned with the one on github.</title>
<updated>2016-10-16T14:13:32Z</updated>
<author>
<name>Luigi Rizzo</name>
<email>luigi@FreeBSD.org</email>
</author>
<published>2016-10-16T14:13:32Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test/commit/?id=37e3a6d349581b4dd0aebf24be7b1b159a698dcf'/>
<id>urn:sha1:37e3a6d349581b4dd0aebf24be7b1b159a698dcf</id>
<content type='text'>
This commit, long overdue, contains contributions in the last 2 years
from Stefano Garzarella, Giuseppe Lettieri, Vincenzo Maffione, including:
+ fixes on monitor ports
+ the 'ptnet' virtual device driver, and ptnetmap backend, for
  high speed virtual passthrough on VMs (bhyve fixes in an upcoming commit)
+ improved emulated netmap mode
+ more robust error handling
+ removal of stale code
+ various fixes to code and documentation (some mixup between RX and TX
  parameters, and private and public variables)

We also include an additional tool, nmreplay, which is functionally
equivalent to tcpreplay but operating on netmap ports.
</content>
</entry>
<entry>
<title>release a reference when stopping a monitor</title>
<updated>2015-07-19T18:04:51Z</updated>
<author>
<name>Luigi Rizzo</name>
<email>luigi@FreeBSD.org</email>
</author>
<published>2015-07-19T18:04:51Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test/commit/?id=05f7605789e29f4420c82a7e353bee658c333823'/>
<id>urn:sha1:05f7605789e29f4420c82a7e353bee658c333823</id>
<content type='text'>
</content>
</entry>
</feed>
