<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux/tools/testing/selftests/drivers/net/netdevsim, branch v5.5</title>
<subtitle>Mirror of https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/
</subtitle>
<id>https://git.shady.money/linux/atom?h=v5.5</id>
<link rel='self' href='https://git.shady.money/linux/atom?h=v5.5'/>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/'/>
<updated>2019-11-12T19:25:44Z</updated>
<entry>
<title>selftests: Add a test of large binary to devlink health test</title>
<updated>2019-11-12T19:25:44Z</updated>
<author>
<name>Aya Levin</name>
<email>ayal@mellanox.com</email>
</author>
<published>2019-11-12T12:07:52Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=ff18176ad806ea1a7f5f9b404182f97dbb6f9691'/>
<id>urn:sha1:ff18176ad806ea1a7f5f9b404182f97dbb6f9691</id>
<content type='text'>
Add a test of 2 PAGEs size (exceeds devlink previous length limitation)
of binary data on a 'devlink health dump show' command. Set binary length
to 8192, issue a dump show command and clear it.

Signed-off-by: Aya Levin &lt;ayal@mellanox.com&gt;
Acked-by: Jiri Pirko &lt;jiri@mellanox.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>selftests: devlink: undo changes at the end of resource_test</title>
<updated>2019-11-06T19:11:30Z</updated>
<author>
<name>Jakub Kicinski</name>
<email>jakub.kicinski@netronome.com</email>
</author>
<published>2019-11-05T21:28:17Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=462ef97526861900f1e66541d23e0c37b8c7d1cc'/>
<id>urn:sha1:462ef97526861900f1e66541d23e0c37b8c7d1cc</id>
<content type='text'>
The netdevsim object is reused by all the tests, but the resource
tests puts it into a broken state (failed reload in a different
namespace). Make sure it's fixed up at the end of that test
otherwise subsequent tests fail.

Fixes: b74c37fd35a2 ("selftests: netdevsim: add tests for devlink reload with resources")
Signed-off-by: Jakub Kicinski &lt;jakub.kicinski@netronome.com&gt;
Acked-by: Jiri Pirko &lt;jiri@mellanox.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>selftests: add netdevsim devlink health tests</title>
<updated>2019-10-12T04:04:28Z</updated>
<author>
<name>Jiri Pirko</name>
<email>jiri@mellanox.com</email>
</author>
<published>2019-10-10T13:18:51Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=9b88fc54965e84666923999920ca1567f933c491'/>
<id>urn:sha1:9b88fc54965e84666923999920ca1567f933c491</id>
<content type='text'>
Add basic tests to verify functionality of netdevsim reporters.

Signed-off-by: Jiri Pirko &lt;jiri@mellanox.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>selftests: add netdevsim devlink dev info test</title>
<updated>2019-10-07T13:11:07Z</updated>
<author>
<name>Jiri Pirko</name>
<email>jiri@mellanox.com</email>
</author>
<published>2019-10-07T08:27:09Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=62ede55fe68c91c92ac7fdd65828c9413155faf6'/>
<id>urn:sha1:62ede55fe68c91c92ac7fdd65828c9413155faf6</id>
<content type='text'>
Add test to verify netdevsim driver name returned by devlink dev info.

Signed-off-by: Jiri Pirko &lt;jiri@mellanox.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>selftests: test netdevsim reload forbid and fail</title>
<updated>2019-10-06T16:28:42Z</updated>
<author>
<name>Jiri Pirko</name>
<email>jiri@mellanox.com</email>
</author>
<published>2019-10-06T06:30:02Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=9278bc9f627dbc640825b00a166d6b9bf85107f3'/>
<id>urn:sha1:9278bc9f627dbc640825b00a166d6b9bf85107f3</id>
<content type='text'>
Extend netdevsim reload test by simulation of failures.

Signed-off-by: Jiri Pirko &lt;jiri@mellanox.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>selftests: test creating netdevsim inside network namespace</title>
<updated>2019-10-05T23:34:15Z</updated>
<author>
<name>Jiri Pirko</name>
<email>jiri@mellanox.com</email>
</author>
<published>2019-10-05T06:10:33Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=c04d71b5b287aa7cc5ff707d23f5fb66307c11c7'/>
<id>urn:sha1:c04d71b5b287aa7cc5ff707d23f5fb66307c11c7</id>
<content type='text'>
Add a test that creates netdevsim instance inside network namespace
and verifies that the related devlink instance and port netdevices
reside in the namespace.

Signed-off-by: Jiri Pirko &lt;jiri@mellanox.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>selftests: netdevsim: add tests for devlink reload with resources</title>
<updated>2019-10-04T18:10:57Z</updated>
<author>
<name>Jiri Pirko</name>
<email>jiri@mellanox.com</email>
</author>
<published>2019-10-03T09:49:40Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=b74c37fd35a28ddcfcdfbf559e16e380e7ba25aa'/>
<id>urn:sha1:b74c37fd35a28ddcfcdfbf559e16e380e7ba25aa</id>
<content type='text'>
Add couple of tests for devlink reload testing and also resource
limitations testing, along with devlink reload.

Signed-off-by: Jiri Pirko &lt;jiri@mellanox.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>selftests: devlink_trap: Add test cases for devlink-trap</title>
<updated>2019-08-17T19:40:09Z</updated>
<author>
<name>Ido Schimmel</name>
<email>idosch@mellanox.com</email>
</author>
<published>2019-08-17T13:28:24Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=b3cb7df9ecb5d73a7a116a50a92ad992f20798cf'/>
<id>urn:sha1:b3cb7df9ecb5d73a7a116a50a92ad992f20798cf</id>
<content type='text'>
Add test cases for devlink-trap on top of the netdevsim implementation.

The tests focus on the devlink-trap core infrastructure and user space
API. They test both good and bad flows and also dismantle of the netdev
and devlink device used to report trapped packets.

This allows device drivers to focus their tests on device-specific
functionality.

Signed-off-by: Ido Schimmel &lt;idosch@mellanox.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>selftests: netdevsim: add devlink regions tests</title>
<updated>2019-08-15T19:02:44Z</updated>
<author>
<name>Jiri Pirko</name>
<email>jiri@mellanox.com</email>
</author>
<published>2019-08-15T13:46:34Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=5156d7ef6d5e29f98f7302a5ea469fd9fa2af4ad'/>
<id>urn:sha1:5156d7ef6d5e29f98f7302a5ea469fd9fa2af4ad</id>
<content type='text'>
Test netdevsim devlink region implementation.

Signed-off-by: Jiri Pirko &lt;jiri@mellanox.com&gt;
Tested-by: Jakub Kicinski &lt;jakub.kicinski@netronome.com&gt;
Acked-by: Jakub Kicinski &lt;jakub.kicinski@netronome.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>selftests: netdevsim: add devlink params tests</title>
<updated>2019-08-15T19:01:22Z</updated>
<author>
<name>Jiri Pirko</name>
<email>jiri@mellanox.com</email>
</author>
<published>2019-08-15T13:42:29Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=dc8a670a87e6240d20c27f015b8c30f4ef811041'/>
<id>urn:sha1:dc8a670a87e6240d20c27f015b8c30f4ef811041</id>
<content type='text'>
Test recently added netdevsim devlink param implementation.

Signed-off-by: Jiri Pirko &lt;jiri@mellanox.com&gt;
Tested-by: Jakub Kicinski &lt;jakub.kicinski@netronome.com&gt;
Acked-by: Jakub Kicinski &lt;jakub.kicinski@netronome.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
</feed>
