<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux/samples/bpf/test_maps.c, branch v4.9</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=v4.9</id>
<link rel='self' href='https://git.shady.money/linux/atom?h=v4.9'/>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/'/>
<updated>2016-08-07T00:49:19Z</updated>
<entry>
<title>samples/bpf: add bpf_map_update_elem() tests</title>
<updated>2016-08-07T00:49:19Z</updated>
<author>
<name>Alexei Starovoitov</name>
<email>ast@fb.com</email>
</author>
<published>2016-08-05T21:01:28Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=ba0cc3c153590e3d31985b8f8914d205a20b0d7a'/>
<id>urn:sha1:ba0cc3c153590e3d31985b8f8914d205a20b0d7a</id>
<content type='text'>
increase test coverage to check previously missing 'update when full'

Signed-off-by: Alexei Starovoitov &lt;ast@kernel.org&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>samples/bpf: test both pre-alloc and normal maps</title>
<updated>2016-03-08T20:28:32Z</updated>
<author>
<name>Alexei Starovoitov</name>
<email>ast@fb.com</email>
</author>
<published>2016-03-08T05:57:21Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=c3f85cffc50d2f259903555979581a632b945ec2'/>
<id>urn:sha1:c3f85cffc50d2f259903555979581a632b945ec2</id>
<content type='text'>
extend test coveraged to include pre-allocated and run-time alloc maps

Signed-off-by: Alexei Starovoitov &lt;ast@kernel.org&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>samples/bpf: add map_flags to bpf loader</title>
<updated>2016-03-08T20:28:32Z</updated>
<author>
<name>Alexei Starovoitov</name>
<email>ast@fb.com</email>
</author>
<published>2016-03-08T05:57:20Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=89b976070190eb9dd14943c0d6ca4b7209f61405'/>
<id>urn:sha1:89b976070190eb9dd14943c0d6ca4b7209f61405</id>
<content type='text'>
note old loader is compatible with new kernel.
map_flags are optional

Signed-off-by: Alexei Starovoitov &lt;ast@kernel.org&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>samples/bpf: unit test for BPF_MAP_TYPE_PERCPU_ARRAY</title>
<updated>2016-02-06T08:34:36Z</updated>
<author>
<name>tom.leiming@gmail.com</name>
<email>tom.leiming@gmail.com</email>
</author>
<published>2016-02-02T06:39:57Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=df570f577231407d929bdc6f59ae2f53e0028e8a'/>
<id>urn:sha1:df570f577231407d929bdc6f59ae2f53e0028e8a</id>
<content type='text'>
A sanity test for BPF_MAP_TYPE_PERCPU_ARRAY

Signed-off-by: Ming Lei &lt;tom.leiming@gmail.com&gt;
Signed-off-by: Alexei Starovoitov &lt;ast@kernel.org&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>samples/bpf: unit test for BPF_MAP_TYPE_PERCPU_HASH</title>
<updated>2016-02-06T08:34:36Z</updated>
<author>
<name>Martin KaFai Lau</name>
<email>kafai@fb.com</email>
</author>
<published>2016-02-02T06:39:56Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=e15596717948c95587a0b15363030283c126c23a'/>
<id>urn:sha1:e15596717948c95587a0b15363030283c126c23a</id>
<content type='text'>
A sanity test for BPF_MAP_TYPE_PERCPU_HASH.

Signed-off-by: Martin KaFai Lau &lt;kafai@fb.com&gt;
Signed-off-by: Alexei Starovoitov &lt;ast@kernel.org&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>samples: bpf: relax test_maps check</title>
<updated>2015-01-27T01:20:40Z</updated>
<author>
<name>Alexei Starovoitov</name>
<email>ast@plumgrid.com</email>
</author>
<published>2015-01-23T01:11:09Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=ba1a68bf1308a71a07d2462f4c38c242e08f92ba'/>
<id>urn:sha1:ba1a68bf1308a71a07d2462f4c38c242e08f92ba</id>
<content type='text'>
hash map is unordered, so get_next_key() iterator shouldn't
rely on particular order of elements. So relax this test.

Fixes: ffb65f27a155 ("bpf: add a testsuite for eBPF maps")
Reported-by: Michael Holzheu &lt;holzheu@linux.vnet.ibm.com&gt;
Signed-off-by: Alexei Starovoitov &lt;ast@plumgrid.com&gt;
Acked-by: Daniel Borkmann &lt;dborkman@redhat.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>bpf: add a testsuite for eBPF maps</title>
<updated>2014-11-18T18:43:59Z</updated>
<author>
<name>Alexei Starovoitov</name>
<email>ast@plumgrid.com</email>
</author>
<published>2014-11-14T01:36:48Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=ffb65f27a15583379567b6a59a9758163b7f5750'/>
<id>urn:sha1:ffb65f27a15583379567b6a59a9758163b7f5750</id>
<content type='text'>
. check error conditions and sanity of hash and array map APIs
. check large maps (that kernel gracefully switches to vmalloc from kmalloc)
. check multi-process parallel access and stress test

Signed-off-by: Alexei Starovoitov &lt;ast@plumgrid.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
</feed>
