<feed xmlns='http://www.w3.org/2005/Atom'>
<title>qemu/tools/ebpf, branch master</title>
<subtitle>QEMU development tree</subtitle>
<id>https://git.zx2c4.com/qemu/atom/tools/ebpf?h=master</id>
<link rel='self' href='https://git.zx2c4.com/qemu/atom/tools/ebpf?h=master'/>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/qemu/'/>
<updated>2024-06-04T07:14:26Z</updated>
<entry>
<title>ebpf: Add a separate target for skeleton</title>
<updated>2024-06-04T07:14:26Z</updated>
<author>
<name>Akihiko Odaki</name>
<email>akihiko.odaki@daynix.com</email>
</author>
<published>2024-04-28T07:01:01Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/qemu/commit/?id=6832aa80a193d04aaf8e89a64e1825a158290057'/>
<id>urn:sha1:6832aa80a193d04aaf8e89a64e1825a158290057</id>
<content type='text'>
This generalizes the rule to generate the skeleton and allows to add
another.

Signed-off-by: Akihiko Odaki &lt;akihiko.odaki@daynix.com&gt;
Signed-off-by: Jason Wang &lt;jasowang@redhat.com&gt;
</content>
</entry>
<entry>
<title>ebpf: Refactor tun_rss_steering_prog()</title>
<updated>2024-06-04T07:14:26Z</updated>
<author>
<name>Akihiko Odaki</name>
<email>akihiko.odaki@daynix.com</email>
</author>
<published>2024-04-28T07:01:00Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/qemu/commit/?id=f5c69e7ab2507553d1a2780e41d924c32dec3c44'/>
<id>urn:sha1:f5c69e7ab2507553d1a2780e41d924c32dec3c44</id>
<content type='text'>
This saves branches and makes later BPF program changes easier.

Signed-off-by: Akihiko Odaki &lt;akihiko.odaki@daynix.com&gt;
Signed-off-by: Jason Wang &lt;jasowang@redhat.com&gt;
</content>
</entry>
<entry>
<title>ebpf: Return 0 when configuration fails</title>
<updated>2024-06-04T07:14:26Z</updated>
<author>
<name>Akihiko Odaki</name>
<email>akihiko.odaki@daynix.com</email>
</author>
<published>2024-04-28T07:00:59Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/qemu/commit/?id=8dc8220e23a6d16415b6a0a46785224e8bc7edd1'/>
<id>urn:sha1:8dc8220e23a6d16415b6a0a46785224e8bc7edd1</id>
<content type='text'>
The kernel interprets the returned value as an unsigned 32-bit so -1
will mean queue 4294967295, which is awkward. Return 0 instead.

Signed-off-by: Akihiko Odaki &lt;akihiko.odaki@daynix.com&gt;
Signed-off-by: Jason Wang &lt;jasowang@redhat.com&gt;
</content>
</entry>
<entry>
<title>ebpf: Fix RSS error handling</title>
<updated>2024-06-04T07:14:26Z</updated>
<author>
<name>Akihiko Odaki</name>
<email>akihiko.odaki@daynix.com</email>
</author>
<published>2024-04-28T07:00:58Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/qemu/commit/?id=72fa42cfca7060fab00c534e71fc850b194a4c6d'/>
<id>urn:sha1:72fa42cfca7060fab00c534e71fc850b194a4c6d</id>
<content type='text'>
calculate_rss_hash() was using hash value 0 to tell if it calculated
a hash, but the hash value may be 0 on a rare occasion. Have a
distinct bool value for correctness.

Fixes: f3fa412de2 ("ebpf: Added eBPF RSS program.")
Signed-off-by: Akihiko Odaki &lt;akihiko.odaki@daynix.com&gt;
Signed-off-by: Jason Wang &lt;jasowang@redhat.com&gt;
</content>
</entry>
<entry>
<title>ebpf: Updated eBPF program and skeleton.</title>
<updated>2024-03-12T11:31:47Z</updated>
<author>
<name>Andrew Melnychenko</name>
<email>andrew@daynix.com</email>
</author>
<published>2024-02-05T16:54:35Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/qemu/commit/?id=0cc14182aba961f4c34a21dd202ce6e4a87470f5'/>
<id>urn:sha1:0cc14182aba961f4c34a21dd202ce6e4a87470f5</id>
<content type='text'>
Updated section name, so libbpf should init/gues proper
program type without specifications during open/load.
Also, added map_flags with explicitly declared BPF_F_MMAPABLE.
Added check for BPF_F_MMAPABLE flag to meson script and
requirements to libbpf version.
Also changed fragmentation flag check - some TCP/UDP packets
may be considered fragmented if DF flag is set.

Signed-off-by: Andrew Melnychenko &lt;andrew@daynix.com&gt;
Signed-off-by: Jason Wang &lt;jasowang@redhat.com&gt;
</content>
</entry>
<entry>
<title>ebpf: fix compatibility with libbpf 1.0+</title>
<updated>2023-03-10T09:26:47Z</updated>
<author>
<name>Shreesh Adiga</name>
<email>16567adigashreesh@gmail.com</email>
</author>
<published>2022-12-18T14:39:27Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/qemu/commit/?id=197a137290103993b33f93c90e788ab4984f103a'/>
<id>urn:sha1:197a137290103993b33f93c90e788ab4984f103a</id>
<content type='text'>
The current implementation fails to load on a system with
libbpf 1.0 and reports that legacy map definitions in 'maps'
section are not supported by libbpf v1.0+. This commit updates
the Makefile to add BTF (-g flag) and appropriately updates
the maps in rss.bpf.c and update the skeleton file in repo.

Signed-off-by: Shreesh Adiga &lt;16567adigashreesh@gmail.com&gt;
Signed-off-by: Jason Wang &lt;jasowang@redhat.com&gt;
</content>
</entry>
<entry>
<title>ebpf: Added eBPF RSS program.</title>
<updated>2021-06-04T07:25:46Z</updated>
<author>
<name>Andrew Melnychenko</name>
<email>andrew@daynix.com</email>
</author>
<published>2021-05-14T11:48:31Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/qemu/commit/?id=f3fa412de28ae3cb31d38811d30a77e4e20456cc'/>
<id>urn:sha1:f3fa412de28ae3cb31d38811d30a77e4e20456cc</id>
<content type='text'>
RSS program and Makefile to build it.
The bpftool used to generate '.h' file.
The data in that file may be loaded by libbpf.
EBPF compilation is not required for building qemu.
You can use Makefile if you need to regenerate rss.bpf.skeleton.h.

Signed-off-by: Yuri Benditovich &lt;yuri.benditovich@daynix.com&gt;
Signed-off-by: Andrew Melnychenko &lt;andrew@daynix.com&gt;
Signed-off-by: Jason Wang &lt;jasowang@redhat.com&gt;
</content>
</entry>
</feed>
