<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src/tests/sys/netmap, branch release/13.1.0</title>
<subtitle>FreeBSD source tree</subtitle>
<id>https://cgit-dev.freebsd.org/src/atom?h=release%2F13.1.0</id>
<link rel='self' href='https://cgit-dev.freebsd.org/src/atom?h=release%2F13.1.0'/>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/'/>
<updated>2020-10-01T01:10:51Z</updated>
<entry>
<title>Do a sweep and remove most WARNS=6 settings</title>
<updated>2020-10-01T01:10:51Z</updated>
<author>
<name>Kyle Evans</name>
<email>kevans@FreeBSD.org</email>
</author>
<published>2020-10-01T01:10:51Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=7cc42f6d25ef2e19059d088fa7d4853fe9afefb5'/>
<id>urn:sha1:7cc42f6d25ef2e19059d088fa7d4853fe9afefb5</id>
<content type='text'>
Repeating the default WARNS here makes it slightly more difficult to
experiment with default WARNS changes, e.g. if we did something absolutely
bananas and introduced a WARNS=7 and wanted to try lifting the default to
that.

Drop most of them; there is one in the blake2 kernel module, but I suspect
it should be dropped -- the default WARNS in the rest of the build doesn't
currently apply to kernel modules, and I haven't put too much thought into
whether it makes sense to make it so.
</content>
</entry>
<entry>
<title>netmap: add test cases for multiple host rings</title>
<updated>2019-04-13T12:50:47Z</updated>
<author>
<name>Vincenzo Maffione</name>
<email>vmaffione@FreeBSD.org</email>
</author>
<published>2019-04-13T12:50:47Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=4f6858e8a941a040ae8df6932b4a12a12f4bd386'/>
<id>urn:sha1:4f6858e8a941a040ae8df6932b4a12a12f4bd386</id>
<content type='text'>
Extend the netmap unit tests with new test cases for the multiple-host-rings
feature introduced by r345269.

MFC after:	1 week
</content>
</entry>
<entry>
<title>Polish netmap(4) testcases a bit</title>
<updated>2019-04-09T17:52:11Z</updated>
<author>
<name>Enji Cooper</name>
<email>ngie@FreeBSD.org</email>
</author>
<published>2019-04-09T17:52:11Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=c9c9de9366edd6a05c9dc179ecea17deded478f7'/>
<id>urn:sha1:c9c9de9366edd6a05c9dc179ecea17deded478f7</id>
<content type='text'>
1. Not all kernels have netmap(4) support. Check for netmap(4) support before
   attempting to run the tests via the `PLAIN_REQUIRE_KERNEL_MODULE(..)` macro.
2. Libraries shouldn't be added to LDFLAGS; they should be added to LIBADD
   instead. This allows the build system to evaluate dependencies for sanity.
3. Sort some of the Makefile variables per bsd.README.

1., in particular, will resolve failures when running this testcase on kernels
lacking netmap(4) support, e.g., the i386 GENERIC kernels on ^/stable/11 and
^/stable/12.

PR:		237129
Reviewed by:	vmaffione
Approved by:	emaste (mentor)
MFC after:	1 week
Differential Revision:	https://reviews.freebsd.org/D19864
</content>
</entry>
<entry>
<title>Skip this test if if_tap module is not available</title>
<updated>2019-03-28T16:17:33Z</updated>
<author>
<name>Olivier Cochard</name>
<email>olivier@FreeBSD.org</email>
</author>
<published>2019-03-28T16:17:33Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=7d757b71bfe891ed892aedaaf0d39cef2c95422f'/>
<id>urn:sha1:7d757b71bfe891ed892aedaaf0d39cef2c95422f</id>
<content type='text'>
PR:		236842
Approved by:	asomers
MFC after:	1 month
Sponsored by:	Netflix
</content>
</entry>
<entry>
<title>netmap: update unit tests</title>
<updated>2019-03-20T10:36:58Z</updated>
<author>
<name>Vincenzo Maffione</name>
<email>vmaffione@FreeBSD.org</email>
</author>
<published>2019-03-20T10:36:58Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=5e874d26a272608d3931d4ada2a76ef273da2dcb'/>
<id>urn:sha1:5e874d26a272608d3931d4ada2a76ef273da2dcb</id>
<content type='text'>
Revision r345269 introduced changes that triggered a regression on netmap
unit tests (tests/sys/netmap/ctrl-api-test.c).
This change updates the unit tests to remove the regression.

Reported by:	lwhsu
MFC after:	2 weeks
Differential Revision:	https://reviews.freebsd.org/D19639
</content>
</entry>
<entry>
<title>netmap: unit tests: fix issues found by coverity scan</title>
<updated>2019-01-03T16:47:05Z</updated>
<author>
<name>Vincenzo Maffione</name>
<email>vmaffione@FreeBSD.org</email>
</author>
<published>2019-01-03T16:47:05Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=08f34ad9ed0d723f9668e3c172c2b6a4ec3404b0'/>
<id>urn:sha1:08f34ad9ed0d723f9668e3c172c2b6a4ec3404b0</id>
<content type='text'>
Reported by:	asomers
MFC after:	1 week
Sponsored by:	Sunny Valley Networks
</content>
</entry>
<entry>
<title>netmap: fix warnings on unit tests</title>
<updated>2018-12-31T12:07:17Z</updated>
<author>
<name>Vincenzo Maffione</name>
<email>vmaffione@FreeBSD.org</email>
</author>
<published>2018-12-31T12:07:17Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=5854d718547ba951d39a4157323eafd6c90bee0b'/>
<id>urn:sha1:5854d718547ba951d39a4157323eafd6c90bee0b</id>
<content type='text'>
Fix some printf() format string warnings raised for ctrl-api-test.c
on some architectures.

MFC after:	1 week
Sponsored by:	Sunny Valley Networks
</content>
</entry>
<entry>
<title>netmap: add suite of unit tests</title>
<updated>2018-12-31T11:17:58Z</updated>
<author>
<name>Vincenzo Maffione</name>
<email>vmaffione@FreeBSD.org</email>
</author>
<published>2018-12-31T11:17:58Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=2a8682a815632e7b67ee7f2ef802c8ecf7f79713'/>
<id>urn:sha1:2a8682a815632e7b67ee7f2ef802c8ecf7f79713</id>
<content type='text'>
Import the unit tests from upstream (https://github.com/luigirizzo/netmap
ba02539859d46d33), and make them ready for use with Kyua.
There are currently 38 regression tests, which test the kernel control ABI
exposed by netmap to userspace applications:

  1: test for port info get
  2-5: tests for basic port registration
  6-9: tests for VALE
  10-11: tests for getting netmap allocator info
  12-15: tests for netmap pipes
  16: test on polling mode
  17-18: tests on options
  19-27: tests for sync-kloop subsystem
  28-39: tests for null ports
  31-38: tests for the legacy NIOCREGIF registers

Reviewed by:	ngie
MFC after:	1 week
Differential Revision:	https://reviews.freebsd.org/D18490
</content>
</entry>
</feed>
