<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel/linux.git/tools/testing/selftests/net/forwarding/devlink_lib.sh, branch v5.4.228</title>
<subtitle>Linux kernel stable tree (mirror)</subtitle>
<id>https://git.radix-linux.su/kernel/linux.git/atom?h=v5.4.228</id>
<link rel='self' href='https://git.radix-linux.su/kernel/linux.git/atom?h=v5.4.228'/>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/'/>
<updated>2019-08-17T19:40:09+00:00</updated>
<entry>
<title>selftests: forwarding: devlink_lib: Add devlink-trap helpers</title>
<updated>2019-08-17T19:40:09+00:00</updated>
<author>
<name>Ido Schimmel</name>
<email>idosch@mellanox.com</email>
</author>
<published>2019-08-17T13:28:23+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=a054c8d90bac321d804b789a82f9238f5a80a668'/>
<id>urn:sha1:a054c8d90bac321d804b789a82f9238f5a80a668</id>
<content type='text'>
Add helpers to interact with devlink-trap, such as setting the action of
a trap and retrieving statistics.

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: forwarding: devlink_lib: Allow tests to define devlink device</title>
<updated>2019-08-17T19:40:09+00:00</updated>
<author>
<name>Ido Schimmel</name>
<email>idosch@mellanox.com</email>
</author>
<published>2019-08-17T13:28:22+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=bc030d9c91c3764a143fc3ac4516bbfd330b41ed'/>
<id>urn:sha1:bc030d9c91c3764a143fc3ac4516bbfd330b41ed</id>
<content type='text'>
For tests that create their network interfaces dynamically or do not use
interfaces at all (as with netdevsim) it is useful to define their own
devlink device instead of deriving it from the first network interface.

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: forwarding: devlink_lib: Add shared buffer helpers</title>
<updated>2019-03-29T00:20:52+00:00</updated>
<author>
<name>Petr Machata</name>
<email>petrm@mellanox.com</email>
</author>
<published>2019-03-28T12:12:24+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=d04cc726c8da45732c815549f2841a646332cc94'/>
<id>urn:sha1:d04cc726c8da45732c815549f2841a646332cc94</id>
<content type='text'>
Add helpers to obtain, set, and restore a pool size, and a port-pool and
tc-pool threshold.

Signed-off-by: Petr Machata &lt;petrm@mellanox.com&gt;
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: forwarding: devlink_lib: Simplify deduction of DEVLINK_DEV</title>
<updated>2019-03-29T00:20:52+00:00</updated>
<author>
<name>Petr Machata</name>
<email>petrm@mellanox.com</email>
</author>
<published>2019-03-28T12:12:23+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=8e46aee69722054e85ae4b6029d0aed678016950'/>
<id>urn:sha1:8e46aee69722054e85ae4b6029d0aed678016950</id>
<content type='text'>
Use devlink -j and jq for more accurate querying. Use cut -f-2 instead
of rev-cut-rev combo.

Signed-off-by: Petr Machata &lt;petrm@mellanox.com&gt;
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: forwarding: devlink_lib: Avoid double sourcing of lib.sh</title>
<updated>2019-03-29T00:20:52+00:00</updated>
<author>
<name>Petr Machata</name>
<email>petrm@mellanox.com</email>
</author>
<published>2019-03-28T12:12:23+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=2cca8751af36d5f84eaa05d63632afa25a523b69'/>
<id>urn:sha1:2cca8751af36d5f84eaa05d63632afa25a523b69</id>
<content type='text'>
Don't source lib.sh twice and make the script work with ifnames passed
on the command line.

Signed-off-by: Petr Machata &lt;petrm@mellanox.com&gt;
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: net: forwarding: change devlink resource support checking</title>
<updated>2019-01-28T18:43:15+00:00</updated>
<author>
<name>Jiri Pirko</name>
<email>jiri@mellanox.com</email>
</author>
<published>2019-01-28T12:02:12+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=6f64bcb62f3399fb77792f35d9bfa55dcebd9e43'/>
<id>urn:sha1:6f64bcb62f3399fb77792f35d9bfa55dcebd9e43</id>
<content type='text'>
As for the others, check help message output to find out if devlink
supports "resource" object.

Signed-off-by: Jiri Pirko &lt;jiri@mellanox.com&gt;
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: forwarding: Add devlink_lib.sh</title>
<updated>2018-06-30T13:06:15+00:00</updated>
<author>
<name>Petr Machata</name>
<email>petrm@mellanox.com</email>
</author>
<published>2018-06-30T00:47:08+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=bc7cbb1e9f4ccb147fefb7502ab8acdcd52b9a29'/>
<id>urn:sha1:bc7cbb1e9f4ccb147fefb7502ab8acdcd52b9a29</id>
<content type='text'>
This helper library contains wrappers to devlink functionality agnostic
to the underlying device.

Signed-off-by: Yuval Mintz &lt;yuvalm@mellanox.com&gt;
[petrm@mellanox.com: Split this out from another patch.]
Signed-off-by: Petr Machata &lt;petrm@mellanox.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
</feed>
